Using sklearn to fit classifiers
Scikit-learn provides some classifiers
classifier.fit(X, y)
to fit classifier, whereX
is a dataframe andy
is a list of labelsclassifier.predict(X)
to predict onX
Scikit-learn provides some classifiers
classifier.fit(X, y)
to fit classifier, where X
is a dataframe and y
is a list of labelsclassifier.predict(X)
to predict on X