Giter VIP home page Giter VIP logo

machine_learning_basics's Introduction

Machine learning basics

This repository contains implementations of basic machine learning algorithms in plain Python (Python Version 3.6+). All algorithms are implemented from scratch without using additional machine learning libraries. The intention of these notebooks is to provide a basic understanding of the algorithms and their underlying structure, not to provide the most efficient implementations.

alt text

Data preprocessing

After several requests I started preparing notebooks on how to preprocess datasets for machine learning. Within the next months I will add one notebook for each kind of dataset (text, images, ...). As before, the intention of these notebooks is to provide a basic understanding of the preprocessing steps, not to provide the most efficient implementations.

alt text

Live demo

Run the notebooks online without having to clone the repository or install jupyter: Binder.

Note: this does not work for the data_preprocessing.ipynb and image_preprocessing.ipynb notebooks because they require downloading a dataset first.

Feedback

If you have a favorite algorithm that should be included or spot a mistake in one of the notebooks, please let me know by creating a new issue.

License

See the LICENSE file for license rights and limitations (MIT).

machine_learning_basics's People

Contributors

cako avatar zotroneneis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

machine_learning_basics's Issues

well done, hymn!

very good.

in chapter "linear-regression":

"n_iters" is omitted in section "training with gradient descent";

"c='orange'" is omitted in section "visualize test predictions";

in chapter "logistic-regression":

"* 100" is omitted in section "testing the model";

in chapter "k-nearest-neighbor":

"regregression" may be typo at the start;

"plt.show()" is omitted in section "dataset";

"test accuracy with k = 8" and "*8-like" characters may be typos, must be 4;

in chapter "simple neural net":

"\textit{sigmoid}" may be typo in section "forward pass";

in chapter "softmax regression":

"one-hot encoded" in section "step iii", confused by "So $y_k^{(i)}$ is $1$ is the target class for $\boldsymbol{x}^{(i)}$ is k, otherwise $y_k^{(i)}$ is $0$.", what is the meaning of "is 1 is the target...";

continuous updating...

Data Preprocessing

I think you should also mention about data preprocessing. It is one of the important and basic step of machine learning.

Naive bayes

Would be nice to see a naive bayes implementation.

not a issue but a request!

Thanks for these clear tutorials for basics of machine learning.

I have read through with great honor and translated into Chinese, and errata #7 as well.

Now i wish to contribute them as a Chinese version, just put this link into README.md can come true.

Question on basics and tools

Hi,
I am new to machine learning. I already know advanced python. Currently, I am using anaconda spyder for my codes, but I was hoping somebody could recommend an editor solely for machine learning and focused on "pandas" as well as "NumPy".

Basic Python implementation of LSTM

I had a tough time understanding LSTM completely and I believe there are many out there who may have doubts on it. It would be awesome to study LSTM (or any recurrent NN) with plain Python.

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.