What is Clustering?

“Clustering” is the process of grouping similar entities together. The goal of this unsupervised machine learning technique is to find similarities in the data point and group similar data points together.

The history :

The term “k-means” was first used by james macqueen in 1967 as part of his paper on “some methods for classification and analysis of multivariate observations”. the standard algorithm was also used in bell labs as part of a technique in pulse code modulation in 1957. it was also published by in 1965 by e. w. forgy and typically is also known as the lloyd-forgy method.

What is meant by the K-means algorithm?

K-Means clustering is…


The OSPF (Open Shortest Path First) protocol is one of a family of IP Routing protocols, and is an Interior Gateway Protocol (IGP) for the Internet, used to distribute IP routing information throughout a single Autonomous System (AS) in an IP network.

The OSPF protocol is a link-state routing protocol, which means that the routers exchange topology information with their nearest neighbors. The topology information is flooded throughout the AS, so that every router within the AS has a complete picture of the topology of the AS. This picture is then used to calculate end-to-end paths through the AS, normally…


Describing a Helm chart

Helm has a certain structure when you create a new chart. To create, run “helm create YOUR-CHART-NAME”. Once this is created, the directory structure should look like this:

Copy

YOUR-CHART-NAME/
|
|- .helmignore
|
|- Chart.yaml
|
|- values.yaml
|
|- charts/
|
|- templates/
  • .helmignore: This holds all the files to ignore when packaging the chart. Similar to .gitignore, if you are familiar with git.
  • Chart.yaml: This is where you put all the information about the chart you are packaging. So, for example, your version number, etc. This is where you will put all those details.
  • Values.yaml: This is…

A confusion matrix provides a summary of the predictive leads to a classification problem. Correct and incorrect predictions are summarized during a table with their values and weakened by each class.

Definition of the Terms:
True Positive: You predicted positive and it’s true.

True Negative: You predicted negative and it’s true.

False Positive: You predicted positive and it’s false.

False Negative: You predicted negative and it’s false.

Let me give you an example to better understand this. Suppose we had a classification dataset with 1000 data points. We fit a classifier on it and get the below confusion matrix:


This is very simple , we need to make some changes in ‘xhost’ so that docker container can use DISPLAY of the host .

Here I’ll be using Redhat linux as a host and centos image to launch docker container .

Now you might be thinking what is ‘xhost’ :-

If I give a simple definition then , the xhost command is a server access control program for X server . xhost command adds or deletes host names on the list of machines from which the X Server accepts connections. …


If you all want to know that ,“How can we run our machine learning code on docker ”. Then stick with me till the end , we’ll find it out . :)

I will divide this whole process in steps , so that it will be easy .

Step 1: Pull the Docker container image of CentOS image from DockerHub and create a new container

For this we have a Command , “docker pull centos:latest ” . This command goes to dockerhub and get us the Centos image .


Overview

Below is an overview of what this article covers.

  1. What is MongoDB
  2. What is NoSQL
  3. Differences between SQL and NoSQL
  4. What are the Benefits of NoSQL Databases?
  5. Use-case Toyota Material Handling Europe

> What is MongoDB


Here are some steps we have to follow :

🔅 Launch ec2-instances on AWS Cloud eg. for master and slave.

🔅 Create roles that will configure master node and slave node separately.

🔅 Launch a WordPress and MySQL database connected to it in the respectine slaves.

🔅 Expose the WordPress pod and client able hit the WordPress ip with its respective port.

What is Kubernetes ?

Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling, and management. It was originally designed by Google and is now maintained by the Cloud Native Computing Foundation.

A Kubernetes cluster is a set of node machines for running containerized applications. If you’re running Kubernetes, you’re running a cluster.

At a minimum, a cluster contains a control plane i.e master and one or more compute machines, or nodes. The control plane is responsible for maintaining the desired state of the cluster, such as which applications are running and which container images they use. Nodes actually run the applications…


INTRODUCTION:

🔅 Create Ansible Playbook to launch 3 AWS EC2 Instance
🔅 Create Ansible Playbook to configure Docker over those instances.
🔅 Create Playbook to configure K8S Master, K8S Worker Nodes on the above created EC2 Instances using kubeadm.
🔅 Convert Playbook into roles and Upload those role on your Ansible Galaxy.

FIRST STEP

Launch three ec2 instances on AWS cloud

Jayesh Kumar

Btech ECE pursuing student ....Arth Learner

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store