I am using the fit function for classification training in scikit-learn. For example, while using random forests, one typically uses the following type of code:
import sklearn
from sklearn.ensemble import RandomForestClassifier as RF
forest=RF(n_estimators=10)
forest=forest.fit(TrainingX,Trainingy)
Unfortunately, I get the following error when using Python 3:
C:\Anaconda3\lib\site-packages\sklearn\base.py:175: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead forest=forest.fit( args, varargs, kw, default = inspect.getargspec(init)
C:\Anaconda3\lib\site-packages\sklearn\base.py:175: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead args, varargs, kw, default = inspect.getargspec(init)
Does anyone know what this error means?