alternative
  • Home (current)
  • About
  • Tutorial
    Technologies
    C#
    Deep Learning
    Statistics for AIML
    Natural Language Processing
    Machine Learning
    SQL -Structured Query Language
    Python
    Ethical Hacking
    Placement Preparation
    Quantitative Aptitude
    View All Tutorial
  • Quiz
    C#
    SQL -Structured Query Language
    Quantitative Aptitude
    Java
    View All Quiz Course
  • Q & A
    C#
    Quantitative Aptitude
    Java
    View All Q & A course
  • Programs
  • Articles
    Identity And Access Management
    Artificial Intelligence & Machine Learning Project
    How to publish your local website on github pages with a custom domain name?
    How to download and install Xampp on Window Operating System ?
    How To Download And Install MySql Workbench
    How to install Pycharm ?
    How to install Python ?
    How to download and install Visual Studio IDE taking an example of C# (C Sharp)
    View All Post
  • Tools
    Program Compiler
    Sql Compiler
    Replace Multiple Text
    Meta Data From Multiple Url
  • Contact
  • User
    Login
    Register

Machine Learning - Overview - Batch Vs Online Machine Learning Tutorial

1] Batch/Offline ML –

Batch learning represents the training of the models at regular intervals such as weekly, bi-weekly, monthly, quarterly, etc. The data gets accumulated over a period of time. The models then get trained with the accumulated data from time to time at periodic intervals not frequently. Batch learning is also called offline learning. The models trained using batch or offline learning are moved into production only at regular intervals based on the performance of models trained with new data. 

 

For example- A student will get placed or not based on the past year's data, because in this the placement data is not accumulated frequently. It will get accumulated at specific intervals of time like yearly, or 6 months, etc. After a year, you pull down your model from the production phase to the development phase, retrained it, and again send it to production by replacing the old model

Another example is the image classification of animals, the dog will dog after 10 years also.

 

Disadvantage-

1] Not useful if data get accumulated frequently.

2] Not useful when the data distribution is changing frequently

3] Take a lot of time and resources like CPU, memory space, etc

 

2] Online ML –

In online learning, the training happens frequently in an incremental manner by continuously feeding data as it arrives or in a small group. Each learning step is fast and cheap, so the system can learn about new data on the fly, as it arrives. The model gets trained frequently in the production phase only.

For example- Netflix train the model and moved the model from development to production to predict the movie based on preference. But within an hour of deployment, many new movies come to Netflix for which the model is not trained. In such a case again Netflix again needs to bring the model to the development phase, retrained it, and send it to production by replacing the old model. This is the case of batch learning, where this model gets failed. 

So, in such case, online learning is used, whenever new data is accumulated, the model gets trained on new datasets frequently in the production phase only.

 

Algorithm- Stochastic Gradient Descent, is the same as linear regression, but it can follow online learning using the partial_fit function. Whenever new data points accumulated, you can call the partial_fit function. It takes less time than offline learning.

Another Library used for online learning is River and Vowpal Wabbit

 

Advantage-

1] Useful if data get accumulated frequently e.g. stock exchange

2] Cost-effective as it uses fewer resources.

3] Fast

 

Disadvantage-

1] Tricky to use

2] Risky (if hacker tries to put biased data online, prevention – anomalies detection, rollback server to the old state

Machine Learning

Machine Learning

  • Introduction
  • Overview
    • Type Of Machine Learning
    • Batch Vs Online Machine Learning
    • Instance Vs Model Based Learning
    • Challenges in Machine Learning
    • Machine Learning Development Life Cycle
  • Machine Learning Development Life Cycle
    • Framing the Problem
    • Data Gathering
    • Understanding your Data
    • Exploratory Data Analysis (EDA)
    • Feature Engineering
    • Principal Component Analysis
    • Column Transformer
    • Machine Learning Pipelines
    • Mathematical Transformation
    • Binning and Binarization | Discretization | Quantile Binning | KMeans Binning
  • Supervised Learning
    • Overview
    • Linear Regression [Regression]
    • Multiple Linear Regression
    • Polynomial Linear Regression [Regression]
    • Bias Variance Trade Off
    • Regularization
    • LOGISTIC REGRESSION [Regression & Classification]
    • Polynomial Logistic Regression
    • Support Vector Machines / Support Vector Regressor
    • Naïve Bayes Classifier [classification]
    • Decision Tree
    • Entropy
    • Information Gain
    • K Nearest Neighbor (KNN)
    • Neural Network (MultiLayer Perceptron)
  • Ensemble Learning
    • Introduction to Ensemble Learning
    • Basic Ensemble Techniques
    • Advanced Ensemble Techniques
    • Random Forest Classifier
    • Boosting
  • UnSupervised Learning
    • Overview
    • K Mean Clustering

About Fresherbell

Best learning portal that provides you great learning experience of various technologies with modern compilation tools and technique

Important Links

Don't hesitate to give us a call or send us a contact form message

Terms & Conditions
Privacy Policy
Contact Us

Social Media

© Untitled. All rights reserved. Demo Images: Unsplash. Design: HTML5 UP.