The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are NOT linearly separable from each other.
-sepal length in cm
-sepal width in cm
-petal length in cm
-petal width in cm
1.Iris Setosa
2.Iris Versicolour
3.Iris Virginica
- Import Module
- Loading the dataset
- Preprocessing the dataset
- Exploratory data analysis
- Correlation Matrix
- Label encoder
- Model traning
- Apply different Models and select Perfect one
1.pandas
2.matplotlib
3.seaborn
4.scikit-learn
1.Logistic Regression
2.K-Nearest Neighbors
3.Decision Tree
Data given total trade quantity and turnover and we have to forecaste for next days what is the turnover in lacs.Features is given as Date , open , high , low , last and close . LSTM - Long Short-Term Memory (LSTM) networks are a type of recurrent neural network capable of learning order dependence in sequence prediction problems. This is a behavior required in complex problem domains like machine translation, speech recognition, and more. LSTMs are a complex area of deep learning.
- We will collect the stock data
- Preprocess the Data - Train and Test
- Create an Stacked LSTM Model
- Predict the test data and plot the output
- Predict the future 30 days and plot the output
- Cross Validation Using Randomseed
- Data Preprocessing
- Analysis for next 30 days
Music recommender system can suggest songs to users based on their listening pattern.
In the dataset there are five different files is given for visualization and find meaningful insights from these . They are train dataset , test dataset , members dataset , songs dataset and songs extra information dataset .
- Pandas
- NumPy
- Matplotlib
- IPython
- Seaborn
- Warnings
- Scikit learn
- Importing Necessary libraries
- Importing all the dataset
- Complete Analysis of all the dataset files
- Exploratory Data Analysis
- Handle the missing values
- Merge all the Dataset
- Label Encoding on Categorical Data
- Split the data into train and test Data
- Model Building and Selection of best Model
Model Used:-
- Logistics Regression
- Random forest Classifiers
- CLF
- Decision Tree Classifier
- KNeighborsClassifier
We need to read the image in RBG format and then convert it to a grayscale image. This will turn an image into a classic black and white photo. Then the next thing to do is invert the grayscale image also called negative image, this will be our inverted grayscale image. Inversion can be used to enhance details. Then we can finally create the pencil sketch by mixing the grayscale image with the inverted blurry image. This can be done by dividing the grayscale image by the inverted blurry image. Since images are just arrays, we can easily do this programmatically using the divide function from the cv2 library in Python.
- Import the image
- Read the image in RBG format
- Convert it into grayscale image
- Invert the image called negative image
- Finally create pencil sketch by mixing grayscale and negative image
Perform ‘Exploratory Data Analysis’ on dataset ‘Global Terrorism’.What all security issues and insights you can derive by EDA?.As a security/defense analyst, try to find out the hot zone of terrorism.
Dataset: https://bit.ly/2TK5Xn5
1.Import Necessary Libaries
2.Import the Dataset
3.Filtering Countries with most terrorist attacks.
4.Filtering country names from countries with most terrorist attacks
5.Plotting the data to the bar graph for data of countries with most terrorist attacks.
6.Analysis Using Pie charts
- Pandas
- NumPy
- Matplotlib
- IPython
- Seaborn
- Warnings
- Scikit learn
The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are NOT linearly separable from each other.Same Iris folwer dataset which is called the "Hello World" of machine learning is given.
Create the Decision Tree classifier and visualize it graphically. The purpose is if we feed any new data to this classifier, it would be able to predict the right class accordingly.
-sepal length in cm
-sepal width in cm
-petal length in cm
-petal width in cm
1.Iris Setosa
2.Iris Versicolour
3.Iris Virginica
- Importing all necessary libraries
- Importing Dataset
- Visualization
- Applying Decision tree algorithm
- Making Desicion tree view using plot_tree
1.pandas
2.matplotlib
3.seaborn
4.scikit-learn
5.Warnings
1 .Sepal Length and Sepal Width are Normally Distributed.
2 .Petal Length and Petal Width both are rightly Skewed.
- Decision Tree Algorithm
we will classify handwritten digits using a simple neural network which has only input and output layers. We will than add a hidden layer and see how the performance of the model improves
Begin your neural network machine learning project with the MNIST Handwritten Digit Classification Challenge and using Tensorflow and CNN. It has a very user-friendly interface that’s ideal for beginners.
MNIST stands for “Modified National Institute of Standards and Technology”. It is a dataset of 70,000 handwritten images. Each image is of 28x28 pixels i.e. about 784 features. Each feature represents only one pixel’s intensity i.e. from 0(white) to 255(black). This database is further divided into 60,000 training and 10,000 testing images.
1.Numpy
2.Matplotlib
3. Tensorflow
4. Keras
Keras Sequential model
1.Import the Necessary libraries
2. Import the dataset
3. Create a Model
4. Pre-process the data
5. Compile the Model
6. Train the Model
7. Evaluate the Model
Dataset Link: https://en.wikipedia.org/wiki/MNIST_database
Most of the keyboards in smartphones give next word prediction features; google also uses next word prediction based on our browsing history. So a preloaded data is also stored in the keyboard function of our smartphones to predict the next word correctly.
Using Tensorflow and Keras library train a RNN, to predict the next word.
1.Numpy
2.Matplotlib
3.Pickle
4. Keras
LSTM(Recurrent Neural networks)
- Import the Necessary libraries
- Import the dataset
- Feature engineering
- Building the Recurrent Neural Network
- Training the Model
- Evaluate the Model
- Testing the model