How to program K Nearest Neighbors

K Nearest Neighbors is a popular classification algorithm for supervised machine learning. It permits to divide data points into groups, defining a model that will then be able to classify an unknown data point in one group or another. The K parameter, defined during programming, allows the algorithm to classify unknown data points by examining the K closest known data points.

KNN classification Continue reading “How to program K Nearest Neighbors”

How to program Linear Regression

One of the simplest supervised machine learning tools used in data science, linear regression permits to find the best-fitting line that correlates data points in a two-dimensional space. Defining this line then enables the prediction of where other data points could be located in the space, if they have the same characteristics as the original data set or if they stand out of it.

Linear Regression graphic

Continue reading “How to program Linear Regression”

Data Science and Machine Learning for Finance

Diving deeper in data science and the actual coding of data processing functions and machine learning algorithms with Python, this series of tutorial gives us a great taste of what can be done in finance and stock trading. Through a hands-on approach, it guides us through the programming needed to retrieve, manipulate and visualize data, and, more importantly, to extract actionable insights.

Stock price chart created with Matplotlib

Continue reading “Data Science and Machine Learning for Finance”

Formalizing social interactions for robot fleets

The development of functional robots makes the management of fleets of robots of critical importance for robotics and the broader artificial intelligence.  The following study aims at formalizing a broad range of social interactions that can be observed in natural environments, standardizing examples for computer programming of complex interactions between different robots.

Robots of Boston Dynamics
Two famous robots of Boston Dynamics: Atlas and SpotMini

Continue reading “Formalizing social interactions for robot fleets”