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
It is not possible to use the Getting Started notebook as is. The following line:
fittable = util.clone(algo)
generates the following error:
AttributeError: module 'lenskit.util' has no attribute 'clone'
This statement from the documentation is also incorrect:
"LensKit algorithms are compatible with SciKit clone, however, so feel free to use that if you need more general capabilities."
Attempting to clone LK algorithms with sklearn.base.clone() provides the following error:
TypeError: Cannot clone object '<lenskit.algorithms.item_knn.ItemItem object at 0x61df95c50>' (type <class 'lenskit.algorithms.item_knn.ItemItem'>): it does not seem to be a scikit-learn estimator as it does not implement a 'get_params' methods.
The text was updated successfully, but these errors were encountered:
It is not possible to use the Getting Started notebook as is. The following line:
generates the following error:
AttributeError: module 'lenskit.util' has no attribute 'clone'
This statement from the documentation is also incorrect:
"LensKit algorithms are compatible with SciKit clone, however, so feel free to use that if you need more general capabilities."
Attempting to clone LK algorithms with sklearn.base.clone() provides the following error:
TypeError: Cannot clone object '<lenskit.algorithms.item_knn.ItemItem object at 0x61df95c50>' (type <class 'lenskit.algorithms.item_knn.ItemItem'>): it does not seem to be a scikit-learn estimator as it does not implement a 'get_params' methods.
The text was updated successfully, but these errors were encountered: