CodingTrain / CodingTrain/Suggestion-Box
Pi Day -- Calculate nth digit using neural net
- 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.