AI学习笔记——机器学习中部分易混淆术语解析

in #cn-stem6 years ago (edited)

blue and orange abstract painting

image source from unsplash.com by Paweł Czerwiński

对于机器学习的初学者来说,容易被一些专用术语搞得晕头转向,这篇文章我们就从挑几个容易混淆的概念和术语接解析一下。

1. Batch

在机器学习的过程中,有时候由于样本数量巨大,无法一次性送入模型进行学习,需要分成若干Batch(批次),将样本分批(Batch)送入模型的学习叫做Batch Learning。一个Batch中样本的数量叫做Batch Size

Number of Batches = Number of Samples / Batch Size

当然Batch Learning 不一定要遍历所有样本,Random Batch 就是随机从样本中取batch size数量的样本送入模型中进行学习,就有可能出现样本被重复选择的情况。

2. Iteration(Step)

Iteration, Step 和 Epoch 三个概念最容易混淆,Iteration 和 Step 概念是一致的,表示完成一次学习过程。

对于Batch Learning, 学完一个Batch的过程就是完成一个Iteration 或者 Step。

3. Epoch

一个Epoch是指所有样本都完成了一次训练。对于Batch Learning 来说,需要将样本中所有Batch都学完。

One Epoch = Number of Iterations (Number = Number of Batches)


相关文章

Tensorflow入门——单层神经网络识别MNIST手写数字

Tensorflow入门——多层神经网络MNIST手写数字识别

AI学习笔记——Tensorflow中的Optimizer

Tensorflow入门——分类问题cross_entropy的选择

AI学习笔记——Tensorflow入门

Tensorflow入门——Keras简介和上手


同步到我的简书

https://www.jianshu.com/u/bd506afc6fc1

Sort:  




This post has been voted on by the SteemSTEM curation team and voting trail in collaboration with @curie.

If you appreciate the work we are doing then consider voting both projects for witness by selecting stem.witness and curie!

For additional information please join us on the SteemSTEM discord and to get to know the rest of the community!

Congratulations @hongtao! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You received more than 4000 upvotes. Your next target is to reach 5000 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

You can upvote this notification to help all Steem users. Learn how here!

你那里天气如何?你好!家中可愛的寵物照想要跟大家分享嗎?或是出去玩拍到一些可愛的動物,別忘了到@dpet分享,可以得到@dpet的獎勵喔!如果不想再收到我的留言,请回复“取消”。

Coin Marketplace

STEEM 0.19
TRX 0.18
JST 0.034
BTC 90139.92
ETH 3237.87
USDT 1.00
SBD 2.79