Class DatasetExplorer
java.lang.Object
org.tribuo.data.DatasetExplorer
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.command.CommandGroup
public final class DatasetExplorer
extends Object
implements com.oracle.labs.mlrg.olcut.command.CommandGroup
A CLI for exploring a serialised
Dataset.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.oracle.labs.mlrg.olcut.command.CommandInterpreter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfeatureInfo(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, String featureName) org.jline.reader.Completer[]getName()loadDataset(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, File path) static voidminCount(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, int minCount) numExamples(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) numFeatures(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) outputInfo(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) showLabelStats(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) showProvenance(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) voidStart the command shell
-
Field Details
-
shell
-
-
Constructor Details
-
DatasetExplorer
public DatasetExplorer()
-
-
Method Details
-
getName
-
getDescription
- Specified by:
getDescriptionin interfacecom.oracle.labs.mlrg.olcut.command.CommandGroup
-
fileCompleter
-
startShell
Start the command shell -
loadDataset
@Command(usage="<filename> - Load a dataset from disk.", completers="fileCompleter") public String loadDataset(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, File path) -
featureInfo
@Command(usage="Shows the information on a particular feature") public String featureInfo(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci, String featureName) -
outputInfo
@Command(usage="Shows the output information.") public String outputInfo(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) -
numExamples
@Command(usage="Shows the number of rows in the dataset") public String numExamples(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) -
numFeatures
@Command(usage="Shows the number of features in the dataset") public String numFeatures(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) -
minCount
-
showLabelStats
@Command(usage="Shows the output statistics") public String showLabelStats(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) -
saveCSV
-
showProvenance
@Command(usage="Shows the dataset provenance") public String showProvenance(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci) -
main
-