All Projects → memoiry → Lightml.jl

memoiry / Lightml.jl

Licence: other
Minimal and clean examples of machine learning algorithms implemented in Julia

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to Lightml.jl

Notebooks Statistics And Machinelearning
Jupyter Notebooks from the old UnsupervisedLearning.com (RIP) machine learning and statistics blog
Stars: ✭ 270 (-29.32%)
Mutual labels:  machine-learning-algorithms
Ocr Form Tools
A set of tools to use in Microsoft Azure Form Recognizer and OCR services.
Stars: ✭ 298 (-21.99%)
Mutual labels:  machine-learning-algorithms
Bestofml
The best resources around Machine Learning
Stars: ✭ 349 (-8.64%)
Mutual labels:  machine-learning-algorithms
Awesome Computer Vision Models
A list of popular deep learning models related to classification, segmentation and detection problems
Stars: ✭ 278 (-27.23%)
Mutual labels:  machine-learning-algorithms
Machine Learning Books
book
Stars: ✭ 290 (-24.08%)
Mutual labels:  machine-learning-algorithms
Homemade Machine Learning
🤖 Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained
Stars: ✭ 18,594 (+4767.54%)
Mutual labels:  machine-learning-algorithms
Awesome Speech Enhancement
A tutorial for Speech Enhancement researchers and practitioners. The purpose of this repo is to organize the world’s resources for speech enhancement and make them universally accessible and useful.
Stars: ✭ 257 (-32.72%)
Mutual labels:  machine-learning-algorithms
Perceptron
A flexible artificial neural network builder to analyse performance, and optimise the best model.
Stars: ✭ 370 (-3.14%)
Mutual labels:  machine-learning-algorithms
Machine Learning Algorithms From Scratch
Implementing machine learning algorithms from scratch.
Stars: ✭ 297 (-22.25%)
Mutual labels:  machine-learning-algorithms
Draw
Reimplementation of DRAW
Stars: ✭ 346 (-9.42%)
Mutual labels:  machine-learning-algorithms
Mathematicaforprediction
Mathematica implementations of machine learning algorithms used for prediction and personalization.
Stars: ✭ 288 (-24.61%)
Mutual labels:  machine-learning-algorithms
Tensorfow Rbm
Tensorflow implementation of Restricted Boltzmann Machine
Stars: ✭ 290 (-24.08%)
Mutual labels:  machine-learning-algorithms
Machine learning basics
Plain python implementations of basic machine learning algorithms
Stars: ✭ 3,557 (+831.15%)
Mutual labels:  machine-learning-algorithms
Vtreat
vtreat is a data frame processor/conditioner that prepares real-world data for predictive modeling in a statistically sound manner. Distributed under choice of GPL-2 or GPL-3 license.
Stars: ✭ 274 (-28.27%)
Mutual labels:  machine-learning-algorithms
Articles
A repository for the source code, notebooks, data, files, and other assets used in the data science and machine learning articles on LearnDataSci
Stars: ✭ 350 (-8.38%)
Mutual labels:  machine-learning-algorithms
Lihang algorithms
用python和sklearn两种方法实现李航《统计学习方法》中的算法
Stars: ✭ 263 (-31.15%)
Mutual labels:  machine-learning-algorithms
Options Trading Strategies In Python
Developing Options Trading Strategies using Technical Indicators and Quantitative Methods
Stars: ✭ 309 (-19.11%)
Mutual labels:  machine-learning-algorithms
Pyltr
Python learning to rank (LTR) toolkit
Stars: ✭ 377 (-1.31%)
Mutual labels:  machine-learning-algorithms
Differentiable Plasticity
Implementations of the algorithms described in Differentiable plasticity: training plastic networks with gradient descent, a research paper from Uber AI Labs.
Stars: ✭ 371 (-2.88%)
Mutual labels:  machine-learning-algorithms
Fbp
FBP项目全称FootBallPrediction,历经9个月完成的足球比赛预测项目。项目结合大数据+机器学习,不断摸索开发了一个程序。程序根据各大公司赔率多维度预测足球比赛结果(包含胜和不胜)。机器学习用的是自己建立的“三木板模型”算法,已在国家期刊发表论文并被万方数据库收录,详见_ML_文件。目前准确率可达80%。该项目在自己创建的微信群里已经吸引了很多人,附件为群讨论截图,并且每天均有部分人根据预测结果参考投注竞彩,参考的人都获得了相应的收益。 现在想通过认识更多的有识之士,一起探索如何将项目做大做强,找到合伙人,实现共赢。希望感兴趣的同仁联系本人,微信号acredjb。公众号AI金胆(或AI-FBP),每天都有程序预测的足球比赛。程序优势请看Advantages和README文件。程序3.0版本:(第三轮目前13中12) 8月10日:13让负(正确) 8月11日:27让负(正确) 8月12日:11让负(正确) 8月13日:6胜(不正确) 8月14日:25让负(正确) 8月15日:无预测 8月16日:1胜(正确) 8月17日:6让负(正确) 8月18日:16胜(正确) 8月19日:34让负(正确) ... 1.0版本(第一轮为11中9) 2.0版本(第二轮13中11).
Stars: ✭ 337 (-11.78%)
Mutual labels:  machine-learning-algorithms

LightML.jl

Build Status Build status Coverage Status

About

LightML.jl is a collection of reimplementation of general machine learning algorithm in Julia.

The purpose of this project is purely self-educational.

Why?

This project is targeting people who want to learn internals of ml algorithms or implement them from scratch.

The code is much easier to follow than the optimized libraries and easier to play with.

All algorithms are implemented in Julia.

You should access test function of every implementation for its usage in detail. Every model is actually constructed in a similar manner.

Installation

First make sure you have correct python dependency. You can use the Conda Julia package to install more Python packages, and import Conda to print the Conda.PYTHONDIR directory where python was installed. On GNU/Linux systems, PyCall will default to using the python program (if any) in your PATH.

The advantage of a Conda-based configuration is particularly compelling if you are installing PyCall in order to use packages like PyPlot.jl or SymPy.jl, as these can then automatically install their Python dependencies.

ENV["PYTHON"]=""
Pkg.add("Conda")
using Conda
Conda.add("python==2.7.13")
Conda.add("matplotlib")
Conda.add("scikit-learn")
Pkg.add("PyCall")
Pkg.build("PyCall")

or you can simply

Pkg.build("LightML")

It's actually same with the procedure above.

Then every dependency should be configured, you can simply run command below to install the package.

Pkg.clone("https://github.com/memoiry/LightML.jl")

Running Implementations

Let's first try the overall functionality test.

using LightML
test_LSC()

Figure 1: Smiley, spirals, shapes and cassini Datasets using LSC(large scale spectral clustering)

Running Demo

using LightML
demo()

Figure 2: The Digit Dataset using Demo algorithms

Current Implementations

Supervised Learning:

Unsupervised Learning:

Test Example available

  • test_ClassificationTree()
  • test_RegressionTree()
  • test_label_propagation()
  • test_LDA()
  • test_naive()
  • test_NeuralNetwork()
  • test_svm()
  • test_kmeans_random()
  • test_PCA()
  • test_Adaboost()
  • test_BoostingTree()
  • test_spec_cluster()
  • test_LogisticRegression()
  • test_LinearRegression()
  • test_kneast_regression()
  • test_kneast_classification()
  • test_LSC()
  • test_GaussianMixture() (Fixing)
  • test_GDA() (Fixing)
  • test_HMM() (Fixing)
  • test_xgboost (Fixing)

Contribution

Please examine the todo list for contribution detials.

Any Pull request is welcome.

Selected Examples

LinearRegression

using LightML
test_LinearRegression()

Figure 3: The regression Dataset using LinearRegression

Adaboost

test_Adaboost()

Figure 4: The classification Dataset using Adaboost

SVM

test_svm()

Figure 5: The classification Dataset using LinearRegression

Classification Tree

test_ClassificationTree()

Figure 6: The digit Dataset using Classification Tree

kmeans

test_kmeans_random()

Figure 7: The blobs Dataset using k-means

LDA

test_LDA()

Figure 8: The classification Dataset using LDA

PCA

test_PCA()

Figure 9: The Digit Dataset using PCA

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].