Secure multiparty linear regression based on homomorphic encryption