mlt-ts
Typescript port of the BYU CS 478 machine learning toolkit
Getting Started
- Install mlt-ts
npm install mlt-ts
- Download some datasets
mkdir datasetswget http://axon.cs.byu.edu/~martinez/classes/478/stuff/iris.arff -P datasets/
- Write a program to take in parameters and call the toolkit. This can be as simple as:
; //Parse the command line arguments; rungetLearnerlearnerName;
- Compile your typscript program and run
node compiledProgram.js -L baseline -A datasets/iris.arff -E training
Creating Learners
Creating new learners is as simple as extending the SupervisedLearner class provided by the toolkit. Just make sure to override the train()
and predict()
functions of the SupervisedLearner
base class.
;
Contributing
There are bound to be bugs in this project. Please help fix them by creating PRs.