All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cc.mallet.cluster.Clusterings Maven / Gradle / Ivy

Go to download

MALLET is a Java-based package for statistical natural language processing, document classification, clustering, topic modeling, information extraction, and other machine learning applications to text.

The newest version!
package cc.mallet.cluster;

import java.io.Serializable;


public class Clusterings implements Serializable {

	private static final long serialVersionUID = 1L;

	Clustering[] clusterings;
	
	public Clusterings (Clustering[] clusterings) {
		this.clusterings = clusterings;
	}
	
	public Clustering get (int i) { return clusterings[i]; }
		
	public void set (int i, Clustering clustering) { this.clusterings[i] = clustering; }
	
	public int size () { return clusterings.length; }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy