GithubHelp home page GithubHelp logo

neural-network's Introduction

Neural-Network

Python实现神经网络算法识别手写数字集

MNIST数据集基于美国国家标准与技术研究院的两个数据集构建而成。 训练集中包含250个人的手写数字,其中50%是高中生,50%来自人口调查局。 每个训练集的数字图片像素为28x28。 MNIST数据集可通过 下载链接 下载,它包含以下内容:

  • 训练集图像:train-images-idx3-ubyte.gz,包含60000个样本
  • 训练集类标:train-labels-idx1-ubyte.gz,包含60000个类标
  • 测试集图像:t10k-images-idx3-ubyte.gz,包含10000个样本
  • 测试集类标:t10k-labels-idx1-ubyte.gz,包含10000个类标

关于神经网络算法的详解太过复杂,本人水平有限便不再描述,我这里只给出代码。若想了解详情请移步谷歌或者百度。

代码文件为load_mnist.py

代码测试结果:
result

代价函数图像:
test_img

测试错误样本:
error

测试正确样本:
correct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.