当我尝试使用scikit-learn
库学习Dictionary
时,有时会收到警告。在
这是我的代码=>
n_iter = 1000
dico = MiniBatchDictionaryLearning(n_components=100,alpha=3,n_iter=n_iter)
V = dico.fit(data).components_
警告是=>
/usr/local/lib/python3.4/dist-packages/sklearn/linear_model/least_angle.py:309: ConvergenceWarning: Regressors in active set degenerate. Dropping a regressor, after 12 iterations, i.e. alpha=3.298e-02, with an active set of 8 regressors, and the smallest cholesky pivot element being 2.220e-16 ConvergenceWarning)
我不知道为什么我得到这个警告?在
目前没有回答
相关问题 更多 >
编程相关推荐