sklearn.tree import decisiontreeclassifier code example Example: skit learn decision clf.predict([[2., 2.]])