
ML
小白笑苍
沉默是一种生活方式。
展开
-
一天搞懂机器学习PPT笔记-1
Introduction of Deep Learningsome introductionsMachine Learning is close to Looking for a FunctionThe model is a set of functiona set of function -> goodness of functin F <- training dataframework原创 2017-06-22 21:04:23 · 1707 阅读 · 0 评论 -
爬山算法 ( Hill Climbing )/模拟退火(SA,Simulated Annealing)
一. 爬山算法 ( Hill Climbing )爬山算法是一种简单的贪心搜索算法,该算法每次从当前解的临近解空间中选择一个最优解作为当前解,直到达到一个局部最优解。爬山算法实现很简单,其主要缺点是会陷入局部最优解,而不一定能搜索到全局最优解。假设C点为当前解,爬山算法搜索到A点这个局部最优解就会停止搜索,...转载 2018-12-26 13:58:07 · 1274 阅读 · 0 评论 -
pycharm 使用docker 配置环境
windows pycharm使用docker 中的python3搭建运行环境##配置环境:pycharm version:2018.1.2docker 18.03.1-ce-win65windows 10 专业版启动dockerdocker pull python3 ## download python3容器默认latest版本 无需运行该容器,若需要安装扩展包,则选择运行该容器...转载 2018-12-19 15:39:06 · 1076 阅读 · 0 评论 -
Setup tensorflow in Docker
you can find the info here:PUBLIC REPOSITORY tensorflow/tensorflowpull it:docker pull tensorflow/tensorflow:latestStart CPU only container$ docker run -it -p 8888:8888 tensorflow/tensorflowGo t...原创 2018-11-27 16:13:56 · 241 阅读 · 0 评论 -
tensorflow函数解析: tf.Session() 和tf.InteractiveSession()
链接如下:http://stackoverflow.com/questions/41791469/difference-between-tf-session-and-tf-interactivesession英文Question:Questions says everything, for taking sess= tf.Ses...转载 2018-04-03 15:41:21 · 856 阅读 · 0 评论 -
The Spelling Corrector by python
Learned by How to Write a Spelling Corrector.You can get the detailed course in this article.The related Dic is the big.txtThe code is so fantastic~:import refrom collections import Counterde...原创 2018-02-08 15:19:50 · 390 阅读 · 0 评论 -
Face detection demo code by python
A demo code about the face detection:# import library - MUST use cv2 if using opencv_traincascadeimport cv2# rectangle color and strokecolor = (0, 0, 255) # reverse of RGB (B,G,R) - weirdstr...原创 2018-02-08 10:35:45 · 558 阅读 · 0 评论 -
Painting with Tensorflow
It is an open source library by tensorflow. Here is the article: https://link.zhihu.com/?target=http%3A//arxiv.org/abs/1508.06576I am learning from it right now.Here is the demo code:from __futu原创 2018-02-07 11:02:05 · 282 阅读 · 0 评论 -
linear Regression/k-Nearest Neighbors regression ML model by python
Learned by the book Hands-On Machine Learning with Scikit-Learn and TensorFlow,chapter 1.It is a linearRegression ML model demo code. The relate datasets are below: handson-ml/datasets/lifesat/ The原创 2018-01-17 16:09:24 · 708 阅读 · 0 评论 -
pandas 下的重塑数据函数pivot-(转)
在CSV文件当中或者数据库当的数据通常以长格式或者(stacked)堆叠格式存储,特别是金融数据中出现的时间序列数据,例如:In [1]: dfOut[1]: date variable value0 2000-01-03 A 0.4691121 2000-01-04 A -0.2828632 2000-01-05转载 2018-01-17 15:36:43 · 1046 阅读 · 0 评论 -
【TensorFlow】Windows10 64 位下安装 TensorFlow - 官方原生支持-(转)
之前 写过一篇在 ubuntu 下安装 TensorFlow 的教程,那个时候 TensorFlow 官方还不支持 Windows 系统,虽然可以通过其他方法安装,但是终究不是原生的,而且安装过程繁琐易错。好消息是,Google官方在11月29号的开发者博客中宣布新的版本(0.12)将 增加对Windows的支持,我11月30号知道的,立马就安装试了试,安装过程非常简单,不过也有一些需要手动调整。转载 2018-01-24 11:15:27 · 283 阅读 · 0 评论 -
Ubuntu 14.04 64 位安装 Google 的 TensorFlow-(转)
今天来说一下机器学习库 TensorFlow 的在 Ubuntu14.04 64位下的安装。更新这里我会列出对本文的更新。2017 年 10 月 13 日: 优化排版,与其他博文保持统一。去掉公众号相关内容。什么是 TensorFlow关于什么是 TensorFlow ,这里引用一下 官网 的介绍: TensorFlow™ is an转载 2018-01-24 11:14:17 · 237 阅读 · 0 评论 -
一天搞懂机器学习PPT笔记-2
Tips for Training DNNminimize total lossmore layers do not imply better - so it is hard to get the power of deepLearning ratepopular&simple idea:reduce the learning rate by some factor every few epoc原创 2017-06-22 21:32:49 · 1658 阅读 · 0 评论 -
MNIST character judgement demo code
mnist judgement demo codefrom tensorflow.examples.tutorials.mnist import input_dataimport tensorflow as tf#获取mnist数据集mnist = input_data.read_data_sets("/path/to/MNIST_data/",one_hot = True)print(...原创 2018-12-10 15:58:13 · 161 阅读 · 0 评论