weka.clusterers.Clusterer Java Examples

The following examples show how to use weka.clusterers.Clusterer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AddCluster.java    From tsml with GNU General Public License v3.0 5 votes vote down vote up
/**
  * Gets the clusterer specification string, which contains the class name of
  * the clusterer and any options to the clusterer.
  *
  * @return the clusterer string.
  */
 protected String getClustererSpec() {
   Clusterer c = getClusterer();
   if (c instanceof OptionHandler) {
     return c.getClass().getName() + " "
+ Utils.joinOptions(((OptionHandler)c).getOptions());
   }
   return c.getClass().getName();
 }
 
Example #2
Source File: ConfidenceIntervalClusteringBasedActiveDyadRanker.java    From AILibs with GNU Affero General Public License v3.0 4 votes vote down vote up
public ConfidenceIntervalClusteringBasedActiveDyadRanker(final PLNetDyadRanker ranker, final IDyadRankingPoolProvider poolProvider, final int seed, final int numberRandomQueriesAtStart, final int minibatchSize,
		final Clusterer clusterer) {
	super(ranker, poolProvider, seed, numberRandomQueriesAtStart, minibatchSize);
	this.clusterer = clusterer;
}
 
Example #3
Source File: ClassifierWrapper.java    From orbit-image-analysis with GNU General Public License v3.0 4 votes vote down vote up
public ClassifierWrapper(Clusterer clusterer) {
    this.clusterer = clusterer;
    this.wrapperType = WRAPPERTYPE_CLUSTERER;
}
 
Example #4
Source File: ClassifierWrapper.java    From orbit-image-analysis with GNU General Public License v3.0 4 votes vote down vote up
public Clusterer getClusterer() {
    return clusterer;
}
 
Example #5
Source File: ClassifierWrapper.java    From orbit-image-analysis with GNU General Public License v3.0 4 votes vote down vote up
public void setClusterer(Clusterer clusterer) {
    this.clusterer = clusterer;
    this.wrapperType = WRAPPERTYPE_CLUSTERER;
}
 
Example #6
Source File: UnsupervisedSubsetEvaluator.java    From tsml with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Get the clusterer
 *
 * @return the clusterer
 */
public abstract Clusterer getClusterer();
 
Example #7
Source File: UnsupervisedSubsetEvaluator.java    From tsml with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Set the clusterer to use
 *
 * @param d the clusterer to use
 */
public abstract void setClusterer(Clusterer d);
 
Example #8
Source File: ClassificationViaClustering.java    From tsml with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Set the base clusterer.
 *
 * @param value 	the clusterer to use.
 */
public void setClusterer(Clusterer value) {
  m_Clusterer = value;
}
 
Example #9
Source File: ClassificationViaClustering.java    From tsml with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Get the clusterer used as the base learner.
 *
 * @return 		the current clusterer
 */
public Clusterer getClusterer() {
  return m_Clusterer;
}
 
Example #10
Source File: AddCluster.java    From tsml with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Sets the clusterer to assign clusters with.
 *
 * @param clusterer The clusterer to be used (with its options set).
 */
public void setClusterer(Clusterer clusterer) {
  m_Clusterer = clusterer;
}
 
Example #11
Source File: AddCluster.java    From tsml with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Gets the clusterer used by the filter.
 *
 * @return The clusterer being used.
 */
public Clusterer getClusterer() {
  return m_Clusterer;
}