Package

purescript-propel

Repository
philzook58/purescript-propel
License
MIT
Uploaded by
philzook58
Published on
2018-03-07

If shapes don't make sense, will throw errors. Buyer beware.

Purescript bindings to the Propel ML tensor library. Closely follows the API to be found here http://propelml.org/docs/.

A type indexed library to avoid shape mismatch is a WIP (see branch typelevel).

npm install appropriate version of propel for your computer for Tensorflow bindings when run via node. See propel documentation here. For example.

npm install propel_linux_gpu

Check out test/Main.purs for some example usage

This may be useful for dealing with Typed Array instances: https://github.com/jutaro/purescript-typedarray

Lots of other possibly useful stuff not implemented (maps, filters, folds of typed array): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray

Propel plot is not working. I do not understand how it possibly could actually.

I have had difficulty browserifying. One can use the Propel cdn instead (see /examples folder) or perhaps webpack.