Code Monkey home page Code Monkey logo

ml_implementation's Introduction

Implementation_for_machine_learning_algorithms

1.Description

  Implementation for watermelon book's coding homework.

2.Log

180401: logistic_regression(dataset:ZhihuaZhou "Machine Learning" P89)
use sklearn to test its performance first,then use numpy to implement the alogrithm via normal/stochastic grandient descent methods.

180401: cross_validation vs leave_one_out(dataset:Iris;Tic-tac-toe)
use sklearn's logistic regression to compare 10-fold cross validation&leave-one-out methods.

180401: linear_discriminant_analysis(dataset:ZhihuaZhou "Machine Learning" P89)
use sklearn to test its performance first, then use numpy to implement the algorithm via normal/outlier(X[15])-deleted LDA.

180406:ID3_decision_tree(dataset:ZhihuaZhou "Machine Learning" P84:note that the data of 0.0267 should be modified to 0.267)
use pandas to implement the algorithm, show data_distribution_pic by seaborn and illustrate the decision tree structure via graphviz(both in Chinese).

180407:CART_decision_tree(dataset:ZhihuaZhou "Machine Learning" P80)
use pandas to implement the algorithm, show the strucutre of "full" tree,the prepruned version and the postpruned version via graphviz.

180421:standard back propagation algorithm
implement BP algorithm and train an xor NN.

180423:use SVM to classify the dataset of breast cancer,and compare its result with BP algorithm.
implement SVM via sklearn, and implement BP algorithm via PyBrain.

181204:compare the difference between func of normal distribution & sigmoid func, to find out why sigmoid func is widely used at the very beginning.
Figure1: sigmoid_vs_normal_distir(func) sigmoid_vs_normal_distir(func)
Figure2: sigmoid_vs_normal_distir(derivative) sigmoid_vs_normal_distir(derivative)

ml_implementation's People

Contributors

luochonghai avatar

Watchers

 avatar

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.