Uses of Annotation Interface
weka.core.OptionMetadata
Packages that use OptionMetadata
Package
Description
-
Uses of OptionMetadata in weka.classifiers.functions.supportVector
Methods in weka.classifiers.functions.supportVector with annotations of type OptionMetadata -
Uses of OptionMetadata in weka.core.converters
Methods in weka.core.converters with annotations of type OptionMetadataModifier and TypeMethodDescriptionbooleanDatabaseSaver.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 databasebooleanDatabaseSaver.getRelationForTableName()Gets whether or not the relation name is used as name of the table.booleanDatabaseLoader.getSparseData()Gets whether data is to be returned as a set of sparse instancesDatabaseSaver.getTableName()Gets the table's name.booleanDatabaseSaver.getTruncate()Get whether to truncate (i.e.DatabaseLoader.getUrl()Gets the URLDatabaseSaver.getUrl()Gets the database URL.DatabaseLoader.getUser()Gets the user namevoidDictionarySaver.setAttributeIndices(String rangeList) Sets which attributes are to be worked on.voidDictionarySaver.setDoNotOperateOnPerClassBasis(boolean newDoNotOperateOnPerClassBasis) Set the DoNotOperateOnPerClassBasis value.voidDictionarySaver.setInvertSelection(boolean invert) Sets whether selected columns should be processed or skipped.voidDictionarySaver.setKeepDictionarySorted(boolean sorted) Set whether to keep the dictionary sorted alphabetically or notvoidDictionarySaver.setLowerCaseTokens(boolean downCaseTokens) Sets whether if the tokens are to be downcased or not.voidDictionarySaver.setMinTermFreq(int newMinTermFreq) Set the MinTermFreq value.voidDictionarySaver.setPeriodicPruning(long newPeriodicPruning) Sets the rate at which the dictionary is periodically pruned, as a percentage of the dataset size.voidDictionarySaver.setSaveBinaryDictionary(boolean binary) Set whether to save the dictionary as a binary serialized dictionary, rather than a plain text onevoidDictionarySaver.setStemmer(Stemmer value) the stemming algorithm to use, null means no stemming at all (i.e., the NullStemmer is used).voidDictionarySaver.setStopwordsHandler(StopwordsHandler value) Sets the stopwords handler to use.voidDictionarySaver.setTokenizer(Tokenizer value) the tokenizer algorithm to use.voidSets the database user.voidDictionarySaver.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
Methods in weka.filters with annotations of type OptionMetadataModifier and TypeMethodDescriptionvoidRenameRelation.setModificationText(String text) Set the modification text to applyvoidRenameRelation.setModType(weka.filters.RenameRelation.ModType mod) Set the modification type to applyvoidRenameRelation.setRegexMatch(String match) Set the match string for regex modificationsvoidRenameRelation.setReplaceAll(boolean replaceAll) Set whether to replace all regular expression matches, or just the first. -
Uses of OptionMetadata in weka.filters.supervised.attribute
Methods in weka.filters.supervised.attribute with annotations of type OptionMetadataModifier and TypeMethodDescriptionbooleanClassConditionalProbabilities.getExcludeNominalAttributes()Get whether nominal attributes are to be excluded from the transformationbooleanClassConditionalProbabilities.getExcludeNumericAttributes()Get whether numeric attributes are being excluded from the transformationintClassConditionalProbabilities.getNominalConversionThreshold()Get the minimum number of values a nominal attribute must have in order to be transformed.voidClassConditionalProbabilities.setSpreadAttributeWeight(boolean p) If true, when generating attributes, spread weight of old attribute across new attributes. -
Uses of OptionMetadata in weka.filters.supervised.instance
Methods in weka.filters.supervised.instance with annotations of type OptionMetadataModifier and TypeMethodDescriptionintClassBalancer.getNumIntervals()Gets the number of discretization intervals to use when the class is numeric. -
Uses of OptionMetadata in weka.filters.unsupervised.attribute
Methods in weka.filters.unsupervised.attribute with annotations of type OptionMetadataModifier and TypeMethodDescriptionvoidFixedDictionaryStringToWordVector.setAttributeIndices(String rangeList) Sets which attributes are to be worked on.voidFixedDictionaryStringToWordVector.setAttributeNamePrefix(String newPrefix) Set the attribute name prefix.voidOrdinalToNumeric.setAttributesToOperateOn(String atts) Set the attributes to operate onvoidFixedDictionaryStringToWordVector.setDictionaryFile(File file) Set the dictionary file to read fromvoidFixedDictionaryStringToWordVector.setDictionaryIsBinary(boolean binary) Set whether the dictionary file contains a binary serialized dictionary, rather than a plain text onevoidFixedDictionaryStringToWordVector.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.voidFixedDictionaryStringToWordVector.setInvertSelection(boolean invert) Sets whether selected columns should be processed or skipped.voidFixedDictionaryStringToWordVector.setLowerCaseTokens(boolean downCaseTokens) Sets whether if the tokens are to be downcased or not.voidFixedDictionaryStringToWordVector.setNormalizeDocLength(boolean normalize) Sets whether if the word frequencies for a document (instance) should be normalized or not.voidFixedDictionaryStringToWordVector.setOutputWordCounts(boolean outputWordCounts) Sets whether output instances contain 0 or 1 indicating word presence, or word counts.voidFixedDictionaryStringToWordVector.setStemmer(Stemmer value) the stemming algorithm to use, null means no stemming at all (i.e., the NullStemmer is used).voidFixedDictionaryStringToWordVector.setStopwordsHandler(StopwordsHandler value) Sets the stopwords handler to use.voidFixedDictionaryStringToWordVector.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.voidFixedDictionaryStringToWordVector.setTokenizer(Tokenizer value) the tokenizer algorithm to use. -
Uses of OptionMetadata in weka.knowledgeflow.steps
Methods in weka.knowledgeflow.steps with annotations of type OptionMetadataModifier and TypeMethodDescriptionbooleanPredictionAppender.getAppendProbabilities()Get whether to append probability distributions rather than predicted classesbooleanClassifierPerformanceEvaluator.getErrorPlotPointSizeProportionalToMargin()Get whether the size of plot data points will be proportional to the prediction marginbooleanClassifierPerformanceEvaluator.getOutputPerClassStats()voidTextSaver.setAppend(boolean append) Set whether the file should be appended to rather than overwrittenvoidBoundaryPlotter.setBaseForSampling(String base) Set the base for samplingvoidSorter.setBufferSize(String buffSize) Set the size of the in-memory buffervoidClassValuePicker.setClassValue(String value) Set the class value considered to be the "positive" class value.voidClassifierPerformanceEvaluator.setCollectPredictionsForVisAndAUC(boolean collectPredictionsForVisAndAUC) voidBoundaryPlotter.setComputeMaxRowsInParallel(int max) Set the maximum number of threads to use when computing image rowsvoidSubstringLabeler.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.voidSet the file to save tovoidSet the file to save tovoidSerializedModelSaver.setFilenamePrefix(String filenamePrefix) Set the text to prepend to the filenamevoidJob.setFlowFile(File flowFile) voidImageSaver.setFormat(weka.knowledgeflow.steps.ImageSaver.ImageFormat format) Set the format of the image to savevoidBoundaryPlotter.setImageHeight(int height) Set the image height (in pixels)voidBoundaryPlotter.setImageWidth(int width) Set the image width (in pixels)voidSerializedModelSaver.setIncludeRelationNameInFilename(boolean includeRelationName) Set whether to include the relation name as part of the filenamevoidWriteWekaLog.setIncrementalLoggingFrequency(String frequency) Set how frequently to write an incremental data point to the logvoidSerializedModelSaver.setIncrementalSaveSchedule(int schedule) Set how frequently to save an incremental modelvoidBoundaryPlotter.setKernelBandwidth(String band) Set the kernel bandwidthvoidClassifier.setLoadClassifierFileName(File filename) Set the name of the classifier to load at execution time.voidClusterer.setLoadClustererFileName(File filename) Set the name of the clusterer to load at execution time.voidWriteWekaLog.setLoggingLevel(LoggingLevel level) Set the logging level to usevoidMakeResourceIntensive.setMakeResourceIntensive(boolean resourceIntensive) Set whether downstream steps are to be made resource intensive or notvoidSubstringLabeler.setMatchAttributeName(String name) Set the name of the new attribute that is created to indicate the matchvoidAlterRelationName.setModificationText(String text) Set the modification text to applyvoidAlterRelationName.setModType(weka.knowledgeflow.steps.AlterRelationName.ModType mod) Set the modification type to applyvoidSubstringLabeler.setNominalBinary(boolean nom) Set whether the new attribute created should be a nominal binary attribute rather than a numeric binary attribute.voidCrossValidationFoldMaker.setNumFolds(String folds) Set the number of folds to createvoidBoundaryPlotter.setNumLocationsPerPixel(String num) Set the number of locations/samples per pixelvoidAttributeSummarizer.setOffscreenHeight(String height) Set the height (in pixels) of the offscreen image to generatevoidDataVisualizer.setOffscreenHeight(String height) Set the height (in pixels) of the offscreen image to generatevoidModelPerformanceChart.setOffscreenHeight(String height) Set the height (in pixels) of the offscreen image to generatevoidAttributeSummarizer.setOffscreenWidth(String width) Set the width (in pixels) of the offscreen image to generate.voidDataVisualizer.setOffscreenWidth(String width) Set the width (in pixels) of the offscreen image to generate.voidModelPerformanceChart.setOffscreenWidth(String width) Set the width (in pixels) of the offscreen image to generate.voidAttributeSummarizer.setOffscreenXAxis(String xAxis) Set the name of the attribute for the x-axis in offscreen plots.voidDataVisualizer.setOffscreenXAxis(String xAxis) Set the name of the attribute for the x-axis in offscreen plots.voidModelPerformanceChart.setOffscreenXAxis(String xAxis) Set the name of the attribute for the x-axis in offscreen plots.voidDataVisualizer.setOffscreenYAxis(String yAxis) Set the name of the attribute for the y-axis in offscreen plots.voidModelPerformanceChart.setOffscreenYAxis(String yAxis) Set the name of the attribute for the y-axis in offscreen plots.voidClassifierPerformanceEvaluator.setOutputConfusionMatrix(boolean outputConfusionMatrix) voidSerializedModelSaver.setOutputDirectory(File directory) Set the directory to save tovoidClassifierPerformanceEvaluator.setOutputEntropyMetrics(boolean outputEntropyMetrics) voidBoundaryPlotter.setPlotTrainingData(boolean plot) Set whether to superimpose the training data points on the plot or notvoidCrossValidationFoldMaker.setPreserveOrder(boolean preserve) Set whether to preserve the order of the input instances when creatinbg the foldsvoidTrainTestSplitMaker.setPreserveOrder(boolean preserve) Set whether to preserve the order of the instances or notvoidAlterRelationName.setRegexMatch(String match) Set the match string for regex modificationsvoidAlterRelationName.setReplaceAll(boolean replaceAll) Set whether to replace all regular expression matches, or just the first.voidClassifier.setResetIncrementalClassifier(boolean reset) Set whether to reset an incremental classifier at the start of an incoming instance streamvoidSet the random seed to usevoidSet the random seed to usevoidBlock.setStepToWaitFor(String stepToWaitFor) Set the step to wait forvoidSorter.setTempDirectory(File tempDir) Set the directory to use for temporary files during incremental operationvoidTrainTestSplitMaker.setTrainPercent(String percent) Set the training percentagevoidASEvaluator.setTreatXValFoldsSeparately(boolean treatSeparately) Set whether to output separate results for each fold of a cross-validation, rather than averaging over folds.voidClassifier.setUpdateIncrementalClassifier(boolean update) Set whether to update an incremental classifier on an incoming instance streamvoidTextSaver.setWriteTitleString(boolean w) Set whether the title string will be written to the filevoidBoundaryPlotter.setXAttName(String xAttName) Set the name/index of the X axis attributevoidBoundaryPlotter.setYAttName(String attName) Set the name/index of the Y axis attribute