public class SequenceModelExplorer extends Object implements com.oracle.labs.mlrg.olcut.command.CommandGroup
SequenceModel
.Modifier and Type | Class and Description |
---|---|
static class |
SequenceModelExplorer.SequenceModelExplorerOptions
Command line options.
|
Modifier and Type | Field and Description |
---|---|
protected com.oracle.labs.mlrg.olcut.command.CommandInterpreter |
shell |
Constructor and Description |
---|
SequenceModelExplorer() |
Modifier and Type | Method and Description |
---|---|
String |
featureInfo(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
String featureName) |
org.jline.reader.Completer[] |
fileCompleter() |
String |
getDescription() |
String |
getName() |
String |
loadModel(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
File path) |
static void |
main(String[] args) |
String |
minCount(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
int minCount) |
String |
modelDescription(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) |
String |
numFeatures(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) |
String |
outputInfo(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) |
void |
startShell()
Start the command shell
|
String |
topFeatures(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
int numFeatures) |
static String |
usage() |
public String getName()
getName
in interface com.oracle.labs.mlrg.olcut.command.CommandGroup
public String getDescription()
getDescription
in interface com.oracle.labs.mlrg.olcut.command.CommandGroup
public org.jline.reader.Completer[] fileCompleter()
public void startShell()
@Command(usage="<filename> - Load a model from disk.", completers="fileCompleter") public String loadModel(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, File path)
@Command(usage="Shows the model description") public String modelDescription(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
@Command(usage="Shows the information on a particular feature") public String featureInfo(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, String featureName)
@Command(usage="Shows the output information.") public String outputInfo(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
@Command(usage="<int> - Shows the top N features in the model") public String topFeatures(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, int numFeatures)
@Command(usage="Shows the number of features in the model") public String numFeatures(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
@Command(usage="<min count> - Shows the number of features that occurred more than min count times.") public String minCount(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, int minCount)
public static String usage()
public static void main(String[] args)
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.