Giter VIP home page Giter VIP logo

lemonml's Introduction

πŸ‹LemonπŸ‹

Basic Machine Learning / Deep Learning Library

Implemented with numpy and scipy in python codes.

Also includes a simple version of autogradable Tensor.

For more information, please refer to my blog.

Requirements

  • python==3.6
  • numpy==1.17.0
  • scipy==1.2.1
  • torch==1.3.0

Structure

.
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ graph
β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”œβ”€β”€ _conditional_random_field.py
β”‚Β Β  └── _hidden_markov.py
β”œβ”€β”€ nn
β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”œβ”€β”€ _activation.py
β”‚Β Β  β”œβ”€β”€ _base.py
β”‚Β Β  β”œβ”€β”€ _criterion.py
β”‚Β Β  β”œβ”€β”€ _fully_connect.py
β”‚Β Β  └── autograd
β”‚Β Β      β”œβ”€β”€ __init__.py
β”‚Β Β      └── tensor.py
β”œβ”€β”€ supervised
β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”œβ”€β”€ _base.py
β”‚Β Β  β”œβ”€β”€ bayes
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  └── _bayes.py
β”‚Β Β  β”œβ”€β”€ knn
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  └── _k_nearest.py
β”‚Β Β  β”œβ”€β”€ linear
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ _base.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ _linear_regression.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ _logistic_regression.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ _multi_classifier.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ _perceptron.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ _regularization.py
β”‚Β Β  β”‚Β Β  └── _support_vector_machine.py
β”‚Β Β  └── tree
β”‚Β Β      β”œβ”€β”€ __init__.py
β”‚Β Β      β”œβ”€β”€ _cart.py
β”‚Β Β      β”œβ”€β”€ _id3.py
β”‚Β Β      └── ensemble
β”‚Β Β          β”œβ”€β”€ __init__.py
β”‚Β Β          β”œβ”€β”€ _adaptive_boosting.py
β”‚Β Β          └── _random_forest.py
β”œβ”€β”€ test
β”‚Β Β  β”œβ”€β”€ nn_models
β”‚Β Β  β”‚Β Β  └── fcnn.py
β”‚Β Β  β”œβ”€β”€ test_graph.py
β”‚Β Β  └── test_supervised.py
β”œβ”€β”€ unsupervised
β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”œβ”€β”€ clustering
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ _base.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ _kmeans.py
β”‚Β Β  β”‚Β Β  └── _spectral.py
β”‚Β Β  └── decomposition
β”‚Β Β      β”œβ”€β”€ __init__.py
β”‚Β Β      β”œβ”€β”€ _base.py
β”‚Β Β      └── _pca.py
└── utils
    β”œβ”€β”€ __init__.py
    β”œβ”€β”€ _batch.py
    β”œβ”€β”€ _cross_validate.py
    β”œβ”€β”€ _make_data.py
    └── _scaling.py

Timeline

  • 2019.6.12
    • Linear Regression
    • Logistic Regression
    • Perceptron
    • utils.scaling / batch / cross_validate
  • 6.13
    • Support Vector Machine
    • K-Nearest-Neighbor
    • test script
  • 6.15
    • Bayes
  • 6.16
    • K-Means
  • 6.19
    • Spectral
    • Principle Component Analysis
  • 6.24
    • Decision Tree(ID3)
  • 7.2
    • Multi-classifier
    • Regularization
  • 7.13
    • Activation
    • Criterion
    • Fully Connected Layer
    • Fully Connected Neural Network Model
  • 8.17-8.20
    • Improve project structure
    • Decision Tree(CART)
    • Random Forest
    • Adaboost
  • 8.23
    • Hidden Markov Model
  • 11.6
    • Conditional Random Field Model(Based on Torch)
    • Autograd Tensor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.