Skip to content
Contains a very basic spatial pooler implementation written in scala. Inspired by
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Build setup Feb 22, 2015 typo Mar 1, 2015
build.gradle - Added parallelism to processing layers using Rx scala & futures Mar 14, 2015
contributors.txt Initial commit with contributors Feb 22, 2015 - fixing gradle build so you can actually run scalaConsole (and it ac… Mar 9, 2015
gradlew Build setup Feb 22, 2015
gradlew.bat Build setup Feb 22, 2015
settings.gradle Build setup Feb 22, 2015


Using the scala REPL, you can run the following example:

import com.oomagnitude._

val model = train(10000)
inferWord("the", model)

Run the REPL using Gradle

Build the project:

./gradlew clean build test

Then, run scalaConsole:

./gradlew -q scalaConsole

Run the REPL using IntelliJ

Add a new run configuration of type 'Scala Console' and make sure it uses the classpath of this project. When using the IntelliJ REPL, you will need to type cmd+enter in order to send a command to the REPL.

You can’t perform that action at this time.