moztorch
| resources: | Home Mailing List Installation Source Code Members Screenshots |
|---|
Links
XPCOM Interfaces
Documentation
The MozTorch project provides the XPCOM layer which allows access to the Torch library from anywhere in the Mozilla application (e.g. other extensions, javascript, etc). To get an idea of how these components are used, see the sample application (particularly moztorch.js in the chrome directory).
This page contains documentation on the MozTorch project, including a Glossary of Terms used throughout the site. See the API for a list of XPCOM interfaces and components provided by this extension. For those working on the MozTorch project, see the C++ Documentation. If you are new to Mozilla development, check out the New Component Guide. This provides a walkthrough for creating your first XPCOM component.
Glossary of Terms
- Dataset - 2D array of data (elements are type double)
- Attribute - Column of dataset
- Example - Row of dataset
- Feature - Attribute used as machine's input
- Target - Attribute used as machine's output (see also Supervised Learning)
Links
JavaScript
- XPCOM File I/O Example in JavaScript
- Another File I/O Example
- XPIDL Out Parameters in JavaScript
- JavaScript: Creating XPCOM components in JS
- JavaScript: Direct Access to underlying JS Objects through XPCOM - See "Unwrapping" Section
- JavaScript: Language Quick-Reference
- JavaScript: Emacs Mode