<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>AI on The Site of laekov</title>
    <link>/tags/ai/</link>
    <description>Recent content in AI on The Site of laekov</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>&amp;copy; laekov</copyright>
    <lastBuildDate>Fri, 18 May 2018 23:55:54 +0000</lastBuildDate><atom:link href="/tags/ai/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>人智的另一个作业. 教你 30 分钟写完 MNIST 作业</title>
      <link>/technical/75774b/</link>
      <pubDate>Fri, 18 May 2018 23:55:54 +0000</pubDate>
      
      <guid>/technical/75774b/</guid>
      <description>教你 30 分钟写完 MNIST 作业 laekov 2018.05.20
Overview 题目要求 随便用什么框架去 Kaggle 上做手写数字识别的数据集.
你可以选择自己写一个框架. (谁爱写谁写)
THU PACMAN 实验室最近在筹划写一个框架, 有兴趣的同学可以联系我.
最好多实现几个模型, 调调参, 写报告需要.
需要做的事 找一个框架 抄一遍 Tutorial 写一个处理数据 (csv格式) 的模块 写一个模型 写训练/验证/测试的东西 CNTK 框架 微软的框架. Python 文档见https://cntk.ai/pythondocs/index.html
安装. 见官网. pip, conda, install_cntk.exe 什么的都行.
略.
使用 CNTK 框架.
import os import cntk as C import numpy as np 轻松愉快.
处理 CSV 数据格式
第一行不用管
1234567890,0,0,...,255,0 一行一张图, 第一个是数字, 后面是28x28个0-255的灰度值.
可以用 pandas 之类的又麻烦又难用的库.
不如自己写个小函数.
def csv_reader(filename, batch_size = 1, is_test = False): with open(filename, &amp;#39;r&amp;#39;) as f: f.</description>
    </item>
    
  </channel>
</rss>
