Uses of Class
weka.core.WekaException
Package
Description
-
Uses of WekaException in weka.classifiers.trees
Modifier and TypeMethodDescriptiondouble[]
RandomForest.computeAverageImpurityDecreasePerAttribute
(double[] nodeCounts) Computes the average impurity decrease per attribute over the trees -
Uses of WekaException in weka.core
Modifier and TypeClassDescriptionclass
Exception that is raised by an object that is unable to process data with missing values.class
Exception that is raised by an object that is unable to process some of the attribute types it has been passed.class
Exception that is raised by an object that is unable to process the class type of the data it has been passed.Modifier and TypeMethodDescriptionDictionaryBuilder.getDictionaries
(boolean minFrequencyPrune) Get the current dictionary(s) (one per class for nominal class, if set). -
Uses of WekaException in weka.gui.knowledgeflow
Modifier and TypeMethodDescriptionvoid
MainKFPerspective.copyFlowToClipboard
(Flow flow) void
MainKFPerspective.copyStepsToClipboard
(List<StepVisual> steps) Copy the supplied steps to the clipboardvoid
VisibleLayout.executeFlow
(boolean sequential) Execute the flow managed by this layoutTemplateManager.getBuiltinTemplateFlow
(String flowDescription) Get the built-in template flow corresponding to the descriptionTemplateManager.getPluginTemplateFlow
(String flowDescription) Get the plugin template flow corresponding to the descriptionStepVisual.getStepInteractiveViewComponent
(String viewActionName) Gets an instance of the named step interactive viewer componentTemplateManager.getTemplateFlow
(String flowDescription) Get the flow for the supplied descriptionvoid
StepInteractiveViewer.init()
Initialize this viewer.abstract <T> T
AbstractGraphicalCommand.performCommand
(Object... commandArgs) Perform the commandGetPerspectiveNamesGraphicalCommand.performCommand
(Object... commandArgs) Execute the command<T> T
GraphicalEnvironmentCommandHandler.performCommand
(String commandName, Object... commandArgs) Attempt to perform a graphical command (if supported) in the current graphical environment<T> T
KFGraphicalEnvironmentCommandHandler.performCommand
(String commandName, Object... commandArgs) Perform a commandSendToPerspectiveGraphicalCommand.performCommand
(Object... commandArgs) Execute the commandstatic String
VisibleLayout.serializeStepsToJSON
(List<StepVisual> steps, String name) Utility method to serialize a list of steps (encapsulated in StepVisuals) to a JSON flow. -
Uses of WekaException in weka.gui.knowledgeflow.steps
Modifier and TypeMethodDescriptionvoid
AttributeSummarizerInteractiveView.init()
Initialize the viewer - layout widgets etc.void
BoundaryPlotterInteractiveView.init()
Initialize/layout the viewervoid
CostBenefitAnalysisInteractiveView.init()
Initialize and layout the viewervoid
DataVisualizerInteractiveView.init()
Initialize and layout the viewervoid
GraphViewerInteractiveView.init()
Initializes the viewervoid
ImageViewerInteractiveView.init()
Initialize the viewer and the layoutvoid
ModelPerformanceChartInteractiveView.init()
Initialize and layout the viewervoid
ScatterPlotMatrixInteractiveView.init()
Initialize the viewer -
Uses of WekaException in weka.knowledgeflow
Modifier and TypeMethodDescriptionFlow.copyFlow()
Make a copy of this Flowboolean
StepOutputListener.dataFromStep
(Data data) Process data produced by a knowledge flow stepFind a step in the flowstatic String
JSONFlowUtils.flowToJSON
(Flow flow) Utility routine to serialize a supplied flow to a JSON stringstatic FlowLoader
Flow.getFlowLoader
(String flowFileExtension, Logger log) Utility method to get a FlowLoader implementation suitable for loading a flow with the supplied file extension.StepManager.getIncomingStructureForConnectionType
(String connectionName) Attempt to retrieve the structure (as a header-only set of instances) for the named incoming connection type.StepManager.getIncomingStructureForConnectionType
(String connectionName, Environment env) Attempt to retrieve the structure (as a header-only set of instances) for the named incoming connection type.StepManagerImpl.getIncomingStructureForConnectionType
(String connectionName) Attempt to get the incoming structure (as a header-only set of instances) for the named incoming connection type.StepManagerImpl.getIncomingStructureForConnectionType
(String connectionName, Environment env) Attempt to retrieve the structure (as a header-only set of instances) for the named incoming connection type.StepManager.getIncomingStructureFromStep
(StepManager sourceStep, String connectionName) Attempt to get the incoming structure (as a header-only set of instances) from the given managed step for the given connection type.StepManagerImpl.getIncomingStructureFromStep
(StepManager sourceStep, String connectionName) Attempt to get the incoming structure (as a header-only set of instances) from the given managed step for the given connection type.StepManager.getInfoStep()
Returns a reference to the step being managed if it has one or more outgoing CON_INFO connections.StepManager.getInfoStep
(Class stepClass) Returns a reference to the step being managed if it has one or more outgoing CON_INFO connections and the managed step is of the supplied classStepManagerImpl.getInfoStep()
Returns a reference to the step being managed if it has one or more outgoing CON_INFO connections.StepManagerImpl.getInfoStep
(Class stepClass) Returns a reference to the step being managed if it has one or more outgoing CON_INFO connections and the managed step is of the supplied classboolean
Flow.initFlow
(FlowExecutor executor) Initialize the flow by setting the execution environment and calling the init() method of each stepvoid
StepInjectorFlowRunner.injectStreaming
(Data toInject, Step target, boolean lastData) Inject streaming data into the target step in the flowvoid
StepInjectorFlowRunner.injectWithExecutionFinishedCallback
(Data toInject, ExecutionFinishedCallback callback, Step target) Inject data into the flowstatic Flow
Flow.JSONToFlow
(String flowJSON) Parse a Flow from the supplied JSON stringstatic Flow
Flow.JSONToFlow
(String flowJSON, boolean dontComplainAboutMissingConnections) Parse a Flow from the supplied JSON stringstatic Flow
JSONFlowUtils.JSONToFlow
(String flowJSON, boolean dontComplainAboutMissingConnections) Utility routine to deserialize a flow from the supplied JSON stringstatic Flow
Utility method to load a flow from a filestatic Flow
Flow.loadFlow
(InputStream is, FlowLoader loader) Utility method to load a flow from the supplied input stream using the supplied FlowLoaderstatic Flow
Flow.loadFlow
(Reader r, FlowLoader loader) Utility method to load a flow from the supplied reader using the supplied FlowLoadervoid
StepManager.outputData
(String outgoingConnectionName, String stepName, Data data) Output a single Data object to the named step with the supplied outgoing connection typevoid
StepManager.outputData
(String outgoingConnectionName, Data data) Output data to all steps connected with the supplied outgoing connection type.void
StepManager.outputData
(Data... data) Output one or more Data objects to all relevant steps.void
StepManagerImpl.outputData
(String outgoingConnectionName, String stepName, Data data) Outputs the supplied Data object to the named Step.void
StepManagerImpl.outputData
(String outgoingConnectionName, Data data) Output a Data object to all downstream connected Steps that are connected with the supplied connection name.void
StepManagerImpl.outputData
(Data... data) Output one or more Data objects to all relevant steps.Load a flow from the supplied fileFlowLoader.readFlow
(InputStream is) Load a flow from the supplied input streamLoad a flow from the supplied readerRead the flow from the supplied fileJSONFlowLoader.readFlow
(InputStream is) Read the flow from the supplied input streamRead the flow from the supplied readerstatic Flow
Read a flow from the supplied filestatic Flow
Read a flow from the supplied filestatic Flow
JSONFlowUtils.readFlow
(InputStream is) Read a Flow from the supplied input streamstatic Flow
JSONFlowUtils.readFlow
(InputStream is, boolean dontComplainAboutMissingConnections) Read a Flow from the supplied input streamstatic Flow
Read a flow from the supplied readerstatic Flow
Read a flow from the supplied readerDeserialize a legacy flow from the supplied fileLegacyFlowLoader.readFlow
(InputStream is) Deserialize a legacy flow from the supplied input streamDeserialize a legacy flow from the supplied readervoid
Flow.removeStep
(StepManagerImpl manager) Remove the supplied Step from this flowvoid
Flow.renameStep
(String oldName, String newName) Rename a Step.void
Flow.renameStep
(StepManagerImpl step, String newName) Rename the supplied step with the supplied namevoid
FlowRunner.run()
Execute the flowvoid
FlowExecutor.runParallel()
Run the flow by launching all start points in parallelvoid
FlowRunner.runParallel()
Run the flow by launching start points in parallelvoid
FlowExecutor.runSequentially()
Run the flow sequentially (i.e.void
FlowRunner.runSequentially()
Run the flow by launching start points sequentially.void
Save this Flow to the supplied File<T> Future<ExecutionResult<T>>
BaseExecutionEnvironment.submitTask
(StepTask<T> stepTask) Submit a task to be run by the execution environment.<T> Future<ExecutionResult<T>>
ExecutionEnvironment.submitTask
(StepTask<T> callable) Submit a task to be run by the execution environment.void
StepManager.throughputFinished
(Data... data) Signal that throughput measurement has finished.void
StepManagerImpl.throughputFinished
(Data... data) Clients can use this to indicate that throughput measuring is finished (i.e.Flow.toJSON()
Return the JSON encoded version of this Flowstatic void
Serializes the supplied flow to JSON and writes it out to the supplied filestatic void
JSONFlowUtils.writeFlow
(Flow flow, OutputStream os) Serializes the supplied flow to JSON and writes out using the supplied output streamstatic void
Serializes the supplied flow to JSON and writes out using the supplied writer -
Uses of WekaException in weka.knowledgeflow.steps
Modifier and TypeMethodDescriptionJoin.getFirstInputStructure()
Get the Instances structure being produced by the first inputJoin.getSecondInputStructure()
Get the Instances structure being produced by the second inputAppender.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.Associator.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.BaseStep.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.BaseStep.outputStructureForConnectionType
(String connectionName, Environment env) If possible, get the output structure for the named connection type as a header-only set of instances.ClassAssigner.outputStructureForConnectionType
(String connectionName) Return the structure of data output by this step for a given incoming connection typeClassValuePicker.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.CrossValidationFoldMaker.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.DataGenerator.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.DataGrid.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.ExecuteProcess.outputStructureForConnectionType
(String connectionName) Get, if possible, the outgoing instance structure for the supplied incoming connection typeFilter.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.FlowByExpression.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.InstanceStreamToBatchMaker.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.Loader.outputStructureForConnectionType
(String connectionName, Environment env) If possible, get the output structure for the named connection type as a header-only set of instances.SetVariables.outputStructureForConnectionType
(String connectionName) Step.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.Step.outputStructureForConnectionType
(String connectionName, Environment env) If possible, get the output structure for the named connection type as a header-only set of instances.SubstringLabeler.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.SubstringReplacer.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.TestSetMaker.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.TrainingSetMaker.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.TrainTestSplitMaker.outputStructureForConnectionType
(String connectionName) If possible, get the output structure for the named connection type as a header-only set of instances.void
Initiate routing and processing for a particular data objectvoid
AlterRelationName.processIncoming
(Data data) Process incoming datavoid
Appender.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
ASEvaluator.processIncoming
(Data data) Process an incoming Data objectvoid
Associator.processIncoming
(Data data) Processes incoming datavoid
BaseSimpleDataVisualizer.processIncoming
(Data data) Process incoming datavoid
BaseStep.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
BaseStepExtender.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections).void
Block.processIncoming
(Data data) Process incoming datavoid
BoundaryPlotter.processIncoming
(Data data) void
ClassAssigner.processIncoming
(Data data) Process incoming datavoid
Classifier.processIncoming
(Data data) void
ClassifierPerformanceEvaluator.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
ClassValuePicker.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
Clusterer.processIncoming
(Data data) Process an incoming data objectvoid
ClustererPerformanceEvaluator.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
CrossValidationFoldMaker.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
DataVisualizer.processIncoming
(Data data) void
ExecuteProcess.processIncoming
(Data data) Process an incoming Data objectvoid
Filter.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
FlowByExpression.processIncoming
(Data data) Main processing routinevoid
GetDataFromResult.processIncoming
(Data data) void
GraphViewer.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
ImageSaver.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
ImageViewer.processIncoming
(Data data) Process incoming image datavoid
IncrementalClassifierEvaluator.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
InstanceStreamToBatchMaker.processIncoming
(Data data) Process incoming datavoid
Job.processIncoming
(Data data) void
Join.processIncoming
(Data data) Process some incoming datavoid
MakeResourceIntensive.processIncoming
(Data data) Process incoming datavoid
ModelPerformanceChart.processIncoming
(Data data) Process incoming datavoid
PredictionAppender.processIncoming
(Data data) Process incoming datavoid
Saver.processIncoming
(Data data) Processes incoming datavoid
SendToPerspective.processIncoming
(Data data) void
SerializedModelSaver.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
SetVariables.processIncoming
(Data data) void
Sorter.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
Step.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
StorePropertiesInEnvironment.processIncoming
(Data data) void
StripChart.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
SubstringLabeler.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
SubstringReplacer.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
TestSetMaker.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
TextSaver.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
TextViewer.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
TrainingSetMaker.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
TrainTestSplitMaker.processIncoming
(Data data) Process an incoming data payload (if the step accepts incoming connections)void
WriteDataToResult.processIncoming
(Data data) void
WriteWekaLog.processIncoming
(Data data) Process an incoming piece of dataClassifier.processPrimary
(Integer setNum, Integer maxSetNum, Data data, PairedDataHelper<Classifier> helper) Process a training split (primary data handled by the PairedDataHelper)Clusterer.processPrimary
(Integer setNum, Integer maxSetNum, Data data, PairedDataHelper<Clusterer> helper) Process a training split (primary data handled by the PairedDataHelper)PairedDataHelper.PairedProcessor.processPrimary
(Integer setNum, Integer maxSetNum, Data data, PairedDataHelper<P> helper) void
Classifier.processSecondary
(Integer setNum, Integer maxSetNum, Data data, PairedDataHelper<Classifier> helper) Process a test split/fold (secondary data handled by PairedDataHelper)void
Clusterer.processSecondary
(Integer setNum, Integer maxSetNum, Data data, PairedDataHelper<Clusterer> helper) Process a test split/fold (secondary data handled by PairedDataHelper)void
PairedDataHelper.PairedProcessor.processSecondary
(Integer setNum, Integer maxSetNum, Data data, PairedDataHelper<P> helper) void
BaseSimpleDataVisualizer.restoreData
(Object data) void
BoundaryPlotter.restoreData
(Object data) Set a map of images.void
DataCollector.restoreData
(Object data) Set the data for this collectorvoid
DataVisualizer.restoreData
(Object data) void
ImageViewer.restoreData
(Object data) Restore data for this step.void
ModelPerformanceChart.restoreData
(Object data) Restore the data (plots) for this stepvoid
BaseStep.start()
Start processing.void
BaseStepExtender.start()
Start executing (if this component is a start point).void
DataGenerator.start()
Start the data generation process.void
DataGrid.start()
Start processingvoid
ExecuteProcess.start()
Start processing if operating as a start point in a flowvoid
GetDataFromResult.start()
void
Job.start()
void
Loader.start()
Start executingvoid
MemoryBasedDataSource.start()
Start processingvoid
Step.start()
Start executing (if this component is a start point)void
AlterRelationName.stepInit()
Initialize the stepvoid
Appender.stepInit()
Initialize the stepvoid
ASEvaluator.stepInit()
Initialize at the start of a runvoid
Associator.stepInit()
Initializes the stepvoid
BaseSimpleDataVisualizer.stepInit()
void
BaseStepExtender.stepInit()
Initialize the step.void
Block.stepInit()
Initialize the stepvoid
BoundaryPlotter.stepInit()
Initialize the step.void
ClassAssigner.stepInit()
Initialize the step prior to executionvoid
Classifier.stepInit()
void
ClassifierPerformanceEvaluator.stepInit()
void
ClassValuePicker.stepInit()
Initialize the step.void
Clusterer.stepInit()
Initialize the stepvoid
CrossValidationFoldMaker.stepInit()
Initialize the step.void
DataGrid.stepInit()
Initialize the step;void
DataVisualizer.stepInit()
void
Dummy.stepInit()
Initialize the step.void
ExecuteProcess.stepInit()
Initialize the stepvoid
Filter.stepInit()
Initialize the step.void
FlowByExpression.stepInit()
Initialize the step.void
GetDataFromResult.stepInit()
void
ImageSaver.stepInit()
Initialize the step.void
IncrementalClassifierEvaluator.stepInit()
Initialize the step.void
InstanceStreamToBatchMaker.stepInit()
Initialize the step.void
Job.stepInit()
void
Join.stepInit()
Initialize the stepvoid
Loader.stepInit()
Initialize the step.void
MakeResourceIntensive.stepInit()
Initialize the stepvoid
MemoryBasedDataSource.stepInit()
Initialize the stepvoid
ModelPerformanceChart.stepInit()
Initialize the stepvoid
PredictionAppender.stepInit()
Initialize the stepvoid
Saver.stepInit()
Initialize the stepvoid
SendToPerspective.stepInit()
void
SetPropertiesFromEnvironment.stepInit()
Initialize the step.void
SetVariables.stepInit()
Initialize the step.void
Sorter.stepInit()
Initialize the step.void
Step.stepInit()
Initialize the step.void
StorePropertiesInEnvironment.stepInit()
void
StripChart.stepInit()
void
SubstringLabeler.stepInit()
Initialize the stepvoid
SubstringReplacer.stepInit()
Initialize the stepvoid
TextSaver.stepInit()
Initialize the stepvoid
TrainTestSplitMaker.stepInit()
Initialize the stepvoid
WriteDataToResult.stepInit()
void
WriteWekaLog.stepInit()
Initialize the step