Posts

Machine Learning:Algorithms

Image
KMeans Algorithm Starting from the basics of KMeans first, to understand KMEANS we need   to understand first what is the meaning of KMeans. The word KMeans, we have two words K and Means which corresponds to number of clusters and their mean values respectively. Goal of the Algorithm: -   To calculate the center of each of the given clusters by taking the mean of all of the points present in each of the cluster. Steps of this Algorithm: - 1)    Start by having a random number of points according to the number of clusters as their centroids. 2)    Now, we have to assign each point to its nearest cluster by calculating the distance of that point from all the points present in the various clusters. Like this all points will be assigned to a particular cluster. 3)    Find the new center of the cluster by taking the mean of all the points in that respective cluster, and assign that mean to that random point. So, from now each ra...

Artificial Intelligence : Agents

Image
When we talk about Artificial Intelligence we need to talk about the way it interacts with the environment. Artificial Intelligence interacts with the environment through an agent. Now let's talk about agents. What is an Agent? According to me, an agent is anything that can be viewed as perceiving its environment through sensors and acting upon its environment through the actuator. Humans are also agents as they have eye, ear and other organs as sensors and hand, legs etc act as an actuator. Now, If we talk about robots then there are robotic agents. Now let's talk in deep about the robotic agent. Robotic agents Sensors: Sensors and infrared rangefinder Actuator: Various Motor Robotic Agent on the basis of their behavior in the environment are classified as:- 1)Well Behaved Agent 2)Non-Well Behave Agent Do you know about the well-behaved agent? For each possible percept sequence, a rational agent should select an action that is excepted...

Open CV

Image
OpenCV OpenCV(Open Source Computer Vision) is a cutting-edge field of computer science that aims to enable the computer science that aims to enable computers to understand what is being seen in an image. It is written in C++. According to Wikipedia, "OpenCV is a library of programming that mainly aimed at real-time computer vision. It was originally created by Intel for CPU optimization of intensive applications" According to me,"OpenCV helps computers to see the outside world the way we do, It is an attempt to provide vision to computers like humans to increase their efficiency" Here In the logo of OpenCV O, C, V  are arranged in a triangle Why we use python in OpenCV? It stores the image in Numpy arrays which allow us to do some very powerful operation quite easy and its extremely powerful language for machine learning. Basic of Computer Vision & Open CV Do you Know what is Image? It is a 2-dimensional representation of the vis...

Artificial Intelligence

Image
What is Artificial Intelligence?                              Conversing with computers in a natural language has always been a dream for humanity. Different people have a different opinion about artificial intelligence: According to Webster Dictionary, it is "The ability to learn and solve problems" According to Wikipedia, "It is the intelligence exhibited by machine or software" Now my definition to AI is  "The study and design of intelligent agent, where an intelligent agent is a system that tries to perceives its environment the way we do, study it and takes the action that maximizes its chance of success." Why is Artifical Intelligence needed?                                   Just as the industrial revolution has freed up a lot of humanity from physical drudgery.AI has the potential t...