随笔分类 - TensorFlow
摘要:一. 数据集的准备与预处理1 . 收集dataset (大量用户名--包含正常用户名与非法用户名)包含两个txt文件 legal_name.txt ilegal_name.txt. 如下图所示2. 用文件进行预处理# Data setsimport osimpo...
阅读全文
摘要:Welcome to Part 3 of a blog series that introduces TensorFlow Datasets and Estimators. Part 1 focused on pre-made Estimators, while Pa...
阅读全文
摘要:Welcome to Part 2 of a blog series that introduces TensorFlow Datasets and Estimators. We're devoting this article to feature columns—...
阅读全文
摘要:Datasets and Estimators are two key TensorFlow features you should use:Datasets: The best practice way of creating input pipelines (th...
阅读全文
摘要:A quick glance through tensorflow/python/layers/core.py and tensorflow/python/ops/nn_ops.pyreveals that tf.layers.dropout is a wrapper...
阅读全文
摘要:Variabletensorflow中有两个关于variable的op,tf.Variable()与tf.get_variable()下面介绍这两个的区别使用tf.Variable时,如果检测到命名冲突,系统会自己处理。使用tf.get_variable()时,系统不...
阅读全文
摘要:机器学习工程师自学指南 本文将会介绍机器学习的方方面面,从简单的线性回归到最新的神经网络,你不仅仅能学会如何使用它们,并且还能从零进行构建。 以下内容以计算机视觉为导向,这是学习一般知识的最快方法,并且你从中获得的经验可以很容易地迁移到机器学习的其他领...
阅读全文
摘要:交叉熵的作用通过神经网络解决多分类问题时,最常用的一种方式就是在最后一层设置n个输出节点,无论在浅层神经网络还是在CNN中都是如此,比如,在AlexNet中最后的输出层有1000个节点: 而即便是ResNet取消了全连接层,也会在最后有一个1000个节点的输出层: 一...
阅读全文