You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there is an issue with the coef_ description. The method is presented as : (1 / (2 * n_samples)) * ||Y - XW||^2_Fro + alpha * ||W||_21
but coef_ returns W.T, currently : W.shape= [n_features,n_tasks] but coef_.shape=[n_tasks,n_features], cf. coordinate_descent.py--L1612
Why not outputting W directly? Instead of transposing the output, at least the doc should be consistent with the current implementation.
I am sending a PR for the second solution.
Description
I believe there is an issue with the
coef_
description. The method is presented as :(1 / (2 * n_samples)) * ||Y - XW||^2_Fro + alpha * ||W||_21
but
coef_
returnsW.T
, currently :W.shape= [n_features,n_tasks]
butcoef_.shape=[n_tasks,n_features]
, cf. coordinate_descent.py--L1612Why not outputting
W
directly? Instead of transposing the output, at least the doc should be consistent with the current implementation.I am sending a PR for the second solution.
@agramfort
The text was updated successfully, but these errors were encountered: