机器学习
Imcy
一只蜗牛
展开
-
keras鸢尾花
# -*- coding: utf-8 -*-"""Created on Sat Mar 25 09:32:14 2017@author: Administrator"""from keras.models import Sequentialfrom keras.layers.core import Dense,Dropout,Activationfrom keras.optimizer原创 2017-03-25 12:15:13 · 918 阅读 · 0 评论 -
数据分析
箱线图# -*- coding: utf-8 -*-"""Created on Sun Mar 26 11:41:50 2017@author: Administrator"""import pandas as pdimport matplotlib.pyplot as plt #导入图像库catering_sale = 'F:\data\chapter3\demo\data\cateri原创 2017-03-26 20:39:20 · 449 阅读 · 0 评论 -
tf-Mnist手写字体识别
1.softmax实现# -*- coding: utf-8 -*-"""tensorflow mnist@author: Administrator"""from tensorflow.examples.tutorials.mnist import input_dataimport tensorflow as tfmnist=input_data.read_data_sets("MNI原创 2017-05-24 17:19:24 · 902 阅读 · 0 评论 -
tensorflow实现cirfar10
# -*- coding: utf-8 -*-"""Created on Tue May 23 19:17:27 2017@author: Administrator"""import cifar10,cifar10_inputimport tensorflow as tfimport numpy as np import time max_steps = 3000 #最大训练步数b原创 2017-05-24 17:30:16 · 833 阅读 · 0 评论 -
决策树空气分析
数据处理# -*- coding: utf-8 -*-"""Created on Mon Apr 24 16:29:07 2017@author: Administrator"""import pandas as pdinputfile = 'F:/data/chapter9/demo/data/consider.xls' #数据文件outputfile= 'F:/data/chapter9原创 2017-04-25 10:58:39 · 571 阅读 · 0 评论