title: Type Error: predict() missing 1 required positional argument: 'X'
body: <p>I seem to get this error all the time with this code. It is from a YouTube tutorial, and I seem to have gotten everything right.</p>
  <p>Here is the code:</p>
  <pre><code>import sklearn
  from sklearn import datasets
  iris = datasets.load_iris()
  
  X = iris.data
  y = iris.target
  
  from sklearn.model_selection import train_test_split
  X_train, X_test, y_train, y_test = train_test_split(X,y, test_size = .5)
  
  from sklearn import tree
  my_classifier = tree.DecisionTreeClassifier
  
  my_classifier.fit(X_train, y_train)
  
  
  predictions = my_Classifier.predict(X_test)
  
  from sklearn.metrics import accuracy_score
  print(accuracy_score)
  </code></pre>