Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Oscar Esteban <[email protected]>
  • Loading branch information
josephmje and oesteban authored Dec 10, 2021
1 parent 1ac4ebf commit b997ec1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions eddymotion/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@ def init(gtab, model="DTI", **kwargs):

elif model.lower() in ("sfm", "gp"):
Model = SparseFascicleModel
if model.lower() == "sfm":
param = {
"solver": "ElasticNet",
"isotropic": ExponentialIsotropicModel,
}
else:
param = {
"solver": "ElasticNet",
"isotropic": ExponentialIsotropicModel,
}
if model.lower() == "gp":
from sklearn.gaussian_process import GaussianProcessRegressor

param = {"solver": GaussianProcessRegressor}
Expand Down

0 comments on commit b997ec1

Please sign in to comment.