关键字全网搜索最新排名
【机器学习算法】:排名第一
【机器学习】:排名第二
【Python】:排名第三
【算法】:排名第四
转自1024深度学习
导语:本文是TensorFlow实现流行机器学习算法的教程汇集,目标是让读者可以轻松通过清晰简明的案例深入了解 TensorFlow。这些案例适合那些想要实现一些 TensorFlow 案例的初学者。本教程包含还包含笔记和带有注解的代码。
第一步:给TF新手的教程指南
1:tf初学者需要明白的入门准备
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/0_Prerequisite/ml_introduction.ipynb
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/0_Prerequisite/mnist_dataset_intro.ipynb
2:tf初学者需要了解的入门基础
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/1_Introduction/helloworld.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/1_Introduction/helloworld.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/1_Introduction/basic_operations.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/1_Introduction/basic_operations.py
3:tf初学者需要掌握的基本模型
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/2_BasicModels/nearest_neighbor.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/2_BasicModels/nearest_neighbor.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/2_BasicModels/linear_regression.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/2_BasicModels/linear_regression.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/2_BasicModels/logistic_regression.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/2_BasicModels/logistic_regression.py
4:tf初学者需要尝试的神经网络
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3_NeuralNetworks/multilayer_perceptron.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3_NeuralNetworks/multilayer_perceptron.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3_NeuralNetworks/convolutional_network.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3_NeuralNetworks/convolutional_network.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3_NeuralNetworks/recurrent_network.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3_NeuralNetworks/recurrent_network.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3_NeuralNetworks/bidirectional_rnn.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3_NeuralNetworks/bidirectional_rnn.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3_NeuralNetworks/dynamic_rnn.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3_NeuralNetworks/autoencoder.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3_NeuralNetworks/autoencoder.py
5:tf初学者需要精通的实用技术
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/4_Utils/save_restore_model.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/4_Utils/save_restore_model.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/4_Utils/tensorboard_basic.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/4_Utils/tensorboard_basic.py
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/4_Utils/tensorboard_advanced.py
5:tf初学者需要的懂得的多GPU基本操作
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/5_MultiGPU/multigpu_basics.ipynb https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/5_MultiGPU/multigpu_basics.py
6:案例需要的数据集
有一些案例需要 MNIST 数据集进行训练和测试。运行这些案例时,该数据集会被自动下载下来(使用 input_data.py)。
MNIST数据集笔记:https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/0_Prerequisite/mnist_dataset_intro.ipynb 官方网站:http://yann.lecun.com/exdb/mnist/
第二步:为TF新手准备的各个类型的案例、模型和数据集
初步了解:TFLearn TensorFlow
接下来的示例来自TFLearn,这是一个为 TensorFlow 提供了简化的接口的库。里面有很多示例和预构建的运算和层。
使用教程:TFLearn 快速入门。通过一个具体的机器学习任务学习 TFLearn 基础。开发和训练一个深度神经网络分类器。
TFLearn地址:https://github.com/tflearn/tflearn 示例:https://github.com/tflearn/tflearn/tree/master/examples 预构建的运算和层:http://tflearn.org/doc_index/#api
笔记:https://github.com/tflearn/tflearn/blob/master/tutorials/intro/quickstart.md
基础模型以及数据集
https://github.com/tflearn/tflearn/blob/master/examples/basics/linear_regression.py
https://github.com/tflearn/tflearn/blob/master/examples/basics/logical.py
https://github.com/tflearn/tflearn/blob/master/examples/basics/weights_persistence.py
https://github.com/tflearn/tflearn/blob/master/examples/basics/finetuning.py
https://github.com/tflearn/tflearn/blob/master/examples/basics/use_hdf5.py
https://github.com/tflearn/tflearn/blob/master/examples/basics/use_dask.py
计算机视觉模型及数据集
https://github.com/tflearn/tflearn/blob/master/examples/images/dnn.py
https://github.com/tflearn/tflearn/blob/master/examples/images/convnet_mnist.py
https://github.com/tflearn/tflearn/blob/master/examples/images/convnet_cifar10.py
https://github.com/tflearn/tflearn/blob/master/examples/images/network_in_network.py
https://github.com/tflearn/tflearn/blob/master/examples/images/alexnet.py
https://github.com/tflearn/tflearn/blob/master/examples/images/vgg_network.py
https://github.com/tflearn/tflearn/blob/master/examples/images/vgg_network_finetuning.py
https://github.com/tflearn/tflearn/blob/master/examples/images/rnn_pixels.py
https://github.com/tflearn/tflearn/blob/master/examples/images/highway_dnn.py
https://github.com/tflearn/tflearn/blob/master/examples/images/convnet_highway_mnist.py
https://github.com/tflearn/tflearn/blob/master/examples/images/residual_network_mnist.py
https://github.com/tflearn/tflearn/blob/master/examples/images/residual_network_cifar10.py
https://github.com/tflearn/tflearn/blob/master/examples/images/googlenet.py
https://github.com/tflearn/tflearn/blob/master/examples/images/autoencoder.py
自然语言处理模型及数据集
https://github.com/tflearn/tflearn/blob/master/examples/nlp/lstm.py
https://github.com/tflearn/tflearn/blob/master/examples/nlp/bidirectional_lstm.py
https://github.com/tflearn/tflearn/blob/master/examples/nlp/dynamic_lstm.py
https://github.com/tflearn/tflearn/blob/master/examples/nlp/lstm_generator_cityname.py
https://github.com/tflearn/tflearn/blob/master/examples/nlp/lstm_generator_shakespeare.py
https://github.com/tflearn/tflearn/blob/master/examples/nlp/seq2seq_example.py
https://github.com/tflearn/tflearn/blob/master/examples/nlp/cnn_sentence_classification.py
强化学习案例
https://github.com/tflearn/tflearn/blob/master/examples/reinforcement_learning/atari_1step_qlearning.py
第三步:为TF新手准备的其他方面内容
https://github.com/tflearn/tflearn/blob/master/examples/others/recommender_wide_and_deep.py
https://github.com/tflearn/tflearn/blob/master/examples/notebooks/spiral.ipynb
https://github.com/tflearn/tflearn/blob/master/examples/extending_tensorflow/layers.py
https://github.com/tflearn/tflearn/blob/master/examples/extending_tensorflow/layers.py
https://github.com/tflearn/tflearn/blob/master/examples/extending_tensorflow/builtin_ops.py
https://github.com/tflearn/tflearn/blob/master/examples/extending_tensorflow/summaries.py
https://github.com/tflearn/tflearn/blob/master/examples/extending_tensorflow/variables.py
本文分享自 机器学习算法与Python学习 微信公众号,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文参与 腾讯云自媒体同步曝光计划 ,欢迎热爱写作的你一起参与!