'''
Created on Apr 7, 2017

@author: deckyal
'''
import tensorflow as tf
import numpy as np

from functions  import create_samples
from functions  import plot_clusters

n_features = 2 
n_clusters = 3
n_samples_per_cluster = 500
seed = 700
embiggen_factor = 70

np.random.seed(seed)

centroids, samples = create_samples(n_clusters,n_samples_per_cluster,n_features,embiggen_factor,seed)

model = tf.global_variables_initializer()
with tf.Session() as session : 
    sample_values = session.run(samples)
    centroid_values = session.run(centroids)

plot_clusters(sample_values,centroid_values,n_samples_per_cluster)
bc3a94ab648791635dfb263bd3104f7d85772101
<mask token>

<mask token>
np.random.seed(seed)
<mask token>
with tf.Session() as session:
    sample_values = session.run(samples)
    centroid_values = session.run(centroids)
plot_clusters(sample_values, centroid_values, n_samples_per_cluster)

<mask token>
n_features = 2
n_clusters = 3
n_samples_per_cluster = 500
seed = 700
embiggen_factor = 70
np.random.seed(seed)
centroids, samples = create_samples(n_clusters, n_samples_per_cluster,
    n_features, embiggen_factor, seed)
model = tf.global_variables_initializer()
with tf.Session() as session:
    sample_values = session.run(samples)
    centroid_values = session.run(centroids)
plot_clusters(sample_values, centroid_values, n_samples_per_cluster)

<mask token>
import tensorflow as tf
import numpy as np
from functions import create_samples
from functions import plot_clusters
n_features = 2
n_clusters = 3
n_samples_per_cluster = 500
seed = 700
embiggen_factor = 70
np.random.seed(seed)
centroids, samples = create_samples(n_clusters, n_samples_per_cluster,
    n_features, embiggen_factor, seed)
model = tf.global_variables_initializer()
with tf.Session() as session:
    sample_values = session.run(samples)
    centroid_values = session.run(centroids)
plot_clusters(sample_values, centroid_values, n_samples_per_cluster)

'''
Created on Apr 7, 2017

@author: deckyal
'''
import tensorflow as tf
import numpy as np

from functions  import create_samples
from functions  import plot_clusters

n_features = 2 
n_clusters = 3
n_samples_per_cluster = 500
seed = 700
embiggen_factor = 70

np.random.seed(seed)

centroids, samples = create_samples(n_clusters,n_samples_per_cluster,n_features,embiggen_factor,seed)

model = tf.global_variables_initializer()
with tf.Session() as session : 
    sample_values = session.run(samples)
    centroid_values = session.run(centroids)

plot_clusters(sample_values,centroid_values,n_samples_per_cluster)