This repo contains a couple of programs that shows the basics of the Akka framework.
The AkkaBasics and ChatRoom programs are from the Akka Tutorial.
The Perceptron project was written by me.
- Install sbt
- Run
sbt assembly
- Run
java -jar ./target/scala-2.13/akkaBasics-assembly-0.1-SNAPSHOT.jar
- Run
java -cp ./target/scala-2.13/akkaBasics-assembly-0.1-SNAPSHOT.jar com.jplfds.perceptron.Main
- Run
java -cp ./target/scala-2.13/akkaBasics-assembly-0.1-SNAPSHOT.jar com.jplfds.chat.Main
The perceptron example trains a perceptron to learn the NAND boolean operation.
After 6 iterations it learns to separate the input 1, 1, 1 from the others.
Below are the plots of the decision boundary after each training iteration:
Iteration 1:
Iteration 2:
Iteration 3:
Iteration 4:
Iteration 5:
Iteration 6:
Animation: