当前位置:网站首页>The difference between online learning and offline learning
The difference between online learning and offline learning
2022-07-24 07:55:00 【Sanmao, Tuo】
Online Learning And Offline Learning
The first understanding
Online learning
Online learning , Usually input one piece of data at a time ( Instead of a batch), After training, update the weight directly . Process the data sequentially one by one , But the weight will be updated directly after each data training , But I don't know whether it's right or wrong , If a weight update is wrong , After that, the weight update may always be wrong , The resulting model may gradually go in the wrong direction , Residual error appears . Online learning first processes data in sequence , They produce a model , And put this model into practice , There is no need to provide a complete training data set at the beginning . As more real-time data enters the model , The model will be constantly updated during operation
Offline learning
Offline learning , Similar to batch learning , Suppose the whole sample has m Data , Offline training will train m The number of integral multiples of , Then bring in the next , Run the whole sample , At this time, the error rate may not satisfy you , Do the above operation again for the whole sample , Until the error is very small . Offline learning is a batch Update the weight after training , Therefore, all data must be in every training operation (batch) It's all available in , In this way, the network will not be brought to the extreme because of the update error of individual data .
The second understanding
In online learning , On the contrary , Online algorithms process data sequentially . They produce a model , And put this model into practice , There is no need to provide a complete training data set at the beginning . As more real-time data arrives , The model will be constantly updated during operation
In offline learning , All training data must be available during model training . Only after training , Models can be used . In short , Train first , Reuse model , Don't use the model until you finish training .
Simply speaking
Online learning : One sample is trained , Update weights directly
Offline learning : All samples are trained , Update the weight
边栏推荐
- A simple mobile terminal todo
- RBM contrast divergence
- 基于VSCode聊聊编译器那些事儿
- Jetson AgX Orin source change
- Why is knowledge base important? This is the best answer I've ever heard
- QT | string generation QR code function
- Selenium basic knowledge automatically login Baidu online disk
- Debug No3 multi texture overlay
- 2022-07-23:给定N件物品,每个物品有重量(w[i])、有价值(v[i]), 只能最多选两件商品,重量不超过bag,返回价值最大能是多少? N <= 10^5, w[i] <= 10^5, v
- 学习笔记总结篇(一)
猜你喜欢

2021-06-03pip error valueerror: unable to find resource t64.exe in package pip_ vendor.distlib

生成模型与判别模型

Selenium basic knowledge paging processing
![[Beijiao] image processing: basic concepts, image enhancement, morphological processing, image segmentation](/img/b3/76d2bcdf4b9769fb6308b7dac9ceb5.jpg)
[Beijiao] image processing: basic concepts, image enhancement, morphological processing, image segmentation

从零开始C语言精讲篇3:函数

Introduction to C language II. Functions

Implement a queue with two stacks.

About using the alignment function of VMD

Vertex buffer and shader (the cherno + leranopongl) notes

HCIP第七天
随机推荐
DevOps随笔
简易网闸-内网服务器安全获取外网数据
MS SQL Server 2019 learning
Introduction to C language III Array 4. Operators
JMeter stress test index interpretation
Debug NO2 check for errors according to the process
*Code understanding *numpy basic (plus code) that must be understood
Generative model and discriminant model
CentOS 7 install mysql5.6.37
NFT概念究竟是怎么回事。。全面了解NFT市场、技术和案例
2022-07-23: given n items, each item has weight (w[i]) and value (v[i]), only two items can be selected at most, and the weight does not exceed bag. What is the maximum return value? N <= 10^5, w[i] <
Selenium basic knowledge paging processing
Selenium basic knowledge automatic search
Appium use
App performance test case
Debug No3 multi texture overlay
Vertex buffer and shader (the cherno + leranopongl) notes
Function analysis of e-commerce website development and construction
【sklearn】PCA
When does MySQL use table locks and row locks?