All Projects → jsmlt → Jsmlt

jsmlt / Jsmlt

🏭 JavaScript Machine Learning Toolkit

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Jsmlt

supervised-machine-learning
This repo contains regression and classification projects. Examples: development of predictive models for comments on social media websites; building classifiers to predict outcomes in sports competitions; churn analysis; prediction of clicks on online ads; analysis of the opioids crisis and an analysis of retail store expansion strategies using…
Stars: ✭ 34 (+54.55%)
Mutual labels:  random-forest, classification, logistic-regression
Fuku Ml
Simple machine learning library / 簡單易用的機器學習套件
Stars: ✭ 280 (+1172.73%)
Mutual labels:  classification, svm, logistic-regression
Amazon-Fine-Food-Review
Machine learning algorithm such as KNN,Naive Bayes,Logistic Regression,SVM,Decision Trees,Random Forest,k means and Truncated SVD on amazon fine food review
Stars: ✭ 28 (+27.27%)
Mutual labels:  random-forest, svm, logistic-regression
Breast-Cancer-Scikitlearn
simple tutorial on Machine Learning with Scikitlearn
Stars: ✭ 33 (+50%)
Mutual labels:  random-forest, svm, logistic-regression
Machine Learning With Python
Python code for common Machine Learning Algorithms
Stars: ✭ 3,334 (+15054.55%)
Mutual labels:  svm, logistic-regression, random-forest
Machine-Learning-Models
In This repository I made some simple to complex methods in machine learning. Here I try to build template style code.
Stars: ✭ 30 (+36.36%)
Mutual labels:  random-forest, svm, logistic-regression
Awesome Fraud Detection Papers
A curated list of data mining papers about fraud detection.
Stars: ✭ 843 (+3731.82%)
Mutual labels:  classification, logistic-regression, random-forest
Text Classification Benchmark
文本分类基准测试
Stars: ✭ 18 (-18.18%)
Mutual labels:  svm, logistic-regression, random-forest
Machine Learning From Scratch
Machine Learning models from scratch with a better visualisation
Stars: ✭ 15 (-31.82%)
Mutual labels:  classification, logistic-regression
ml
经典机器学习算法的极简实现
Stars: ✭ 130 (+490.91%)
Mutual labels:  svm, logistic-regression
AdaptiveRandomForest
Repository for the AdaptiveRandomForest algorithm implemented in MOA 2016-04
Stars: ✭ 28 (+27.27%)
Mutual labels:  random-forest, classification
SentimentAnalysis
(BOW, TF-IDF, Word2Vec, BERT) Word Embeddings + (SVM, Naive Bayes, Decision Tree, Random Forest) Base Classifiers + Pre-trained BERT on Tensorflow Hub + 1-D CNN and Bi-Directional LSTM on IMDB Movie Reviews Dataset
Stars: ✭ 40 (+81.82%)
Mutual labels:  random-forest, svm
Handwritten-Digits-Classification-Using-KNN-Multiclass Perceptron-SVM
🏆 A Comparative Study on Handwritten Digits Recognition using Classifiers like K-Nearest Neighbours (K-NN), Multiclass Perceptron/Artificial Neural Network (ANN) and Support Vector Machine (SVM) discussing the pros and cons of each algorithm and providing the comparison results in terms of accuracy and efficiecy of each algorithm.
Stars: ✭ 42 (+90.91%)
Mutual labels:  svm, logistic-regression
Credit
An example project that predicts risk of credit card default using a Logistic Regression classifier and a 30,000 sample dataset.
Stars: ✭ 18 (-18.18%)
Mutual labels:  classification, logistic-regression
MachineLearningSeries
Vídeos e códigos do Universo Discreto ensinando o fundamental de Machine Learning em Python. Para mais detalhes, acompanhar a playlist listada.
Stars: ✭ 20 (-9.09%)
Mutual labels:  random-forest, classification
Tensorflow Book
Accompanying source code for Machine Learning with TensorFlow. Refer to the book for step-by-step explanations.
Stars: ✭ 4,448 (+20118.18%)
Mutual labels:  classification, logistic-regression
Pytorch classification
利用pytorch实现图像分类的一个完整的代码,训练,预测,TTA,模型融合,模型部署,cnn提取特征,svm或者随机森林等进行分类,模型蒸馏,一个完整的代码
Stars: ✭ 395 (+1695.45%)
Mutual labels:  svm, random-forest
Machinelearnjs
Machine Learning library for the web and Node.
Stars: ✭ 498 (+2163.64%)
Mutual labels:  svm, random-forest
VisualML
Interactive Visual Machine Learning Demos.
Stars: ✭ 104 (+372.73%)
Mutual labels:  svm, logistic-regression
onelearn
Online machine learning methods
Stars: ✭ 14 (-36.36%)
Mutual labels:  random-forest, classification

JSMLT

npm npm GitHub stars

JSMLT

The JavaScript Machine Learning Toolkit, or JSMLT, is an open source JavaScript library for education in machine learning. It implements several well-known supervised learning algorithms in an understandable, modular and well-commented way. Furthermore, visualization examples are provided which allow you to explore the way different machine learning algorithms work. Ultimately, JSMLT is intended to provide students with a better learning experience when studying machine learning algorithms.

If you want to explore a visualization of the machine learning algorithms in JSMLT, check out visualml.io. It provides an interactive environment for using JSMLT's algorithms.

Getting started

This short guide will help you get started with JSMLT.

Installation

We're assuming you've got Node.js and npm installed. If you haven't, you should: download and install it from nodejs.org.

To install JSMLT into your npm project via npm, run

npm install @jsmlt/jsmlt

A simple example

In this small example, we're going to train an SVM on a small example dataset. The code example below starts with loading JSMLT, creating some dummy training and test data, and running an SVM classifier on it. It's pretty simple!

If you want to run this example without having to set up anything by yourself, check out the JSMLT examples repository. It includes the example below, and requires no further setup: it's ready to run!

// Import JSMLT library
var jsmlt = require('@jsmlt/jsmlt');

// Training data
train_X = [[-1,-1], [-1,1], [1,1], [1,-1]];
train_y = [0, 0, 1, 1];

// Testing data
test_X = [[1,2], [1,-2], [-1,-2], [-1,2]];

// Create and train classifier
var clf = new jsmlt.Supervised.SVM.SVM({
  kernel: new jsmlt.Kernel.Linear(),
});
clf.train(train_X, train_y);

// Make predictions on test data
console.log(clf.predict(test_X));

Running this simple example will output the classification result [1,1,0,0], meaning it classified the first two points as 0, and the second two points as 1.

API

The entire API documentation can be found here. You can also build the documentation locally by downloading and installing JSMLT and running npm run-script build-documentation: the documentation will then be available in the docs folder.

Supervised learning algorithms (classifiers)

Unsupervised learning algorithms (clustering)

Kernels

Preprocessing

Model selection

Datasets

Validation

Classification boundaries

Development

JSMLT is maintained by Jesper van Engelen, and is in active development. It is currently not ready to be used in any production environments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].