类 SerializedInstancesSaver
java.lang.Object
weka.core.converters.AbstractSaver
weka.core.converters.AbstractFileSaver
weka.core.converters.SerializedInstancesSaver
- 所有已实现的接口:
Serializable
,CapabilitiesHandler
,BatchConverter
,FileSourcedConverter
,Saver
,EnvironmentHandler
,OptionHandler
,RevisionHandler
Serializes the instances to a file with extension bsi.
Valid options are:
-i <the input file> The input file
-o <the output file> The output file
-
字段概要
从接口继承的字段 weka.core.converters.Saver
BATCH, INCREMENTAL, NONE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the Capabilities of this saver.Returns a description of the file type.Returns the revision string.Returns a string describing this Saver.static void
Main method.void
Resets the Saver.void
Resets the writer, setting writer and objectstream to null.void
setDestination
(OutputStream output) Sets the destination output stream.void
Writes a Batch of instances.从类继承的方法 weka.core.converters.AbstractFileSaver
cancel, filePrefix, getFileExtension, getFileExtensions, getOptions, getUseRelativePath, getWriter, listOptions, retrieveDir, retrieveFile, runFileSaver, setDestination, setDir, setDirAndPrefix, setEnvironment, setFile, setFilePrefix, setOptions, setUseRelativePath, useRelativePathTipText
从类继承的方法 weka.core.converters.AbstractSaver
getInstances, getWriteMode, resetStructure, setInstances, setRetrieval, setStructure, writeIncremental
-
构造器详细资料
-
SerializedInstancesSaver
public SerializedInstancesSaver()Constructor.
-
-
方法详细资料
-
globalInfo
Returns a string describing this Saver.- 返回:
- a description of the Saver suitable for displaying in the explorer/experimenter gui
-
getFileDescription
Returns a description of the file type.- 指定者:
getFileDescription
在接口中FileSourcedConverter
- 指定者:
getFileDescription
在类中AbstractFileSaver
- 返回:
- a short file description
-
resetOptions
public void resetOptions()Resets the Saver.- 覆盖:
resetOptions
在类中AbstractFileSaver
-
getCapabilities
Returns the Capabilities of this saver.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 覆盖:
getCapabilities
在类中AbstractSaver
- 返回:
- the capabilities of this object
- 另请参阅:
-
resetWriter
public void resetWriter()Resets the writer, setting writer and objectstream to null.- 覆盖:
resetWriter
在类中AbstractFileSaver
-
setDestination
Sets the destination output stream.- 指定者:
setDestination
在接口中Saver
- 覆盖:
setDestination
在类中AbstractFileSaver
- 参数:
output
- the output stream.- 抛出:
IOException
- throws an IOException if destination cannot be set
-
writeBatch
Writes a Batch of instances.- 指定者:
writeBatch
在接口中Saver
- 指定者:
writeBatch
在类中AbstractSaver
- 抛出:
IOException
- throws IOException if saving in batch mode is not possible
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-
main
Main method.- 参数:
args
- should contain the options of a Saver.
-