<commit_before># MoYF
諸事情により突発的に作ったニューラルネットワークライブラリ．
## Usage
sin.py is an example.
## Examples
* sin.py  
![sin.py](imgs/sin.png)
* ranks.py  
sum > 30:       [1, 0, 0]  
30 >= sum > 20: [0, 1, 0]  
20 >= sum:      [0, 0, 1]  

```
[4 4 1 3 4 4 4 4], sum=28: [ 0.36147516  0.56958886  0.06893598]
[5 5 1 5 2 5 4 2], sum=29: [ 0.0189364   0.85711497  0.12394864]
[1 2 2 1 4 3 3 2], sum=18: [ 0.0282122   0.67636866  0.29541914]
[4 4 4 5 1 3 1 2], sum=24: [ 0.01226515  0.74235488  0.24537997]
[2 3 1 1 4 5 3 2], sum=21: [  5.66980212e-06   1.78913126e-01   8.21081205e-01]
[3 1 1 1 3 2 1 3], sum=15: [ 0.05691473  0.70920137  0.2338839 ]
[4 5 4 3 5 5 3 4], sum=33: [ 0.70769435  0.26047844  0.03182721]
[1 3 5 2 4 3 1 2], sum=21: [ 0.00605468  0.79401064  0.19993468]
[2 5 3 3 1 5 5 4], sum=28: [  5.79643414e-04   8.53919226e-01   1.45501130e-01]
[2 4 4 2 4 4 1 2], sum=23: [ 0.0433337   0.78365262  0.17301368]
[5 3 2 4 5 3 5 3], sum=30: [ 0.4630215   0.41031771  0.12666079]
[2 2 1 5 2 5 3 3], sum=23: [ 0.01355066  0.18799842  0.79845092]
[3 4 3 5 1 2 3 4], sum=25: [ 0.21545978  0.71444253  0.0700977 ]
[2 1 1 4 5 2 3 4], sum=22: [ 0.02255627  0.73923671  0.23820702]
[1 3 1 2 1 3 1 2], sum=14: [  6.81604372e-04   7.39268033e-01   2.60050363e-01]
[1 3 3 4 1 2 3 3], sum=20: [ 0.12737517  0.79516965  0.07745517]
[2 2 2 4 4 3 4 5], sum=26: [ 0.17402014  0.71572087  0.11025899]
[3 4 4 3 5 3 4 3], sum=29: [ 0.87578338  0.10229126  0.02192535]
[3 5 5 3 3 5 5 4], sum=33: [ 0.6185099   0.33411755  0.04737255]
[1 5 2 4 5 3 3 5], sum=28: [ 0.05151109  0.87317199  0.07531692]
```

* ox.py  
![ox.png](imgs/ox.png)  

```
o17.png: [  1.00000000e+00   3.39872673e-49]
x17.png: [  1.49331782e-114   1.00000000e+000]
o18.png: [  1.00000000e+00   2.64423079e-31]
x18.png: [  4.12645066e-69   1.00000000e+00]
```

## License
Mozilla Public License 2.0<commit_msg>Edit README.md<commit_after># MoYF
諸事情により突発的に作ったニューラルネットワークライブラリ．
加えて，Q学習．
## Usage
sin.py is an example.
## Examples
* sin.py  
![sin.py](imgs/sin.png)
* ranks.py  
sum > 30:       [1, 0, 0]  
30 >= sum > 20: [0, 1, 0]  
20 >= sum:      [0, 0, 1]  

```
[4 4 1 3 4 4 4 4], sum=28: [ 0.36147516  0.56958886  0.06893598]
[5 5 1 5 2 5 4 2], sum=29: [ 0.0189364   0.85711497  0.12394864]
[1 2 2 1 4 3 3 2], sum=18: [ 0.0282122   0.67636866  0.29541914]
[4 4 4 5 1 3 1 2], sum=24: [ 0.01226515  0.74235488  0.24537997]
[2 3 1 1 4 5 3 2], sum=21: [  5.66980212e-06   1.78913126e-01   8.21081205e-01]
[3 1 1 1 3 2 1 3], sum=15: [ 0.05691473  0.70920137  0.2338839 ]
[4 5 4 3 5 5 3 4], sum=33: [ 0.70769435  0.26047844  0.03182721]
[1 3 5 2 4 3 1 2], sum=21: [ 0.00605468  0.79401064  0.19993468]
[2 5 3 3 1 5 5 4], sum=28: [  5.79643414e-04   8.53919226e-01   1.45501130e-01]
[2 4 4 2 4 4 1 2], sum=23: [ 0.0433337   0.78365262  0.17301368]
[5 3 2 4 5 3 5 3], sum=30: [ 0.4630215   0.41031771  0.12666079]
[2 2 1 5 2 5 3 3], sum=23: [ 0.01355066  0.18799842  0.79845092]
[3 4 3 5 1 2 3 4], sum=25: [ 0.21545978  0.71444253  0.0700977 ]
[2 1 1 4 5 2 3 4], sum=22: [ 0.02255627  0.73923671  0.23820702]
[1 3 1 2 1 3 1 2], sum=14: [  6.81604372e-04   7.39268033e-01   2.60050363e-01]
[1 3 3 4 1 2 3 3], sum=20: [ 0.12737517  0.79516965  0.07745517]
[2 2 2 4 4 3 4 5], sum=26: [ 0.17402014  0.71572087  0.11025899]
[3 4 4 3 5 3 4 3], sum=29: [ 0.87578338  0.10229126  0.02192535]
[3 5 5 3 3 5 5 4], sum=33: [ 0.6185099   0.33411755  0.04737255]
[1 5 2 4 5 3 3 5], sum=28: [ 0.05151109  0.87317199  0.07531692]
```

* ox.py  
![ox.png](imgs/ox.png)  

```
o17.png: [  1.00000000e+00   3.39872673e-49]
x17.png: [  1.49331782e-114   1.00000000e+000]
o18.png: [  1.00000000e+00   2.64423079e-31]
x18.png: [  4.12645066e-69   1.00000000e+00]
```

* q_maze2.py  
[![Q-Learning](http://img.youtube.com/vi/4qWrmaR-yDw/0.jpg)](http://www.youtube.com/watch?v=4qWrmaR-yDw)

## License
Mozilla Public License 2.0
{'fraction_non_alphanumeric': 0.16991426344505067, 'fraction_numerical': 0.4520654715510522, 'mean_word_length': 2.6218250235183445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 8, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7497361', 'n_tokens_mistral': 3155, 'n_tokens_neox': 2092, 'n_words': 577}