Posts

Showing posts with the label Reinforcement learning

Opencv python object detection Tutorial (part 1)

Image
OpenCV Python  OpenCV Python hand Tracking Series(Part-1) There are many reasons to detect object using camera which allows system to interact with the environment. Detecting obstacles by self driving car(to avoid them of course:) Can be used in gripping object with robotic arm Servaliance Purpose or may be your professor asked you to do it :( we will use OpenCV python to detect human arm with basic image processing techniques. For this method we require OpenCV and numpy library. In this tutorial we will use color as feature and detect objects. For now we will detect a ball but shape does not matter as we are usingcolor as feature and not shape. There are multiple ways to perform the Task such as Color Feature Background Subtraction Shape Features Sift Features SURF Features Deep learning we will cover all the methods but for now we focus on color features. To start we take a good photo of object you want to Track like the image given below Now let's Start Coding, First import nump...

History of Reinforcement learning (IRL part-2)

History of Reinforcement Learning The early history of reinforcement learning has two main threads, both long and rich, that were pursued independently before intertwining in modern reinforcement learning. One thread concerns learning by trial and error, and originated in the psychology of animal learning. This thread runs through some of the earliest work in artificial intelligence and led to the revival of reinforcement learning in the early 1980s. The second thread concerns the problem of optimal control and its solution using value functions and dynamic programming. For the most part, this thread did not involve learning. The two threads were mostly independent, but became interrelated to some extent around a third, less distinct thread concerning temporal-di↵erence methods. All three threads came together in the late 1980s to produce the modern field of reinforcement learning. The thread focusing on trial-and-error learning is the one with which we are most familiar and about which ...

Introduction to Reinforcement Learning (Part-1)

Image
What is Reinforcement Learning? It is considered to be a part of machine learning in which the agent learn from experience. If you do not know what a agent is then for now consider it as a human child which interact with the environment. An agent keeps on performing task until it perfects the art of performing task. As we know Neural networks were designed to be similar to human brain computation method.  Similarly there are many methods in machine learning which come from human and there Psychology. The word 'Reinforcement' was first coined by Psychologist B.F. Skinner, according to him Reinforcement refer to anything that increases the likelihood that a response will occur. We can understand it from an example in life when we were kids and looked at fire through our eyes(sensors), which is a visual information of environment and a parameter of state and we want to find out about how it taste, can we eat it  as have any idea about what fire is and how it feels then we ha...