Learn Python
Learn Data Structure & Algorithm
Learn Numpy
Learn Pandas
Learn Matplotlib
Learn Seaborn
Learn Statistics
Learn Math
Learn MATLAB
Learn Machine learning
Learn Github
Learn OpenCV
Introduction
Setup
ANN
Working process ANN
Propagation
Bias parameter
Activation function
Loss function
Overfitting and Underfitting
Optimization function
Chain rule
Minima
Gradient problem
Weight initialization
Dropout
ANN Regression Exercise
ANN Classification Exercise
Hyper parameter tuning
CNN
CNN basics
Convolution
Padding
Pooling
Data argumentation
Flattening
Create Custom Dataset
Binary Classification Exercise
Multiclass Classification Exercise
Transfer learning
Transfer model Basic template
RNN
How RNN works
LSTM
Bidirectional RNN
Sequence to sequence
Attention model
Transformer model
Bag of words
Tokenization & Stop words
Stemming & Lemmatization
TF-IDF
N-Gram
Word embedding
Normalization
Pos tagging
Parser
semantic analysis
Regular expression
Learn MySQL
Learn MongoDB
Learn Web scraping
Learn Excel
Learn Power BI
Learn Tableau
Learn Docker
Learn Hadoop
Look in this problem, I will use four different types of disease of strawberry and will try to classify those
disease. Here the classes or disease will be angular leaf spot, gray, leaf spot, powdery mildew leaf.
So to prepare the dataset:
At first create folder. The inside that folder create four different folders for four different classes of
disease. You can give any name of these folders but I will use the disease name. Now search the on the
internet for these disease images. Now download and put the disease images in the folder. Four disease put in
four folders. Be Careful about mixing of the images.
Suppose we give cat and dog images to our CNN model and then it predicts that is it a cat or dog. So our model
learns from a normal cat image but when we give a new cat image then that image can be flipped, rotated,
horizontally shifted, vertically shifted, etc. So in data preprocessing, we create different images from one
image.
Suppose we will take a cat image and will create a flipped image, rotated image, zoom image, etc images so
that when our CNN model gets a flipped image of a cat it can recognize that cat image.
In the output after defining the directory we will see:
Found 144 images belonging to 4 classes means,
it found total 4 classes and took 144 images for training
Found 12 images belonging to 4 classes,
it found total 4 classes and took 12 images for testing.