当前位置:网站首页>MNIST是什么(plist是什么意思)
MNIST是什么(plist是什么意思)
2022-08-01 11:07:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
初始的迷茫
我想很多菜鸟和我一样,开始零基础学习机器学习,没办法火啊,为了钱大家都是冲呀。估计很多人开始学习ML,就一头雾水,完全不知道在说什么。因为学习模式和学习其他语言完全不同,我们知道学习其他语言的时候,第一个程序就是打印“Hello World”。
其实机器学习是在某个框架下,使用某种语言,来解决问题。因此对于零基础的菜鸟而言,我们需要先学习好某种语言,可以推荐Python,因为功能强大,而且语法相对简单,也可以使用C++。框架呢,个人推荐是TensorFlow2,因为google的大腿粗啊。
什么是MNIST
建议在了解Python后,开始在TF2的框架下进行。
机器学习的入门就是MNIST。MNIST 数据集来自美国国家标准与技术研究所,是NIST(National Institute of Standards and Technology)的缩小版,训练集(training set)由来自 250 个不同人手写的数字构成,其中 50% 是高中学生,50% 来自人口普查局(the Census Bureau)的工作人员,测试集(test set)也是同样比例的手写数字数据。
获取MNIST
MNIST 数据集可在http://yann.lecun.com/exdb/mnist/获取,图片是以字节的形式进行存储,它包含了四个部分:
- Training set images: train-images-idx3-ubyte.gz (9.9 MB, 解压后 47 MB, 包含 60,000 个样本)
- Training set labels: train-labels-idx1-ubyte.gz (29 KB, 解压后 60 KB, 包含 60,000 个标签)
- Test set images: t10k-images-idx3-ubyte.gz (1.6 MB, 解压后 7.8 MB, 包含 10,000 个样本)
- Test set labels: t10k-labels-idx1-ubyte.gz (5KB, 解压后 10 KB, 包含 10,000 个标签)
此数据集中,训练样本:共60000个,其中55000个用于训练,另外5000个用于验证。测试样本:共10000个,验证数据比例相同。
数据集中像素值:
a)使用python读取二进制文件方法读取mnist数据集,则读进来的图像像素值为0-255之间;标签是0-9的数值。
b)采用TensorFlow的封装的函数读取mnist,则读进来的图像像素值为0-1之间;标签是0-1值组成的大小为1*10的行向量。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/126875.html原文链接:https://javaforall.cn
边栏推荐
- Generate certificates using KeyStore
- Solve vscode input! Unable to quickly generate skeletons (three methods for the new version of vscode to quickly generate skeletons)
- 语音聊天app源码——语音聊天派对
- Several methods of appending elements are commonly used in js: append, appendTo, after, before, insertAfter, insertBefore, appendChild
- 大众碰到点评的一个字体反爬,落地技术也是绝了
- 新书上市 |《谁在掷骰子?》在“不确定性时代”中确定前行
- 迁移学习冻结网络的方法:
- The first experience of Shengsi large model experience platform——Take the small model LeNet as an example
- Why Metropolis–Hastings Works
- Introduction to data warehouse layering (real-time data warehouse architecture)
猜你喜欢

Mini Program Graduation Works WeChat Food Recipes Mini Program Graduation Design Finished Products (4) Opening Report

一文说明白ECDSA spec256k1 spec256r1 EdDSA ed25519千丝万缕的关系

C#/VB.NET 将PPT或PPTX转换为图像

Drawing arrows of WPF screenshot control (5) "Imitation WeChat"

千万级乘客排队系统重构&压测方案——总结篇

Promise learning (2) An article takes you to quickly understand the common APIs in Promise

Jenkins安装插件遇到的问题

WPF 截图控件之绘制箭头(五)「仿微信」

如何从完美的智能合约中窃取 1 亿美元

Flutter Widget 如何启用和屏蔽点击事件
随机推荐
上周热点回顾(7.25-7.31)
Qt supports HEIC/HEIF format images
深度学习 | MATLAB实现一维卷积神经网络convolution1dLayer参数设定
Mysql索引相关的知识复盘一
What is a stepper motor?40 pictures to show you!
WPF 截图控件之绘制箭头(五)「仿微信」
The first experience of Shengsi large model experience platform——Take the small model LeNet as an example
Pve delete virtual machine "for a collection"
OpenHarmony高校技术俱乐部计划发布
Hot review last week (7.25 7.31)
【cartographer ros】10: Delay and error analysis
Mini Program Graduation Works WeChat Food Recipes Mini Program Graduation Design Finished Products (2) Mini Program Functions
Drawing arrows of WPF screenshot control (5) "Imitation WeChat"
July 31, 2022 -- Take your first steps with C# -- Use C# to create readable code with conventions, spaces, and comments
2022年中盘点 | 产品打底,科技背书,广汽集团阔步向前
从零开始Blazor Server(4)--登录系统
图解MySQL内连接、外连接、左连接、右连接、全连接......太多了
Cross-domain network resource file download
玻璃拟态(Glassmorphism)设计风格
Browser shortcut keys