CodingTrain / CodingTrain/Suggestion-Box

Pi Day -- Calculate nth digit using neural net

Open
#880 0 comments 5 reactions 1 assignee Claimed by @shiffman View on GitHub
machine learning Pi Day
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

# Calculate nth digit of Pi using neural net
We could imagine Pi as a array of integers
```
3141592653589793238462643383...
```
A possible cool way to calculate Pi is using a neural network with 1 input and 10 outputs, where the input n is the index of the nth digit and the output is the digit itself (one hot).
Some examples:
- 0 => [0,0,0,1,0,0,0,0,0,0]
- 4 => [0,0,0,0,0,1,0,0,0,0]
- 12 => [0,0,0,0,0,0,0,0,0,1]
- 50 => [1,0,0,0,0,0,0,0,0,0]
- 99 => [0,0,0,0,0,0,0,1,0,0]

You can use [this link](http://www.piday.org/million/) for the training data.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.