GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - salvirahul/ML-using-Jupiter-Notebook-and-Google-Colab

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

130 Commits
130 Commits

Folders and files

NameName
Last commit message
Last commit date
Music Genre Classification
Music Genre Classification
 
 
P2
P2
 
 
P3
P3
 
 
P4
P4
 
 
P5
P5
 
 
P6
P6
 
 
P7
P7
 
 
P8
P8
 
 
Quora Insincere Questions Classification
Quora Insincere Questions Classification
 
 
Real Time Numbers Recognition
Real Time Numbers Recognition
 
 
Spam Detection
Spam Detection
 
 
Text Generator
Text Generator
 
 
k Nearest Neighbor
k Nearest Neighbor
 
 
README.md
README.md
 
 

Repository files navigation

Machine Learning using Jupiter Notebook and Google Colab

Models and Algorithms:

  1. k Nearest Neighbor
  2. Linear Regression
  3. Logistic Regression
  4. Fully Connected Neural Networks
  5. Computer Vision - Blurred Images
  6. OpenCV
  7. Convolutional Neural Network (CNN)

Projects:

  • Spam Detection
  • Text Generator
  • Quora Insincere Questions Classification

What's is the difference between train, validation and test set, in neural networks?

Training Set: this data set is used to adjust the weights on the neural network.

Validation Set: this data set is used to minimize overfitting. You're not adjusting the weights of the network with this data set, you're just verifying that any increase in accuracy over the training data set actually yields an increase in accuracy over a data set that has not been shown to the network before, or at least the network hasn't trained on it (i.e. validation data set). If the accuracy over the training data set increases, but the accuracy over the validation data set stays the same or decreases, then you're overfitting your neural network and you should stop training.

The validation data set is a set of data for the function you want to learn, which you are not directly using to train the network. You are training the network with a set of data which you call the training data set. If you are using gradient based algorithm to train the network then the error surface and the gradient at some point will completely depend on the training data set thus the training data set is being directly used to adjust the weights. To make sure you don't overfit the network you need to input the validation dataset to the network and check if the error is within some range. Because the validation set is not being using directly to adjust the weights of the network, therefore a good error for the validation and also the test set indicates that the network predicts well for the train set examples, also it is expected to perform well when new example are presented to the network which was not used in the training process.

Testing Set: this data set is used only for testing the final solution in order to confirm the actual predictive power of the network.

Also, in the case you do not have enough data for a validation set, you can use cross-validation to tune the parameters as well as estimate the test error.

Cross-validation set is used for model selection, for example, select the polynomial model with the least amount of errors for a given parameter set. The test set is then used to report the generalization error on the selected model.

Early stopping is a way to stop training. There are different variations available, the main outline is, both the train and the validation set errors are monitored, the train error decreases at each iteration (backpropagation and brothers) and at first the validation error decreases. The training is stopped at the moment the validation error starts to rise. The weight configuration at this point indicates a model, which predicts the training data well, as well as the data which is not seen by the network . But because the validation data actually affects the weight configuration indirectly to select the weight configuration. This is where the Test set comes in. This set of data is never used in the training process. Once a model is selected based on the validation set, the test set data is applied on the network model and the error for this set is found. This error is a representative of the error which we can expect from absolutely new data for the same problem.

Models and Algorithms:

  1. k Nearest Neighbor

    • Code
    • Subset of MNIST
  2. Linear Regression

    • Code
  3. Logistic Regression

    • Code
  4. Fully Connected Neural Networks

    • Fully connected neural network that recognizes handwriting numbers from MNIST database (Modified National Institute of Standards and Technology database)
    • MNIST Database
    • Code
  5. Computer Vision - Blurred Images

    • Algorithms for restoring blurred images
    • Using scipy and imageio
    • Code
  6. OpenCV

    • Face Detector on WebCam
    • Camera Recording into file
    • Detecting blue squares from WebCam
    • OpenCV Documentation
    • Code
  7. Convolutional Neural Network (CNN)

    • Code

Projects:

  • Spam Detection

    Methods:

    • Naive Bayes spam filtering
    • K-Nearest Neighbors algorithm
    • Decision Tree learning
    • Support Vector Machine (SVM)
    • Random Forest
  • Code

  • SMS Spam Collection Dataset

  • Text Generator

    Neural Network for generating text based on training txt file using Google Colab. As a base text were used Alice in Wonderland by Lewis Carroll.

  • Code

  • Base text - Alice in Wonderland

  • Formatted text of Alice in Wonderland

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.