Machine Learning tasks can be performed in two ways:
1. Supervised Learning (Labeled Data)
2. Unsupervised Learning(Unlabeled Data)
A task is supervised if you are using labled data we use the term labeled to refer to that data already contains the solutions, called labels.
Atask is considered to be unsupervised if you are using unlabeled data.This means you don’t need to provide the model with any kind of label or solution while the model is being trained.
Major steps in Machine Learning Process
Step1 : Define the Problem
Step2 : Build the Dataset
Step3 : Train the model
In this Blog I have created a Web Application for Docker (one of the great Containerization Tool which provides the user Platform as a Service (PaaS))
This app will help the user to run all the docker commands like:
👉docker rm -f
Before we start further we need a sever side code which will interact with the web server and run the python code on backend for that we need to understand what is CGI programming.
In computing, Common Gateway Interface (CGI) is an interface that enables web servers to execute an…
What are we doing in this blog,
When Python code recognizes your face then it should send mail to any mail-id and also send a WhatsApp message to your friend.
And then launch a AWS EC2 instance and also attach 8gb EBS volume to EC2 on the fly.
So let’s get started.
We will need our face dataset so first, we generate the 100 images of our face data through the program.
we will import the library like cv2, numpy, os, pywhatkit, datetime, subprocess, smtplib, etc. we have used a haarcascade classifier to detect the only face. we have captured…
For Camera live-streaming app over the network, TCP(Transmission Control Protocol) or IP(Internet Protocol )could be rely upon. This method allows a large piece of information or data let it be in the form of image of burst images forming a video to be transmitted reliably, as it manages how a larger packet being broken into smaller packets to be transmitted and again reassembled in the right order at the the destination without losing the property.
Another known network protocol is UDP (User Datagram Protocol). The use of this protocol is for faster data transmission over a network. …
OpenCV provides many drawing functions to draw geometric shapes and write text on images. Let’s see some of the drawing functions and draw geometric shapes on images using OpenCV.
Images is a 3D array if it is colourful. Since computers are not intelligent they do not understand colours. They store this data in the form of data in a array format.
Images is a combination of multiple pixels in other words Pixels is the smallest unit of a Image. Values put in this array are in the form of RGB(Red,Green,Blue) ranging from 0 to 255.
OpenCV library, cv2 module stores…
A confusion matrix is a table that is often used to specify the performance of a classification model (or “classifier”) on a set of test data for which the Actual values are known to us. When we want to measure the effectiveness of our trained model. And it is where the Confusion matrix comes into the show . Confusion Matrix is a performance measurement for machine learning classification
In this blog, we will launch two GUI applications (Firefox and Juypter Nootbook) inside a docker container.
First of all after installing docker and starting its services. you need to pull one docker image.
Pull one image. here I am pulling centos image
Steps to be followed to achieve this task
Pull the Docker container image of CentOS image from DockerHub and create a new container
Install the Python software on the top of docker container
In Container you need to copy/create machine learning model which you have created in jupyter notebook
· Docker should be installed on your system.
First of all, we need to check whether docker is installed or not. We can check using docker — version command. Then start the docker service using command systemctl start docker.
Now, that we have docker service running on our RedHat 8…