├── .gitattributes ├── .gitignore ├── Chapter 01 ├── activation_functions.py ├── data_gathering.py ├── matrices.py ├── operations.py ├── placeholders.py └── tensors.py ├── Chapter 02 ├── back_propagation.py ├── batch_stochastic_training.py ├── combining_everything_together.py ├── evaluating_models.py ├── layering_nested_operations.py ├── loss_functions.py ├── multiple_layers.py └── operations_on_a_graph.py ├── Chapter 03 ├── deming_regression.py ├── elasticnet_regression.py ├── lasso_and_ridge_regression.py ├── lin_reg_decomposition.py ├── lin_reg_inverse.py ├── lin_reg_l1_vs_l2.py ├── lin_reg_tensorflow_way.py └── logistic_regression.py ├── Chapter 04 ├── linear_svm.py ├── multiclass_svm.py ├── nonlinear_svm.py ├── support_vector_regression.py └── svm_kernels.py ├── Chapter 05 ├── address_matching.py ├── image_recognition.py ├── mixed_distance_functions_knn.py ├── nearest_neighbor.py └── text_distances.py ├── Chapter 06 ├── activation_functions.py ├── gates.py ├── implementing_different_layers.py ├── improving_linear_regression.py ├── single_hidden_layer_network.py ├── tic_tac_toe │ ├── base_tic_tac_toe_moves.csv │ └── tic_tac_toe_moves.py └── using_a_multiple_layer_network.py ├── Chapter 07 ├── bag_of_words.py ├── doc2vec.py ├── text_helpers.py ├── tf_idf.py ├── using_word2vec.py ├── word2vec_cbow.py └── word2vec_skipgram.py ├── Chapter 08 ├── cnn_cifar10.py ├── deepdream.py ├── download_cifar10.py ├── introductory_cnn.py └── stylenet.py ├── Chapter 09 ├── implementing_lstm.py ├── implementing_rnn.py ├── seq2seq_translation.py └── stacking_multiple_lstm.py ├── Chapter 10 ├── implementing_unit_tests.py ├── parallelizing_tensorflow.py ├── production_ex_eval.py ├── production_ex_train.py ├── production_tips_for_tf.py └── using_multiple_devices.py ├── Chapter 11 ├── genetic_algorithm.py ├── k_means.py ├── solving_ode_system.py └── using_tensorboard.py ├── LICENSE └── README.md /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/.gitignore -------------------------------------------------------------------------------- /Chapter 01/activation_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 01/activation_functions.py -------------------------------------------------------------------------------- /Chapter 01/data_gathering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 01/data_gathering.py -------------------------------------------------------------------------------- /Chapter 01/matrices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 01/matrices.py -------------------------------------------------------------------------------- /Chapter 01/operations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 01/operations.py -------------------------------------------------------------------------------- /Chapter 01/placeholders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 01/placeholders.py -------------------------------------------------------------------------------- /Chapter 01/tensors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 01/tensors.py -------------------------------------------------------------------------------- /Chapter 02/back_propagation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 02/back_propagation.py -------------------------------------------------------------------------------- /Chapter 02/batch_stochastic_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 02/batch_stochastic_training.py -------------------------------------------------------------------------------- /Chapter 02/combining_everything_together.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 02/combining_everything_together.py -------------------------------------------------------------------------------- /Chapter 02/evaluating_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 02/evaluating_models.py -------------------------------------------------------------------------------- /Chapter 02/layering_nested_operations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 02/layering_nested_operations.py -------------------------------------------------------------------------------- /Chapter 02/loss_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 02/loss_functions.py -------------------------------------------------------------------------------- /Chapter 02/multiple_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 02/multiple_layers.py -------------------------------------------------------------------------------- /Chapter 02/operations_on_a_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 02/operations_on_a_graph.py -------------------------------------------------------------------------------- /Chapter 03/deming_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 03/deming_regression.py -------------------------------------------------------------------------------- /Chapter 03/elasticnet_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 03/elasticnet_regression.py -------------------------------------------------------------------------------- /Chapter 03/lasso_and_ridge_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 03/lasso_and_ridge_regression.py -------------------------------------------------------------------------------- /Chapter 03/lin_reg_decomposition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 03/lin_reg_decomposition.py -------------------------------------------------------------------------------- /Chapter 03/lin_reg_inverse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 03/lin_reg_inverse.py -------------------------------------------------------------------------------- /Chapter 03/lin_reg_l1_vs_l2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 03/lin_reg_l1_vs_l2.py -------------------------------------------------------------------------------- /Chapter 03/lin_reg_tensorflow_way.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 03/lin_reg_tensorflow_way.py -------------------------------------------------------------------------------- /Chapter 03/logistic_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 03/logistic_regression.py -------------------------------------------------------------------------------- /Chapter 04/linear_svm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 04/linear_svm.py -------------------------------------------------------------------------------- /Chapter 04/multiclass_svm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 04/multiclass_svm.py -------------------------------------------------------------------------------- /Chapter 04/nonlinear_svm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 04/nonlinear_svm.py -------------------------------------------------------------------------------- /Chapter 04/support_vector_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 04/support_vector_regression.py -------------------------------------------------------------------------------- /Chapter 04/svm_kernels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 04/svm_kernels.py -------------------------------------------------------------------------------- /Chapter 05/address_matching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 05/address_matching.py -------------------------------------------------------------------------------- /Chapter 05/image_recognition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 05/image_recognition.py -------------------------------------------------------------------------------- /Chapter 05/mixed_distance_functions_knn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 05/mixed_distance_functions_knn.py -------------------------------------------------------------------------------- /Chapter 05/nearest_neighbor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 05/nearest_neighbor.py -------------------------------------------------------------------------------- /Chapter 05/text_distances.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 05/text_distances.py -------------------------------------------------------------------------------- /Chapter 06/activation_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 06/activation_functions.py -------------------------------------------------------------------------------- /Chapter 06/gates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 06/gates.py -------------------------------------------------------------------------------- /Chapter 06/implementing_different_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 06/implementing_different_layers.py -------------------------------------------------------------------------------- /Chapter 06/improving_linear_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 06/improving_linear_regression.py -------------------------------------------------------------------------------- /Chapter 06/single_hidden_layer_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 06/single_hidden_layer_network.py -------------------------------------------------------------------------------- /Chapter 06/tic_tac_toe/base_tic_tac_toe_moves.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 06/tic_tac_toe/base_tic_tac_toe_moves.csv -------------------------------------------------------------------------------- /Chapter 06/tic_tac_toe/tic_tac_toe_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 06/tic_tac_toe/tic_tac_toe_moves.py -------------------------------------------------------------------------------- /Chapter 06/using_a_multiple_layer_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 06/using_a_multiple_layer_network.py -------------------------------------------------------------------------------- /Chapter 07/bag_of_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 07/bag_of_words.py -------------------------------------------------------------------------------- /Chapter 07/doc2vec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 07/doc2vec.py -------------------------------------------------------------------------------- /Chapter 07/text_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 07/text_helpers.py -------------------------------------------------------------------------------- /Chapter 07/tf_idf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 07/tf_idf.py -------------------------------------------------------------------------------- /Chapter 07/using_word2vec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 07/using_word2vec.py -------------------------------------------------------------------------------- /Chapter 07/word2vec_cbow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 07/word2vec_cbow.py -------------------------------------------------------------------------------- /Chapter 07/word2vec_skipgram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 07/word2vec_skipgram.py -------------------------------------------------------------------------------- /Chapter 08/cnn_cifar10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 08/cnn_cifar10.py -------------------------------------------------------------------------------- /Chapter 08/deepdream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 08/deepdream.py -------------------------------------------------------------------------------- /Chapter 08/download_cifar10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 08/download_cifar10.py -------------------------------------------------------------------------------- /Chapter 08/introductory_cnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 08/introductory_cnn.py -------------------------------------------------------------------------------- /Chapter 08/stylenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 08/stylenet.py -------------------------------------------------------------------------------- /Chapter 09/implementing_lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 09/implementing_lstm.py -------------------------------------------------------------------------------- /Chapter 09/implementing_rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 09/implementing_rnn.py -------------------------------------------------------------------------------- /Chapter 09/seq2seq_translation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 09/seq2seq_translation.py -------------------------------------------------------------------------------- /Chapter 09/stacking_multiple_lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 09/stacking_multiple_lstm.py -------------------------------------------------------------------------------- /Chapter 10/implementing_unit_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 10/implementing_unit_tests.py -------------------------------------------------------------------------------- /Chapter 10/parallelizing_tensorflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 10/parallelizing_tensorflow.py -------------------------------------------------------------------------------- /Chapter 10/production_ex_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 10/production_ex_eval.py -------------------------------------------------------------------------------- /Chapter 10/production_ex_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 10/production_ex_train.py -------------------------------------------------------------------------------- /Chapter 10/production_tips_for_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 10/production_tips_for_tf.py -------------------------------------------------------------------------------- /Chapter 10/using_multiple_devices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 10/using_multiple_devices.py -------------------------------------------------------------------------------- /Chapter 11/genetic_algorithm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 11/genetic_algorithm.py -------------------------------------------------------------------------------- /Chapter 11/k_means.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 11/k_means.py -------------------------------------------------------------------------------- /Chapter 11/solving_ode_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 11/solving_ode_system.py -------------------------------------------------------------------------------- /Chapter 11/using_tensorboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/Chapter 11/using_tensorboard.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/HEAD/README.md --------------------------------------------------------------------------------