Skip to content

dragen1860/MLAlgorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)$$

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

About

Machine Learning Algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages