How to model time-to-event and ‘time between events’ on real data using the Exponential Family to optimize returns of time driven investments.

Screenshots from within the article.


The meaningful features your model is missing maybe a one-liner away.

1. Theory

Image by Author.

Boosting Performance by Generating Features from External Data with Python.

Seattle Landscape; image from


What we’ll do

  • Step 1: Explore the Seattle Housing Prices Data
  • Step 2: Create a Price Prediction Model
  • Step 3: Add Features from External Data
  • Step 4: Compare and Analyze Results

Step 1. Explore the Seattle Housing Prices Data

Visual credit


Simplicity is key

Photo of Google Headquarters from source.


It’s simpler than you think.

Image from


Minimize cost Function

What we’ll do

  • Step 1: Define and understand Data and Target
  • Step 2: Make a Simple Forecast Model
  • Step 3: Improve it by…


Image taken from

What we’ll do

  • Step 1: Set up technical prerequisites
  • Step 2: Get the data for daily Amazon Candles since 2017
  • Step 3: Define and understand target for ML
  • Step 4: Blend business news to our data and understand tokens
  • Step 5: Prepare our data and apply ML
  • Step 6: Measure and analyze results
  • Step 7: Break the data and train/test through time

Step 1. Prerequisites

  • Have Python…

A step-by-step tutorial using Python.

Image from

A Study of Each Swing State’s Key Drivers Using Machine Learning.


Which candidate will leverage the concepts that influence the voters’ behavior the most?

Federico Riveroll

An attempt to separate signal from noise. | MSDS

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