Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axelpale/objectronjs
An object sequence learner and predictor. Based on n-grams.
https://github.com/axelpale/objectronjs
Last synced: about 1 month ago
JSON representation
An object sequence learner and predictor. Based on n-grams.
- Host: GitHub
- URL: https://github.com/axelpale/objectronjs
- Owner: axelpale
- License: mit
- Created: 2014-03-06T00:17:27.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-27T17:46:16.000Z (almost 11 years ago)
- Last Synced: 2024-10-15T17:54:33.937Z (3 months ago)
- Language: JavaScript
- Size: 223 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# objectron.jsv0.0.1
Compatible with browsers and Node.js.
## Basic example
> var b = objectron.create();
## Install
Node.js: `npm install objectron` and `var objectron = require('objectron');`
Browsers: download and ``
## API
### objectron.create()
> var b = objectron.create();
### b.save()
> b.save();
Exports the state of objectron for example to be stored in database. See [_b.load()_](#bload).
### b.load()
> b.load(...);
undefinedResets objectron back to the saved state. See [_b.save()_](#bsave).
## Customize objectron
Customize objectron instance by:
objectron.extension.myFunction = function (...) {...};
After that you can:
var b = objectron.create();
b.myFunction();## Under the hood
## History
The development of objectron.js started in 2013 as an experiment about how machine learning can be used in user interfaces.
## License
[MIT License](../blob/master/LICENSE)