Partially Encrypted Machine Learning using Functional Encryption