Last active
January 9, 2020 14:03
-
-
Save tarlanahad/205bb8b69a2c040501c9d4d0e3229fd4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = np.load('files/mnist_data.npy').astype(float) | |
train_y = data[0:5000, 0] | |
train_x = data[0:5000, 1:] | |
test_y = data[0:1000, 0] | |
test_x = data[0:1000, 1:] | |
RBF_CLASSIFIER = RBF(train_x, train_y, test_x, test_y, num_of_classes=10, | |
k=500, std_from_clusters=False) | |
RBF_CLASSIFIER.fit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment