Machine Learning, Neural Networks, TensorFlow, Pca.
tf.Session() as session: session.run(init) feed_dict = {x: sample} for batch in range(50000): session.run(optimize, feed_dict=feed_dict) eval_loss, eval_2d = session.run([loss, projection], feed_dict=feed_dict) # plot projection if batch % 100 == 0: plt.clf() plt.scatter(eval_2d[:, 0], eval_2d[:,