1. Miki Tebeka
  2. ml-class

Commits

Miki Tebeka  committed 1139b63

J0

  • Participants
  • Parent commits d03928c
  • Branches default

Comments (0)

Files changed (1)

File ex1.py

View file
  • Ignore whitespace
     plt.show()
 
 if __name__ == '__main__':
-    plot()
+    features, labels = load_features('ex1/ex1data1.txt')
+    theta = np.matrix([0., 0.])
 
+    print(J(features, theta, labels))
+