public class SeedSelectionMethods extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SeedSelectionMethods.SeedSelection |
Modifier and Type | Method and Description |
---|---|
static void |
selectIntialPoints(DataSet d,
int[] indices,
DistanceMetric dm,
List<Double> accelCache,
Random rand,
SeedSelectionMethods.SeedSelection selectionMethod)
Selects seeds from a data set to use for a clustering algorithm.
|
static void |
selectIntialPoints(DataSet d,
int[] indices,
DistanceMetric dm,
List<Double> accelCache,
Random rand,
SeedSelectionMethods.SeedSelection selectionMethod,
ExecutorService threadpool)
Selects seeds from a data set to use for a clustering algorithm.
|
static void |
selectIntialPoints(DataSet d,
int[] indices,
DistanceMetric dm,
Random rand,
SeedSelectionMethods.SeedSelection selectionMethod)
Selects seeds from a data set to use for a clustering algorithm.
|
static void |
selectIntialPoints(DataSet d,
int[] indices,
DistanceMetric dm,
Random rand,
SeedSelectionMethods.SeedSelection selectionMethod,
ExecutorService threadpool)
Selects seeds from a data set to use for a clustering algorithm.
|
static List<Vec> |
selectIntialPoints(DataSet d,
int k,
DistanceMetric dm,
List<Double> accelCache,
Random rand,
SeedSelectionMethods.SeedSelection selectionMethod) |
static List<Vec> |
selectIntialPoints(DataSet d,
int k,
DistanceMetric dm,
List<Double> accelCache,
Random rand,
SeedSelectionMethods.SeedSelection selectionMethod,
ExecutorService threadpool)
Selects seeds from a data set to use for a clustering algorithm.
|
static List<Vec> |
selectIntialPoints(DataSet d,
int k,
DistanceMetric dm,
Random rand,
SeedSelectionMethods.SeedSelection selectionMethod)
Selects seeds from a data set to use for a clustering algorithm.
|
static List<Vec> |
selectIntialPoints(DataSet d,
int k,
DistanceMetric dm,
Random rand,
SeedSelectionMethods.SeedSelection selectionMethod,
ExecutorService threadpool)
Selects seeds from a data set to use for a clustering algorithm.
|
public static List<Vec> selectIntialPoints(DataSet d, int k, DistanceMetric dm, Random rand, SeedSelectionMethods.SeedSelection selectionMethod)
d
- the data set to perform select fromk
- the number of seeds to choosedm
- the distance metric to used when selecting pointsrand
- a source of randomnessselectionMethod
- The method of seed selection to use.public static List<Vec> selectIntialPoints(DataSet d, int k, DistanceMetric dm, List<Double> accelCache, Random rand, SeedSelectionMethods.SeedSelection selectionMethod)
d
- the data set to perform select fromk
- the number of seeds to choosedm
- the distance metric to used when selecting pointsaccelCache
- the cache of pre-generated acceleration information for the distance metric. May be nullrand
- a source of randomnessselectionMethod
- The method of seed selection to use.public static List<Vec> selectIntialPoints(DataSet d, int k, DistanceMetric dm, Random rand, SeedSelectionMethods.SeedSelection selectionMethod, ExecutorService threadpool)
d
- the data set to perform select fromk
- the number of seeds to choosedm
- the distance metric to used when selecting pointsrand
- a source of randomnessselectionMethod
- The method of seed selection to use.threadpool
- the source of threads for parallel computationpublic static List<Vec> selectIntialPoints(DataSet d, int k, DistanceMetric dm, List<Double> accelCache, Random rand, SeedSelectionMethods.SeedSelection selectionMethod, ExecutorService threadpool)
d
- the data set to perform select fromk
- the number of seeds to choosedm
- the distance metric to used when selecting pointsaccelCache
- the cache of pre-generated acceleration information for the distance metric. May be nullrand
- a source of randomnessselectionMethod
- The method of seed selection to use.threadpool
- the source of threads for parallel computation. May be null.public static void selectIntialPoints(DataSet d, int[] indices, DistanceMetric dm, Random rand, SeedSelectionMethods.SeedSelection selectionMethod)
d
- the data set to perform select fromindices
- a storage place to note the indices that were chosen as seed. The length of the array indicates how many seeds to select.dm
- the distance metric to used when selecting pointsrand
- a source of randomnessselectionMethod
- The method of seed selection to use.public static void selectIntialPoints(DataSet d, int[] indices, DistanceMetric dm, List<Double> accelCache, Random rand, SeedSelectionMethods.SeedSelection selectionMethod)
d
- the data set to perform select fromindices
- a storage place to note the indices that were chosen as seed. The length of the array indicates how many seeds to select.dm
- the distance metric to used when selecting pointsaccelCache
- the cache of pre-generated acceleration information for the distance metric. May be nullrand
- a source of randomnessselectionMethod
- The method of seed selection to use.public static void selectIntialPoints(DataSet d, int[] indices, DistanceMetric dm, Random rand, SeedSelectionMethods.SeedSelection selectionMethod, ExecutorService threadpool)
d
- the data set to perform select fromindices
- a storage place to note the indices that were chosen as seed. The length of the array indicates how many seeds to select.dm
- the distance metric to used when selecting pointsrand
- a source of randomnessselectionMethod
- The method of seed selection to use.threadpool
- the source of threads for parallel computationpublic static void selectIntialPoints(DataSet d, int[] indices, DistanceMetric dm, List<Double> accelCache, Random rand, SeedSelectionMethods.SeedSelection selectionMethod, ExecutorService threadpool)
d
- the data set to perform select fromindices
- a storage place to note the indices that were chosen as seed. The length of the array indicates how many seeds to select.dm
- the distance metric to used when selecting pointsaccelCache
- the cache of pre-generated acceleration information for the distance metric. May be nullrand
- a source of randomnessselectionMethod
- The method of seed selection to use.threadpool
- the source of threads for parallel computation. May be nullCopyright © 2017. All rights reserved.