Skip to content

Instantly share code, notes, and snippets.

View narviis's full-sized avatar

narviis narviis

View GitHub Profile
@narviis
narviis / FeatureEngineeringBestPractices.md
Created October 24, 2016 11:10
This Gist is intended to be a complete guide and reference to feature engineering best practices.

Feature Engineering Best Practices

Background

This is a work in progress. There are a lot to be done so your assistance and involvement is more than encouraged.

Intro

There are a lot of best practices to feature engineer that we almost aways forget some of them when working on a dataset. This guide is intended to be a quick reference that will list all the best practices when dealing with different types of features either continuous or categoricals.

Guide

@narviis
narviis / read_kinesis_streams.py
Created May 13, 2017 04:36
Read data from Amazon Kinesis Streams
import boto3
# add your stream name
STREAM_NAME = '<stream_name>'
UPDATE_ITER_FREQ = 100
LIMIT = 2
client = boto3.client('kinesis')