https://github.com/cappyzawa/perceptron
Perceptron with Scala
https://github.com/cappyzawa/perceptron
Last synced: 3 months ago
JSON representation
Perceptron with Scala
- Host: GitHub
- URL: https://github.com/cappyzawa/perceptron
- Owner: cappyzawa
- Created: 2015-08-29T10:39:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-30T19:56:39.000Z (almost 9 years ago)
- Last Synced: 2025-01-05T11:29:02.775Z (4 months ago)
- Language: Scala
- Size: 1.45 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Perceptron
===============機械学習の課題で出したパーセプトロンの実装
Scalaで実装した.
## Library
in ```build.sbt```
|Library|Version|
|:-----:|:-----|
|Scala|2.11.6|
|sbt|0.13.8|
|breeze|0.11.2|機械学習ライブラリの[Breeze](https://github.com/scalanlp/breeze)を導入
> Breeze is a library for numerical processing.
> It aims to be generic, clean, and powerful without sacrificing (much) efficiency.## Usage
```
cd Perceptronsbt compile run
```学習が始まりプロットされ始める.
学習が終わると更新がおわり,図が残ったままになってしまうため,コンソール上で ```control c``` で中断する.(要改善)
## Edit
```src/main/scala/Perceptorn.scala``` の ```rho``` は学習率任意の値に編集して実行可能