
人工智能
OK~
这个作者很懒,什么都没留下…
展开
-
【案例】利用决策树,计算香农熵
经典案例 利用决策树,计算香农熵 ''' Created on Oct 12, 2010 Decision Tree Source Code for Machine Learning in Action Ch. 3 @author: Peter Harrington ''' from math import log import operator def createDataSet(): #...转载 2018-10-08 21:47:53 · 436 阅读 · 0 评论 -
【深度学习】保存和加载模型
import tensorflow as tf import matplotlib.pyplot as plt import numpy as np tf.set_random_seed(1) np.random.seed(1) # fake data x = np.linspace(-1, 1, 100)[:, np.newaxis] # shape (100, 1) no...转载 2018-10-09 20:22:16 · 1084 阅读 · 0 评论