Sign in

Data Scientist, Machine Learning Engineer, Electrical and Electronics Engineer, AI Enthusiast. Always reading, researching and learning to fulfill my curiosity.

Hurdles I faced forecasting with multivariate time series data and how I overcame them

Have you ever had a time series with multivariate columns, a time series in which your columns are not in the same size range or even in the same data type, resulting in the inability to apply ARIMA, SARIMAX, or Auto ARIMA models?

I recently came across a similar problem, where I needed to predict the indoor temperature of a building with the building’s minute-by-minute snapshots of indoor temperature, outdoor temperature, and binary boiler status information.


How to create trees and ensemble regression models

Data in the form of a brain
Data in the form of a brain

Regression analysis is a set of statistical processes designed to estimate the relationship between a dependent variable (target, outcome variable, y) and independent variables (predictors, features, X).

Scikit-learn offers built-in supervised and unsupervised learning methods to solve regression problems. In this tutorial, we will examine modeling with decision trees and ensemble methods.

Before you start doing any analysis, the first thing you want to do is to clean your dataset and perform an exploratory data analysis:

  • Check null values
  • Data type transformation
  • Placeholders
  • Check outliers
  • Feature engineering
  • Plot meaningful graphics

Don’t worry if your data is not standardized or if…


An introduction to auto_arima

decorative: house with green lawn in front and palm trees behind
decorative: house with green lawn in front and palm trees behind

Pmdarima (pyramid-arima) statistical library is designed for Python time series analysis. The auto_arima is an automated arima function of this library, which is created to find the optimal order and the optimal seasonal order, based on determined criterion such as AIC, BIC, etc., and within the designated parameter restrictions, that fits the best model to a single variable (univariable) time series.

Pmdarima requires specific Python packages.

!pip install pmdarima
from pmdarima.arima import auto_arima

The model results highly depend on the parameter setting, which can be inspected in the documentation in…


How to create any classification model

Data forming a face
Data forming a face

If you are a beginner in the field of machine learning and are struggling with the mechanics of classification modeling, this article is the roadmap for your classification adventure.

Before getting started, it is important to know what you are looking for. Determine your questions and start exploring the data regarding your questions. This will save you a lot of time and confusion.

For any dataset, the first thing you would want to do is clean your dataset and do exploratory data analysis:

  • Check null values
  • Placeholders
  • Check outliers
  • Feature engineering
  • Plot meaningful graphics

1. Train-Test Datasets

Determine target variable and predictors

Before the train-test split, determine the…


Give life to endless application possibilities…

Google Cloud Vision API is a very powerful tool that can give life to endless application possibilities, combined with Python libraries.

Vision API is Google’s pre-trained model that detects objects and faces, performs image recognition, classification, labeling, and text extraction of printed or handwritten text from images. It allows developers to integrate built-in features easily.

Features of Google Cloud Vision API

1. Face detection

The Vision API can perform feature detection on local image files and remote image URLs. DETECT_FACES and DETECT_FACES_URI functions can perform multiple-face detection within an image, along with the associated key facial attributes, such as emotional state and headwear.


A simple how-to using Python, Pillow, and a few lines of code…

In this article, I will guide you to create your own face recognition in images. For this purpose, I will use the Python face recognition library and Pillow, the Python Imaging Library (PIL).

I chose to use Visual Studio Code since I need to use integrated terminal. First, I start by setting a virtual environment and install pipenv on my terminal.


A Brief Introduction To Spotify

For those who don’t know, Spotify is a Swedish music streaming service, launched in 2008, with roughly a hundred million paid subscribers and another hundred million freemium service users which is an ad supported model. Subscribers drive the 90% of the company’s revenue.

Their business model is primarily to make connection between a beloved product and the consumer.

What is Discover Weekly and The Secret Behind Its Algorithm?

Spotify employs music experts to create thousands of curated playlists. With the increasing demand for more personalized playlists, Spotify launched Discover Weekly in 2015, a computer-generated playlist, updated on Mondays, that provides users custom-made music recommendations for two hours. …

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