Codota Logo
EM.buildClusterer
Code IndexAdd Codota to your IDE (free)

How to use
buildClusterer
method
in
weka.clusterers.EM

Best Java code snippets using weka.clusterers.EM.buildClusterer (Showing top 3 results out of 315)

  • Common ways to obtain EM
private void myMethod () {
EM e =
  • Codota Iconnew EM()
  • Smart code suggestions by Codota
}
origin: stackoverflow.com

EM clusterer = new EM();
 clusterer.buildClusterer(dataClusterer);
origin: stackoverflow.com

// generate data for clusterer (w/o class)
 Remove filter = new Remove();
 filter.setAttributeIndices("" + (data.classIndex() + 1));
 try {
   filter.setInputFormat(data);
 } catch (Exception e) {
   e.printStackTrace();
 }
 Instances dataClusterer = Filter.useFilter(data, filter);
 // train clusterer
 EM clusterer = new EM();
 // set further options for EM, if necessary...
 // clusterer.setNumClusters(maxNumofClusters); //-1 for n number of clusters
 clusterer.buildClusterer(dataClusterer);
origin: net.sf.meka.thirdparty/mulan

clusterer.buildClusterer(transposed);
weka.clusterersEMbuildClusterer

Javadoc

Generates a clusterer. Has to initialize all fields of the clusterer that are not being set via options.

Popular methods of EM

  • <init>
    Constructor.
  • setNumClusters
    Set the number of clusters (-1 to select by CV).
  • CVClusters
    estimate the number of clusters by cross validation on the training data.
  • E
    The E step of the EM algorithm. Estimate cluster membership probabilities.
  • EM_Init
    Initialize the global aggregated estimators and storage.
  • EM_Report
    verbose output for debugging
  • M
    The M step of the EM algorithm.
  • M_reEstimate
  • distributionForInstance
  • doEM
    Perform the EM algorithm
  • estimate_priors
    calculate prior probabilites for the clusters
  • getCapabilities
    Returns default capabilities of the clusterer (i.e., the ones of SimpleKMeans).
  • estimate_priors,
  • getCapabilities,
  • getMaximumNumberOfClusters,
  • getMinLogLikelihoodImprovementCV,
  • getMinLogLikelihoodImprovementIterating,
  • getMinStdDev,
  • getNumClusters,
  • getNumExecutionSlots,
  • getNumFolds

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Collectors (java.util.stream)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now