Modifier and Type | Class and Description |
---|---|
static class |
DatasetExplorer.DatasetExplorerOptions |
Modifier and Type | Field and Description |
---|---|
protected com.oracle.labs.mlrg.olcut.command.CommandInterpreter |
shell |
Constructor and Description |
---|
DatasetExplorer() |
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 |
loadDataset(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 |
numExamples(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) |
String |
saveCSV(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
String path) |
String |
showLabelStats(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) |
String |
showProvenance(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) |
void |
startShell()
Start the command shell
|
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 dataset from disk.", completers="fileCompleter") public String loadDataset(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, File path)
@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="Shows the number of rows in the dataset") public String numExamples(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
@Command(usage="Shows the number of features in the dataset") 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)
@Command(usage="Shows the output statistics") public String showLabelStats(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
@Command(usage="Saves out the data as a CSV.") public String saveCSV(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, String path)
@Command(usage="Shows the dataset provenance") public String showProvenance(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
public static void main(String[] args)
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.