/** * Set the name of the renderer to use for offscreen chart rendering * operations * * @param rendererName the name of the renderer to use */ @ProgrammaticProperty public void setOffscreenRendererName(String rendererName) { m_offscreenRendererName = rendererName; m_offscreenRenderer = null; }
/** * Set the additional options for the offscreen renderer * * @param additional additional options */ @ProgrammaticProperty public void setOffscreenAdditionalOpts(String additional) { m_additionalOptions = additional; }
/** * Get the naive Bayes estimator in use * * @return the naive Bayes estimator */ @ProgrammaticProperty public NaiveBayes getEstimator() { return m_estimator; }
/** * Set the data to be output by this {@code DataGrid} in textual ARFF format. * * @param data the data to be output in textual ARFF format */ @ProgrammaticProperty public void setData(String data) { m_data = data; }
/** * Set the sort rules to use * * @param sortDetails the sort rules in internal string representation */ @ProgrammaticProperty public void setSortDetails(String sortDetails) { m_sortDetails = sortDetails; }
/** * Set whether to evaluate with respoect to costs * * @param useCosts true to use cost-sensitive evaluation */ @ProgrammaticProperty public void setEvaluateWithRespectToCosts(boolean useCosts) { m_costSensitiveEval = useCosts; }
/** * Set the additional options for the offscreen renderer * * @param additional additional options */ @ProgrammaticProperty public void setOffscreenAdditionalOpts(String additional) { m_additionalOptions = additional; }
/** * Set the name of this step * * @param name the name for this step */ @ProgrammaticProperty @Override public void setName(String name) { m_stepName = name; }
/** * Get the remove filter in use * * @return */ @ProgrammaticProperty public Remove getRemoveFilter() { return m_remove; }
/** * Set the cost matrix to use as a string * * @param cms the cost matrix to use */ @ProgrammaticProperty public void setCostMatrixString(String cms) { m_costString = cms; }
/** * Set internally encoded list of match-replace rules * * @param details the list of match-replace rules */ @ProgrammaticProperty public void setMatchReplaceDetails(String details) { m_matchReplaceDetails = details; }
/** * Set the additional options for the offscreen renderer * * @param additional additional options */ @ProgrammaticProperty public void setOffscreenAdditionalOpts(String additional) { m_additionalOptions = additional; }
/** * These methods remain for backwards compatibility. The first one does nothing, the second one * always returns true. Checking capabilities is the responsibility of the class using the kernel. */ @ProgrammaticProperty public void setChecksTurnedOff(boolean value) { } public boolean getChecksTurnedOff() {
/** * Get the evaluation metrics to output (as a comma-separated list). * * @return the evaluation metrics to output */ @ProgrammaticProperty public String getEvaluationMetricsToOutput() { return m_selectedEvalMetrics; }
/** * Set whether to compute/store impurity decreases for variable importance * in RandomForest * * @param computeImpurityDecreases true to compute and store impurity decrease * values for splitting attributes */ @ProgrammaticProperty public void setComputeImpurityDecreases(boolean computeImpurityDecreases) { m_computeImpurityDecreases = computeImpurityDecreases; }
/** * Set the name of the renderer to use for offscreen chart rendering * operations * * @param rendererName the name of the renderer to use */ @ProgrammaticProperty public void setOffscreenRendererName(String rendererName) { m_offscreenRendererName = rendererName; m_offscreenRenderer = null; }
/** * Set internally encoded list of match rules * * @param details the list of match rules */ @ProgrammaticProperty public void setMatchDetails(String details) { m_matchDetails = details; }
@Override @ProgrammaticProperty public double getInitialValue() { return initialValue; }
/** * Set the average document length to use when normalizing * * @param averageDocLength the average document length to use */ @ProgrammaticProperty public void setAverageDocLength(double averageDocLength) { m_avgDocLength = averageDocLength; }
/** * These methods remain for backwards compatibility. The first one does nothing, the second one * always returns true. Checking capabilities is the responsibility of the class using the kernel. */ @ProgrammaticProperty public void setDoNotCheckCapabilities(boolean doNotCheckCapabilities) { } public boolean getDoNotCheckCapabilities() { return true; }