Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
/ mine Public archive

Latest commit

 

History

History
159 lines (102 loc) · 2.84 KB

README.md

File metadata and controls

159 lines (102 loc) · 2.84 KB

Scala's Pattern Recognition and Machine Learning

image image image image image

sample codes of machine learning models and algorithms written in Scala, for the educational purpose in data science.

Documents

Chapter 1

Nearest Neighbors

$ java -jar build/libs/mine.jar KNN
$ java -jar build/libs/mine.jar LR
$ java -jar build/libs/mine.jar NBC

KNN

Linear Regression

Regression 1 Regression 2

Naive Bayes Classifier

NBC 1 NBC 2

Chapter 2

$ java -jar build/libs/mine.jar MLP
$ java -jar build/libs/mine.jar SGD
$ java -jar build/libs/mine.jar RNN

Multi-Layer Perceptron

MLP 1 MLP 2

Plain SGD vs AdaDelta

SGD 1 SGD 2

Recurrent Neural Network

RNN

Chapter 3

$ java -jar build/libs/mine.jar SVM

Linear SVM

Linear SVM 1 Linear SVM 2

Kernel SVM

Kernel SVM 1 Kernel SVM 2

Chapter 4

$ java -jar build/libs/mine.jar DT

Decision Tree

Decision Tree 1 Decision Tree 2

AdaBoost

AdaBoost

Ensemble

Ensemble

Chapter 5

$ java -jar build/libs/mine.jar LDA

Latent Dirichlet Allocation

0,7,14,21,28,35,42,49,56,63,70,77
5,10,15,20,25,30,40,45,50,55,60,65,75,80
3,6,9,12,18,24,27,33,36,39,48,51,54,57,66,69,72,78
2,4,8,16,22,26,32,34,38,44,46,52,58,62,64,68,74,76

Chapter 6

$ java -jar build/libs/mine.jar GMM

K-Means

K-Means 1 K-Means 2

EM Algorithm

EM Algorithm 1 EM Algorithm 2

VB-EM Algorithm

VB-EM Algorithm 1 VB-EM Algorithm 2

Dependencies

  • Python3.8
  • numpy
  • scipy
  • matplotlib
  • cartopy
  • geos

Build

$ gradle build

Contribution

Feel free to make issues at nextzlog/todo. Follow @nextzlog on Twitter.

License

Author

無線部開発班

Clauses

BSD 3-Clause License