An open API service indexing awesome lists of open source software.

https://github.com/dragen1860/mlalgorithms

Machine Learning Algorithms
https://github.com/dragen1860/mlalgorithms

Last synced: 3 months ago
JSON representation

Machine Learning Algorithms

Awesome Lists containing this project

README

          

# MLAlgorithms

1. Monte Carlo

using monte carlo algorithm to estimate the value of pi.

$$ P(x in circle|x)=pi*r^2/(4*r^2)$$

namely,

$$pi=4*P(x in circle|x)$$

2. Backpropagation nerual network

implement a standard bp neural network, using SGD optimizer.
>python bp.py

the similar output will like:
```
loading mnist dataset... done.
Epoch 0: 1545 / 10000
Epoch 1: 2240 / 10000
Epoch 2: 3446 / 10000
Epoch 3: 4416 / 10000
Epoch 4: 5356 / 10000
Epoch 5: 6021 / 10000
Epoch 6: 6420 / 10000

```