Tabnine Logo
DensityBasedClustererSplitEvaluator
Code IndexAdd Tabnine to your IDE (free)

How to use
DensityBasedClustererSplitEvaluator
in
weka.experiment

Best Java code snippets using weka.experiment.DensityBasedClustererSplitEvaluator (Showing top 12 results out of 315)

origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Sets the clusterer.
 *
 * @param newClusterer the new clusterer to use.
 */
public void setClusterer(DensityBasedClusterer newClusterer) {
 m_clusterer = newClusterer;
 updateOptions();
}
origin: nz.ac.waikato.cms.weka/weka-stable

setClusterer((DensityBasedClusterer) AbstractClusterer.forName(cName, null));
if (getClusterer() instanceof OptionHandler) {
 ((OptionHandler) getClusterer()).setOptions(Utils
  .partitionOptions(options));
 updateOptions();
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets the current settings of the Classifier.
 *
 * @return an array of strings suitable for passing to setOptions
 */
@Override
public String[] getOptions() {
 Vector<String> result;
 String[] clustererOptions;
 result = new Vector<String>();
 clustererOptions = new String[0];
 if ((m_clusterer != null) && (m_clusterer instanceof OptionHandler)) {
  clustererOptions = ((OptionHandler) m_clusterer).getOptions();
 }
 if (getClusterer() != null) {
  result.add("-W");
  result.add(getClusterer().getClass().getName());
 }
 if (getNoSizeDetermination()) {
  result.add("-no-size");
 }
 result.add("--");
 result.addAll(Arrays.asList(clustererOptions));
 return result.toArray(new String[result.size()]);
}
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Set the Clusterer to use, given it's class name. A new clusterer will be
 * instantiated.
 *
 * @param newClustererName the clusterer class name.
 * @exception Exception if the class name is invalid.
 */
public void setClustererName(String newClustererName) throws Exception {
 try {
  setClusterer((DensityBasedClusterer) Class.forName(newClustererName)
   .newInstance());
 } catch (Exception ex) {
  throw new Exception("Can't find Clusterer with class name: "
   + newClustererName);
 }
}
origin: nz.ac.waikato.cms.weka/weka-stable

 return "<null> clusterer";
result.append(toString());
result.append("Clustering model: \n" + m_clusterer.toString() + '\n');
origin: Waikato/weka-trunk

setClusterer((DensityBasedClusterer) AbstractClusterer.forName(cName, null));
if (getClusterer() instanceof OptionHandler) {
 ((OptionHandler) getClusterer()).setOptions(Utils
  .partitionOptions(options));
 updateOptions();
origin: Waikato/weka-trunk

/**
 * Gets the current settings of the Classifier.
 *
 * @return an array of strings suitable for passing to setOptions
 */
@Override
public String[] getOptions() {
 Vector<String> result;
 String[] clustererOptions;
 result = new Vector<String>();
 clustererOptions = new String[0];
 if ((m_clusterer != null) && (m_clusterer instanceof OptionHandler)) {
  clustererOptions = ((OptionHandler) m_clusterer).getOptions();
 }
 if (getClusterer() != null) {
  result.add("-W");
  result.add(getClusterer().getClass().getName());
 }
 if (getNoSizeDetermination()) {
  result.add("-no-size");
 }
 result.add("--");
 result.addAll(Arrays.asList(clustererOptions));
 return result.toArray(new String[result.size()]);
}
origin: Waikato/weka-trunk

/**
 * Set the Clusterer to use, given it's class name. A new clusterer will be
 * instantiated.
 *
 * @param newClustererName the clusterer class name.
 * @exception Exception if the class name is invalid.
 */
public void setClustererName(String newClustererName) throws Exception {
 try {
  setClusterer((DensityBasedClusterer) Class.forName(newClustererName)
   .newInstance());
 } catch (Exception ex) {
  throw new Exception("Can't find Clusterer with class name: "
   + newClustererName);
 }
}
origin: Waikato/weka-trunk

 return "<null> clusterer";
result.append(toString());
result.append("Clustering model: \n" + m_clusterer.toString() + '\n');
origin: Waikato/weka-trunk

/**
 * Sets the clusterer.
 *
 * @param newClusterer the new clusterer to use.
 */
public void setClusterer(DensityBasedClusterer newClusterer) {
 m_clusterer = newClusterer;
 updateOptions();
}
origin: nz.ac.waikato.cms.weka/weka-stable

public DensityBasedClustererSplitEvaluator() {
 updateOptions();
}
origin: Waikato/weka-trunk

public DensityBasedClustererSplitEvaluator() {
 updateOptions();
}
weka.experimentDensityBasedClustererSplitEvaluator

Javadoc

A SplitEvaluator that produces results for a density based clusterer.

Valid options are:

 
-no-size 
Skips the determination of sizes (train/test/clusterer) 
(default: sizes are determined) 
 
-W <class name> 
The full class name of the density based clusterer. 
eg: weka.clusterers.EM 
 
Options specific to clusterer weka.clusterers.EM: 
 
-N <num> 
number of clusters. If omitted or -1 specified, then 
cross validation is used to select the number of clusters. 
 
-I <num> 
max iterations. 
(default 100) 
 
-V 
verbose. 
 
-M <num> 
minimum allowable standard deviation for normal density 
computation 
(default 1e-6) 
 
-O 
Display model in old format (good when there are many clusters) 
 
-S <num> 
Random number seed. 
(default 100) 
All options after -- will be passed to the clusterer.

Most used methods

  • getClusterer
    Get the value of clusterer
  • getNoSizeDetermination
    Returns whether the size determination (train/test/clusterer) is skipped.
  • setClusterer
    Sets the clusterer.
  • toString
    Returns a text description of the split evaluator.
  • updateOptions

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • JList (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now