Home
last modified time | relevance | path

Searched refs:initial_clusters (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dkmeans.py140 def __init__(self, num_clusters, initial_clusters, distance_metric, argument
145 self._initial_clusters = initial_clusters
200 initial_clusters=self._initial_clusters,
322 initial_clusters=RANDOM_INIT, argument
406 if isinstance(initial_clusters, str) and initial_clusters not in [
410 "Unsupported initialization algorithm '%s'" % initial_clusters)
418 num_clusters, initial_clusters, distance_metric, random_seed,
Dclustering_ops.py61 initial_clusters=RANDOM_INIT, argument
133 if isinstance(initial_clusters, str) and initial_clusters not in [
137 "Unsupported initialization algorithm '%s'" % initial_clusters)
142 self._initial_clusters = initial_clusters
355 initial_clusters = self._initial_clusters
358 initial_clusters = ops.convert_to_tensor(self._initial_clusters)
359 num_clusters = array_ops.shape(initial_clusters)[0]
366 self._inputs, num_clusters, initial_clusters, self._distance_metric,
560 def __init__(self, inputs, num_clusters, initial_clusters, distance_metric, argument
585 self._initial_clusters = initial_clusters
Dkmeans_test.py123 def initial_clusters(self): member in KMeansTestBase
154 initial_clusters=self.initial_clusters,
183 initial_clusters=self.initial_clusters,
276 initial_clusters=kmeans_lib.KMeansClustering.RANDOM_INIT,
292 initial_clusters=kmeans_lib.KMeansClustering.KMEANS_PLUS_PLUS_INIT,
309 initial_clusters=kmeans_lib.KMeansClustering.KMEANS_PLUS_PLUS_INIT,
372 initial_clusters=kmeans_lib.KMeansClustering.RANDOM_INIT,
438 initial_clusters=self.initial_clusters,
559 initial_clusters=kmeans_lib.KMeansClustering.KMEANS_PLUS_PLUS_INIT,
Dgmm_test.py89 initial_clusters=self.initial_means,
99 initial_clusters=self.initial_means,
108 initial_clusters='random',
121 initial_clusters=self.initial_means,
152 initial_clusters=self.initial_means,
Dgmm.py80 initial_clusters='random', argument
99 self._training_initial_clusters = initial_clusters
Dgmm_ops.py463 initial_clusters, argument
494 if initial_clusters != 'random' and not isinstance(initial_clusters,
496 initial_means = constant_op.constant(initial_clusters, dtype=dtypes.float32)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dkmeans_test.py123 def initial_clusters(self): member in KMeansTestBase
154 initial_clusters=self.initial_clusters,
185 initial_clusters=self.initial_clusters,
244 initial_clusters=kmeans_lib.KMeansClustering.RANDOM_INIT,
260 initial_clusters=kmeans_lib.KMeansClustering.KMEANS_PLUS_PLUS_INIT,
277 initial_clusters=kmeans_lib.KMeansClustering.KMEANS_PLUS_PLUS_INIT,
340 initial_clusters=kmeans_lib.KMeansClustering.RANDOM_INIT,
406 initial_clusters=self.initial_clusters,
527 initial_clusters=kmeans_lib.KMeansClustering.KMEANS_PLUS_PLUS_INIT,
Dkmeans.py123 initial_clusters=params.get('training_initial_clusters'),
176 initial_clusters=RANDOM_INIT, argument
211 params['training_initial_clusters'] = initial_clusters
/external/tensorflow/tensorflow/python/ops/
Dclustering_ops.py62 initial_clusters=RANDOM_INIT, argument
134 if isinstance(initial_clusters, str) and initial_clusters not in [
138 "Unsupported initialization algorithm '%s'" % initial_clusters)
143 self._initial_clusters = initial_clusters
356 initial_clusters = self._initial_clusters
359 initial_clusters = ops.convert_to_tensor(self._initial_clusters)
360 num_clusters = array_ops.shape(initial_clusters)[0]
367 self._inputs, num_clusters, initial_clusters, self._distance_metric,
561 def __init__(self, inputs, num_clusters, initial_clusters, distance_metric, argument
586 self._initial_clusters = initial_clusters
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.experimental.-k-means.pbtxt57 …argspec: "args=[\'self\', \'num_clusters\', \'model_dir\', \'initial_clusters\', \'distance_metric…