8000 GitHub - akashmehra/cvml: Algorithms and experiments related to Machine Learning and CV
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Algorithms and experiments related to Machine Learning and CV

License

Notifications You must be signed in to change notification settings

akashmehra/cvml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cvml

Starting it by adding the mnist loader written in python based on the data available on Prof. Yann LeCun's page

Variables and code style are exactly similar to the example here in lua (using torch7).

Usage:

Quickly test in ipython or python shell, do the following (till the time I provide an install script):

import sys
sys.append(<path to python script>)

import mnist
trainset = mnist.traindataset()
X_train = trainset.X
Y_train = trainset.Y

i-th training example and the label is retrieved as follows:

ex_i = X_train[i] # gives a (28,28) numpy array
label_i = Y_train[i] # label [0-9]

test set can be loaded using testdataset function.

testset = mnist.testdataset()
X_test = testset.X
Y_test = testset.Y

About

Algorithms and experiments related to Machine Learning and CV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0