scikit-learn

scikit-learn

Python에서 Machine Learning 툴을 제공한다.

http://scikit-learn.org/


scikit-learn Install

$ pip3 install scikit-learn


$ python3

>>> from sklearn import svm

>>> X = [[0, 0], [1, 1]]

>>> Y = [0, 1]

>>> clf = svm.SVC()

>>> clf.fit(X, Y)

>>> clf.predict(([2., 2.]])



Comments