

GitHub - mattn/vim-brain: Neural Networks written in Vim script
source link: https://github.com/mattn/vim-brain
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
vim-brain
Neural Network Library for Vim script. This is Vim script port of goml/gobrain.
Usage
Learning XOR in Vim script.
function! s:test() abort call brain#srand(0) let l:patterns = [ \ [[0.0, 0.0], [0.0]], \ [[0.0, 1.0], [1.0]], \ [[1.0, 0.0], [1.0]], \ [[1.0, 1.0], [0.0]], \] let l:ff = brain#new_feed() call l:ff.Init(2, 2, 1) call l:ff.Train(l:patterns, 1000, 0.6, 0.4, v:false) call l:ff.Test(l:patterns) endfunction call s:test()
Installation
Plug 'mattn/vim-brain'
License
MIT
Author
Yasuhiro Matsuoto (a.k.a. mattn)
Recommend
-
87
ft - File Transferer ft is CLI tool that transfer files.
-
74
README.md vim-terminal
-
80
README.md vim-tanakh たなこふ
-
87
README.md vim-nyancat
-
97
README.md Gist.vim This is a vimscript for creating gists (http://gist.github.com). For the latest version please see
-
78
README.md webapi-vim An Interface to WEB APIs. Description Currently this library supports the following protocols: Basic H...
-
66
README.md calendar.vim calendar.vim creates a calendar window you can use within vim. It is useful in its own right as a calendar-inside-...
-
97
README.md vim-trex Running T-Rex on Vim
-
4
Study urges caution when comparing neural networks to the brain Computing systems that...
-
11
AnimalsFirst Complete Map of a Fly Brain Has Uncanny Similarities to AI Neural NetworksOver 12 years, researchers mapped a...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK