Uses of Annotation Interface
weka.core.OptionMetadata
Package
Description
-
Uses of OptionMetadata in weka.classifiers.functions.supportVector
-
Uses of OptionMetadata in weka.core.converters
Modifier and TypeMethodDescriptionboolean
DatabaseSaver.getAutoKeyGeneration()
Gets whether or not a primary key will be generated automatically.DatabaseLoader.getCustomPropsFile()
Returns the custom properties file in use, if any.DatabaseSaver.getCustomPropsFile()
Returns the custom properties file in use, if any.DatabaseLoader.getKeys()
Gets the key columns' nameDatabaseLoader.getPassword()
Returns the database passwordDatabaseSaver.getPassword()
Returns the database password.DatabaseLoader.getQuery()
Gets the query to execute against the databaseboolean
DatabaseSaver.getRelationForTableName()
Gets whether or not the relation name is used as name of the table.boolean
DatabaseLoader.getSparseData()
Gets whether data is to be returned as a set of sparse instancesDatabaseSaver.getTableName()
Gets the table's name.boolean
DatabaseSaver.getTruncate()
Get whether to truncate (i.e.DatabaseLoader.getUrl()
Gets the URLDatabaseSaver.getUrl()
Gets the database URL.DatabaseLoader.getUser()
Gets the user namevoid
DictionarySaver.setAttributeIndices
(String rangeList) Sets which attributes are to be worked on.void
DictionarySaver.setDoNotOperateOnPerClassBasis
(boolean newDoNotOperateOnPerClassBasis) Set the DoNotOperateOnPerClassBasis value.void
DictionarySaver.setInvertSelection
(boolean invert) Sets whether selected columns should be processed or skipped.void
DictionarySaver.setKeepDictionarySorted
(boolean sorted) Set whether to keep the dictionary sorted alphabetically or notvoid
DictionarySaver.setLowerCaseTokens
(boolean downCaseTokens) Sets whether if the tokens are to be downcased or not.void
DictionarySaver.setMinTermFreq
(int newMinTermFreq) Set the MinTermFreq value.void
DictionarySaver.setPeriodicPruning
(long newPeriodicPruning) Sets the rate at which the dictionary is periodically pruned, as a percentage of the dataset size.void
DictionarySaver.setSaveBinaryDictionary
(boolean binary) Set whether to save the dictionary as a binary serialized dictionary, rather than a plain text onevoid
DictionarySaver.setStemmer
(Stemmer value) the stemming algorithm to use, null means no stemming at all (i.e., the NullStemmer is used).void
DictionarySaver.setStopwordsHandler
(StopwordsHandler value) Sets the stopwords handler to use.void
DictionarySaver.setTokenizer
(Tokenizer value) the tokenizer algorithm to use.void
Sets the database user.void
DictionarySaver.setWordsToKeep
(int newWordsToKeep) Sets the number of words (per class if there is a class attribute assigned) to attempt to keep. -
Uses of OptionMetadata in weka.filters
Modifier and TypeMethodDescriptionvoid
RenameRelation.setModificationText
(String text) Set the modification text to applyvoid
RenameRelation.setModType
(weka.filters.RenameRelation.ModType mod) Set the modification type to applyvoid
RenameRelation.setRegexMatch
(String match) Set the match string for regex modificationsvoid
RenameRelation.setReplaceAll
(boolean replaceAll) Set whether to replace all regular expression matches, or just the first. -
Uses of OptionMetadata in weka.filters.supervised.attribute
Modifier and TypeMethodDescriptionboolean
ClassConditionalProbabilities.getExcludeNominalAttributes()
Get whether nominal attributes are to be excluded from the transformationboolean
ClassConditionalProbabilities.getExcludeNumericAttributes()
Get whether numeric attributes are being excluded from the transformationint
ClassConditionalProbabilities.getNominalConversionThreshold()
Get the minimum number of values a nominal attribute must have in order to be transformed.void
ClassConditionalProbabilities.setSpreadAttributeWeight
(boolean p) If true, when generating attributes, spread weight of old attribute across new attributes. -
Uses of OptionMetadata in weka.filters.supervised.instance
Modifier and TypeMethodDescriptionint
ClassBalancer.getNumIntervals()
Gets the number of discretization intervals to use when the class is numeric. -
Uses of OptionMetadata in weka.filters.unsupervised.attribute
Modifier and TypeMethodDescriptionvoid
FixedDictionaryStringToWordVector.setAttributeIndices
(String rangeList) Sets which attributes are to be worked on.void
FixedDictionaryStringToWordVector.setAttributeNamePrefix
(String newPrefix) Set the attribute name prefix.void
OrdinalToNumeric.setAttributesToOperateOn
(String atts) Set the attributes to operate onvoid
FixedDictionaryStringToWordVector.setDictionaryFile
(File file) Set the dictionary file to read fromvoid
FixedDictionaryStringToWordVector.setDictionaryIsBinary
(boolean binary) Set whether the dictionary file contains a binary serialized dictionary, rather than a plain text onevoid
FixedDictionaryStringToWordVector.setIDFTransform
(boolean IDFTransform) Sets whether if the word frequencies in a document should be transformed into:
fij*log(num of Docs/num of Docs with word i)
where fij is the frequency of word i in document(instance) j.void
FixedDictionaryStringToWordVector.setInvertSelection
(boolean invert) Sets whether selected columns should be processed or skipped.void
FixedDictionaryStringToWordVector.setLowerCaseTokens
(boolean downCaseTokens) Sets whether if the tokens are to be downcased or not.void
FixedDictionaryStringToWordVector.setNormalizeDocLength
(boolean normalize) Sets whether if the word frequencies for a document (instance) should be normalized or not.void
FixedDictionaryStringToWordVector.setOutputWordCounts
(boolean outputWordCounts) Sets whether output instances contain 0 or 1 indicating word presence, or word counts.void
FixedDictionaryStringToWordVector.setStemmer
(Stemmer value) the stemming algorithm to use, null means no stemming at all (i.e., the NullStemmer is used).void
FixedDictionaryStringToWordVector.setStopwordsHandler
(StopwordsHandler value) Sets the stopwords handler to use.void
FixedDictionaryStringToWordVector.setTFTransform
(boolean TFTransform) Sets whether if the word frequencies should be transformed into log(1+fij) where fij is the frequency of word i in document(instance) j.void
FixedDictionaryStringToWordVector.setTokenizer
(Tokenizer value) the tokenizer algorithm to use. -
Uses of OptionMetadata in weka.knowledgeflow.steps
Modifier and TypeMethodDescriptionboolean
PredictionAppender.getAppendProbabilities()
Get whether to append probability distributions rather than predicted classesboolean
ClassifierPerformanceEvaluator.getErrorPlotPointSizeProportionalToMargin()
Get whether the size of plot data points will be proportional to the prediction marginboolean
ClassifierPerformanceEvaluator.getOutputPerClassStats()
void
TextSaver.setAppend
(boolean append) Set whether the file should be appended to rather than overwrittenvoid
BoundaryPlotter.setBaseForSampling
(String base) Set the base for samplingvoid
Sorter.setBufferSize
(String buffSize) Set the size of the in-memory buffervoid
ClassValuePicker.setClassValue
(String value) Set the class value considered to be the "positive" class value.void
ClassifierPerformanceEvaluator.setCollectPredictionsForVisAndAUC
(boolean collectPredictionsForVisAndAUC) void
BoundaryPlotter.setComputeMaxRowsInParallel
(int max) Set the maximum number of threads to use when computing image rowsvoid
SubstringLabeler.setConsumeNonMatching
(boolean consume) Set whether instances that do not match any of the rules should be "consumed" rather than output with a missing value set for the new attribute.void
Set the file to save tovoid
Set the file to save tovoid
SerializedModelSaver.setFilenamePrefix
(String filenamePrefix) Set the text to prepend to the filenamevoid
Job.setFlowFile
(File flowFile) void
ImageSaver.setFormat
(weka.knowledgeflow.steps.ImageSaver.ImageFormat format) Set the format of the image to savevoid
BoundaryPlotter.setImageHeight
(int height) Set the image height (in pixels)void
BoundaryPlotter.setImageWidth
(int width) Set the image width (in pixels)void
SerializedModelSaver.setIncludeRelationNameInFilename
(boolean includeRelationName) Set whether to include the relation name as part of the filenamevoid
WriteWekaLog.setIncrementalLoggingFrequency
(String frequency) Set how frequently to write an incremental data point to the logvoid
SerializedModelSaver.setIncrementalSaveSchedule
(int schedule) Set how frequently to save an incremental modelvoid
BoundaryPlotter.setKernelBandwidth
(String band) Set the kernel bandwidthvoid
Classifier.setLoadClassifierFileName
(File filename) Set the name of the classifier to load at execution time.void
Clusterer.setLoadClustererFileName
(File filename) Set the name of the clusterer to load at execution time.void
WriteWekaLog.setLoggingLevel
(LoggingLevel level) Set the logging level to usevoid
MakeResourceIntensive.setMakeResourceIntensive
(boolean resourceIntensive) Set whether downstream steps are to be made resource intensive or notvoid
SubstringLabeler.setMatchAttributeName
(String name) Set the name of the new attribute that is created to indicate the matchvoid
AlterRelationName.setModificationText
(String text) Set the modification text to applyvoid
AlterRelationName.setModType
(weka.knowledgeflow.steps.AlterRelationName.ModType mod) Set the modification type to applyvoid
SubstringLabeler.setNominalBinary
(boolean nom) Set whether the new attribute created should be a nominal binary attribute rather than a numeric binary attribute.void
CrossValidationFoldMaker.setNumFolds
(String folds) Set the number of folds to createvoid
BoundaryPlotter.setNumLocationsPerPixel
(String num) Set the number of locations/samples per pixelvoid
AttributeSummarizer.setOffscreenHeight
(String height) Set the height (in pixels) of the offscreen image to generatevoid
DataVisualizer.setOffscreenHeight
(String height) Set the height (in pixels) of the offscreen image to generatevoid
ModelPerformanceChart.setOffscreenHeight
(String height) Set the height (in pixels) of the offscreen image to generatevoid
AttributeSummarizer.setOffscreenWidth
(String width) Set the width (in pixels) of the offscreen image to generate.void
DataVisualizer.setOffscreenWidth
(String width) Set the width (in pixels) of the offscreen image to generate.void
ModelPerformanceChart.setOffscreenWidth
(String width) Set the width (in pixels) of the offscreen image to generate.void
AttributeSummarizer.setOffscreenXAxis
(String xAxis) Set the name of the attribute for the x-axis in offscreen plots.void
DataVisualizer.setOffscreenXAxis
(String xAxis) Set the name of the attribute for the x-axis in offscreen plots.void
ModelPerformanceChart.setOffscreenXAxis
(String xAxis) Set the name of the attribute for the x-axis in offscreen plots.void
DataVisualizer.setOffscreenYAxis
(String yAxis) Set the name of the attribute for the y-axis in offscreen plots.void
ModelPerformanceChart.setOffscreenYAxis
(String yAxis) Set the name of the attribute for the y-axis in offscreen plots.void
ClassifierPerformanceEvaluator.setOutputConfusionMatrix
(boolean outputConfusionMatrix) void
SerializedModelSaver.setOutputDirectory
(File directory) Set the directory to save tovoid
ClassifierPerformanceEvaluator.setOutputEntropyMetrics
(boolean outputEntropyMetrics) void
BoundaryPlotter.setPlotTrainingData
(boolean plot) Set whether to superimpose the training data points on the plot or notvoid
CrossValidationFoldMaker.setPreserveOrder
(boolean preserve) Set whether to preserve the order of the input instances when creatinbg the foldsvoid
TrainTestSplitMaker.setPreserveOrder
(boolean preserve) Set whether to preserve the order of the instances or notvoid
AlterRelationName.setRegexMatch
(String match) Set the match string for regex modificationsvoid
AlterRelationName.setReplaceAll
(boolean replaceAll) Set whether to replace all regular expression matches, or just the first.void
Classifier.setResetIncrementalClassifier
(boolean reset) Set whether to reset an incremental classifier at the start of an incoming instance streamvoid
Set the random seed to usevoid
Set the random seed to usevoid
Block.setStepToWaitFor
(String stepToWaitFor) Set the step to wait forvoid
Sorter.setTempDirectory
(File tempDir) Set the directory to use for temporary files during incremental operationvoid
TrainTestSplitMaker.setTrainPercent
(String percent) Set the training percentagevoid
ASEvaluator.setTreatXValFoldsSeparately
(boolean treatSeparately) Set whether to output separate results for each fold of a cross-validation, rather than averaging over folds.void
Classifier.setUpdateIncrementalClassifier
(boolean update) Set whether to update an incremental classifier on an incoming instance streamvoid
TextSaver.setWriteTitleString
(boolean w) Set whether the title string will be written to the filevoid
BoundaryPlotter.setXAttName
(String xAttName) Set the name/index of the X axis attributevoid
BoundaryPlotter.setYAttName
(String attName) Set the name/index of the Y axis attribute