Code examples: Difference between revisions
From Jstacs
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
'''Using Jstacs:'''<br /> | '''Using Jstacs:'''<br /> | ||
* [[Loading data]] | * [[Loading data]] | ||
* [[Create a discrete alphabet]] | |||
* [[Training a classifier and classifying new sequences]] | * [[Training a classifier and classifying new sequences]] | ||
* [[Saving and loading a model]] | * [[Saving and loading a model]] |
Revision as of 07:47, 6 June 2011
At this page we collected some code examples that show how to use or extend the Jstacs framework. You are invited to extend the list and submit code examples to the Jstacs forum.
You can find a Java class containing most of the code examples used in a common main-method at CodeExampleTest.java. Please see Getting started and the comments in the preamble of the class for how to compile and run the example.
Another runnable example can be found at MiMBExample.java. Additional information about this example is given on the MiMB page.
Using Jstacs:
- Loading data
- Create a discrete alphabet
- Training a classifier and classifying new sequences
- Saving and loading a model
- Performing a 10-fold cross validation
- Using the REnvironment
- Compute and plot Receiver Operating Characteristic (ROC) and Precision-Recall (PR) curve
- Parameter learning
Extending Jstacs: