Hello all, so few days back I attended Master Session on DYNAMIC PROGRAMMING on 14th and 15th August under the mentorship of Vimal Daga Sir.

It was really an amazing Session were sir not only taught us Dynamic programming, but he also guided us how to train the mind and think with approach. It’s really a blessing getting a mentor like him. Key things I learned during the session are:

  1. How to think and learn the thing with write Approach.

What is K-means Clustering?

K-means clustering is considered an unsupervised learning method since we don’t have the ground truth to compare the output of the clustering algorithm to the true labels to evaluate its performance. We only want to try to investigate the structure of the data by grouping the data points into distinct subgroups.

The way kmeans algorithm works is as follows:

  1. Specify number of clusters K.

Learnings and self-reflection!!

Learned about software as a service. Software as a Service or SaaS is a way of delivering applications over the Internet — as a service.

Learned about CRM.

What does CRM do?

Actively tracks and manages customer information.

Connects your entire team from any device.

Intelligently captures customer emails.

Simplifies repetitive tasks so you can concentrate on leads.

Delivers instant insights and recommendations.

Extends and customises as your business grows.

3. Learned to create webapp.

4. Learned about Force.com which is a Platform as a Service (PaaS) product designed to simplify the development and deployment of cloud-based applications and websites. Force.com is owned by Software as a Service (SaaS) vendor Salesforce.com, who calls the product a social and mobile app development platform.
5. Learned how to use trailhead for learning and creating application.

6. And the workshop was followed with information quizes.


What is JavaScript?

JavaScript is a text-based programming language used both on the client-side and server-side that allows you to make web pages interactive. Where HTML and CSS are languages that give structure and style to web pages, JavaScript gives web pages interactive elements that engage a user. Common examples of JavaScript that you might use every day include the search box on Amazon, or refreshing your Twitter feed, Linkedin, search box of google, etc.

Incorporating JavaScript improves the user experience of the web page by converting it from a static page into an interactive one. …


I have used instances of aws as my target instance which was running on Amazon Linux Operating system. So OS same is Amazon.

I have created Amazon.yml file which containes the variable which are required for the configuration of web-server. Below is the image of code:

Variable file

I created one playbook named LV.yml for configuring the tasks. Below is the picture of the code.


Requirements:

  1. AWS account.

We can configure webserver on AWS using two logic. One is we can launch the instance manually on AWS take its public IP address and put it in the inventory file of ansible and after that run the playbook for webserver configuration. Another way is we do all the thing with the help of ansible, i.e., from launching ec2 instance till configuring web server all will be taken care by…


We are going to see today that how we can provision three ec2 instance on AWS and configure HAProxy on it in singe click using ansible.

Requirements:

  1. Ec2.py and ec2.ini files are mandatory as these files are the one which help us in implementing the dynamic inventory concept. click here to download the files.


How can we perform video call without audio?

Fist thing we should know is that we need socket programming to transfer the video frame.

Socket programming is the way by which we can transfer the data from one person to other. The only condition is that we need to transform the data into bytes before sending it.

After we connect the sockets successfully we we need to capture the image in while loop and keep on converting it to byte and send it to other person.

we also need to use threading as simultaneously we need to send and recieve the data. SO we can create one “send”…


What we are going to see in this blog?

  1. Creating one drawing using cv2 module.

How can we draw image using cv2?

Well there are many function in cv2 which has the capability to draw line circle, rectangle, lines, etc. I have used few of those function to draw a house and a person. Below is image of my code snippet and the output.


What is Confusion matrix?

The confusion matrix is one of the most popular and widely used performance measurement techniques for classification models. While it is super easy to understand, its terminology can be a bit confusing.
Therefore, keeping the above premise under consideration, this article aims to clear the “fog” around this amazing model evaluation system.
To get things started, I have included a working example of this matrix to make things simple and easy to understand. However, the application of this technique can be used in more than two classes.

Understanding Accuracy Of Confusion Matrix

Accuracy is defined as the number of true positives and negatives divided by…

Rahul Keshari

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