package clusterer
- Alphabetic
- Public
- All
Type Members
-
trait
Clusterer
extends AnyRef
The
Clusterer
trait provides a common framework for several clustering algorithms. -
class
HierClusterer
extends Clusterer with Error
Cluster several vectors/points using hierarchical clustering.
Cluster several vectors/points using hierarchical clustering. Start with each point forming its own cluster and merge clusters until there are only 'k'.
-
class
KMeansClusterer
extends Clusterer with Error
The
KMeansClusterer
class cluster several vectors/points using k-means clustering.The
KMeansClusterer
class cluster several vectors/points using k-means clustering. Either (1) randomly assign points to 'k' clusters or (2) randomly pick 'k' points as initial centroids (technique (1) to work better and is the primary technique). Iteratively, reassign each point to the cluster containing the closest centroid. Stop when there are no changes to the clusters. ----------------------------------------------------------------------------- -
trait
KMeansClustererTester
extends AnyRef
The
KMeansClustererTest
object is used to test theKMeansClusterer
class.The
KMeansClustererTest
object is used to test theKMeansClusterer
class. > run-main scalation.analytics.clusterer.KMeansClustererTest -
class
KMeansPPClusterer
extends Clusterer with Error
The
KMeansPPClusterer
class cluster several vectors/points using the k-means++ clustering technique.The
KMeansPPClusterer
class cluster several vectors/points using the k-means++ clustering technique. ------------------------------------------------------------------------------ See also
ilpubs.stanford.edu:8090/778/1/2006-13.pdf -----------------------------------------------------------------------------
-
trait
KMeansPPClustererTester
extends AnyRef
The
KMeansPPClustererTester
trait includes atest
function to aid in the testing of theKMeansPPClusterer
class. -
class
MarkovClusterer
extends Clusterer with Error
The
MarkovClusterer
class implements a Markov Clustering Algorithm 'MCL' and is used to cluster nodes in a graph.The
MarkovClusterer
class implements a Markov Clustering Algorithm 'MCL' and is used to cluster nodes in a graph. The graph is represented as an edge-weighted adjacency matrix (a non-zero cell indicates nodes i and j are connected).The primary constructor takes either a graph (adjacency matrix) or a Markov transition matrix as input. If a graph is passed in, the normalize method must be called to convert it into a Markov transition matrix. Before normalizing, it may be helpful to add self loops to the graph. The matrix (graph or transition) may be either dense or sparse. See the
MarkovClustererTest
object at the bottom of the file for examples. -
class
RandomGraph
extends AnyRef
The
RandomGraph
class generates random undirected graphs with clusters (as adjacency matrices). -
class
TightClusterer
extends AnyRef
The
TightClusterer
class uses tight clustering to eliminate points that do not not fit well in any cluster.
Value Members
-
object
Algorithm
extends Enumeration
The
Algorithm
object specifies which algorithm to use. -
object
GapStatistic
The
GapStatistic
object is used to help determine the optimal number of clusters for a clusterer by comparing results to a reference distribution.The
GapStatistic
object is used to help determine the optimal number of clusters for a clusterer by comparing results to a reference distribution. ------------------------------------------------------------------------------ See also
web.stanford.edu/~hastie/Papers/gap.pdf
-
object
GapStatisticTest
extends App
The
GapStatisticTest
object is used to test theGapStatistic
object.The
GapStatisticTest
object is used to test theGapStatistic
object. > run-main scalation.analytics.clusterer.GapStatisticTest -
object
GapStatisticTest2
extends App
The
GapStatisticTest2
object is used to test theGapStatistic
object.The
GapStatisticTest2
object is used to test theGapStatistic
object. > run-main scalation.analytics.clusterer.GapStatisticTest2 -
object
HierClusterer
extends App
The
HierClusterer
object is used to test theHierClusterer
class.The
HierClusterer
object is used to test theHierClusterer
class. > run-main scalation.analytics.clusterer.HierClustererTest -
object
HierClustererTest2
extends App
The
HierClustererTest2
object is used to test theHierClusterer
class.The
HierClustererTest2
object is used to test theHierClusterer
class. > run-main scalation.analytics.clusterer.HierClustererTest2 -
object
KMeansClustererTest
extends App with KMeansClustererTester
The
KMeansClustererTest
object is used to test theKMeansClusterer
class.The
KMeansClustererTest
object is used to test theKMeansClusterer
class. > run-main scalation.analytics.clusterer.KMeansClustererTest -
object
KMeansClustererTest2
extends App with KMeansClustererTester
The
KMeansClustererTest2
object is used to test theKMeansClusterer
class.The
KMeansClustererTest2
object is used to test theKMeansClusterer
class. > run-main scalation.analytics.clusterer.KMeansClustererTest -
object
KMeansClustererTest3
extends App with KMeansClustererTester
The
KMeansClustererTest2
object is used to test theKMeansClusterer
class.The
KMeansClustererTest2
object is used to test theKMeansClusterer
class. > run-main scalation.analytics.clusterer.KMeansClustererTest3 -
object
KMeansPPClusterer
Companion object for the
KMeansPPClusterer
class. -
object
KMeansPPClustererTest
extends App with KMeansPPClustererTester
The
KMeansPPClustererTest
object is used to test theKMeansPlusPlusCluterer
class.The
KMeansPPClustererTest
object is used to test theKMeansPlusPlusCluterer
class. > run-main scalation.analytics.clusterer.KMeansPPClustererTest -
object
KMeansPPClustererTest2
extends App with KMeansPPClustererTester
The
KMeansPPClustererTest2
object is used to test theKMeansPlusPlusCluterer
class.The
KMeansPPClustererTest2
object is used to test theKMeansPlusPlusCluterer
class. > run-main scalation.analytics.clusterer.KMeansPPClustererTest2 -
object
KMeansPPClustererTest3
extends App with KMeansPPClustererTester
The
KMeansPPClustererTest3
object is used to test theKMeansPlusPlusCluterer
class.The
KMeansPPClustererTest3
object is used to test theKMeansPlusPlusCluterer
class. > run-main scalation.analytics.clusterer.KMeansPPClustererTest3 -
object
KMeansPPClustererTest4
extends App with KMeansPPClustererTester
The
KMeansPPClustererTest4
object is used to test theKMeansPlusPlusCluterer
class.The
KMeansPPClustererTest4
object is used to test theKMeansPlusPlusCluterer
class. > run-main scalation.analytics.clusterer.KMeansPPClustererTest4 -
object
MarkovClustererTest
extends App
The
MarkovClustererTest
object is used to test theMarkovClusterer
class.The
MarkovClustererTest
object is used to test theMarkovClusterer
class.- See also
www.cs.ucsb.edu/~xyan/classes/CS595D-2009winter/MCL_Presentation2.pdf ^ > run-main scalation.analytics.clusterer.MarkovClustererTest
-
object
MarkovClustererTest2
extends App
The
MarkovClustererTest2
object is used to test theMarkovClusterer
class.The
MarkovClustererTest2
object is used to test theMarkovClusterer
class. ^ > run-main scalation.analytics.clusterer.MarkovClustererTest2 -
object
RandomGraphTest
extends App
The
RandomGraphTest
object is used to test theRandomGraph
class.The
RandomGraphTest
object is used to test theRandomGraph
class. > run-main scalation.analytics.cluterer.RandomGraphTest -
object
TightClustererTest
extends App
The
TightClustererTest
is used to test theTightClusterer
class.The
TightClustererTest
is used to test theTightClusterer
class. > run-main scalation.analytics.clusterer.TightClustererTest