Behind the curtains on montecarlo sampling methods

Recently I’ve been going through the incredible book by Prof Elreath on statistical rethinking; it’s quite a good book to wrap your head around bayesian approach on causual analysis, as the book progress and starts to stack more and more concept together it reaches a point where a more sophisicated approach to sample the posterior probability will be required. Hence by the

Read More

Trabajar NLP basico con spacy

R studio crash

Spacy es una herramienta para trabajar problemas relacionados con lenguaje, con un amplio soporte de lenguajes provee una sintaxis intuitiva para operar en ambitos linguisticos.

Read More

Deploying Machine learning model a simplistic approach

There are many phases when it come building a machine learning solution, from data preprocessing all the way to deployment, many of them with their sets of challenges and nuances, today let’s explore a simplistic approach to deploying a trained keras model that classify images of dogs and cats in a Flask application.

Read More

Predicting a legendary pokemon through Logistic regression in R

R studio crash

Recently I stumble with a pokemon dataset, and for anyone growing up in the 2000’s this brough up good memories, so of course I decided to take a peek into it. Let’s try to use logistic regression for predicting wether a pokemon would be a legendary based on features available, in the process we can look at how quickly explore the dataset with ggplot, splitting on training/testing, work with imbalance classes and looking at the result.

Read More

Text classification modelling with tidyverse, SVM vs Naivebayes

It’s been a while since I wrote something, years actually, but here we go. Modelling is at the core of statistical learning, it allows us to make use of different techniques usually to predict, classify or find pattern within a particular dataset. USually the workflow involves a preprocessing with several tecniques and decision, such as imputation, omitting na, normalization, centering, and so on. Here I want to explore how the tidyverse has created an ecosystem that allows for fast and simple use of different modelling for comparison.

Read More

Some link to learn SQL

Well I have little to no time to write lately, but I still want to post something so here it goes a quick set of links for learning SQL (free of course). The relationship between SQL and data science is obvious, almost all companies have a relational database to store and extract data as part of their day-to-day operation, so is a must have. So here is the list of link to learn SQL

Read More

EM Algorithm on linear model clusters in R

Let’s together explore another technique that it has several application which includes parameter estimation on mixtures models or hidden markov models, data clustering, and discovering hidden variables - EM Algorithm applications. To grasp the power of EM-Algorithm let’s considered an always familiar and simple linear models, and try to discover from which model was the points originated (clustering) with an iterative approach.

Read More

K-means from scratch

K-means is an incredibly simple algorithm, with a concepts that can easily be explained to anyone. But in order to understand something better sometimes is nice to build it from scratch. R and python both have some amazing libraries for clustering, but the beauty of K-means lies in the fact in that is so simple that its implementation can fit into a tutorial like this one.

Read More

Where to begin

So are you exited about all the news about machine learning you’ve heard lately? I sure was a year ago, and it does not take too much times to find a significant amount of information to start with. Fortunately now there is a lot to start so I wanted to make a list of videos, articles, books that I’ve found to be incredible useful to start with machine learning.

Read More

Welcome to travel through AI

Let’s talk Artificial intelligence, not only machine learning. I wanted to make an instructive manual on different AI content that I’ve come across in the forms of articles, concepts, practical examples, tutorial or trending news related to it. I’ll try to brief and concrete as possible without water down some important concepts, thanks for reading, see you soon.