Skip to content

Instantly share code, notes, and snippets.

View jszaday's full-sized avatar

Justin Szaday jszaday

  • Bay Area, CA, USA
View GitHub Profile
@monocongo
monocongo / transform_to_supervised.py
Created July 26, 2018 12:58
Transform multivariate time series forecasting problems into supervised learning problems (Pandas DataFrame transformation)
import pandas as pd
def transform_to_supervised(df,
previous_steps=1,
forecast_steps=1,
dropnan=True):
"""
Transforms a DataFrame containing time series data into a DataFrame
containing data suitable for use as a supervised learning problem.
_
_._ _..._ .-', _.._(`))
'-. ` ' /-._.-' ',/
) \ '.
/ _ _ | \
| a a / |
\ .-. ;
'-('' ).-' ,' ;
'-; | .'
\ \ /
@sterin
sterin / CMakeLists.txt
Last active November 7, 2022 12:28
An example showing how to use sub interpreters and threads in Python
cmake_minimum_required(VERSION 2.8.4)
project(py1)
find_package(PythonLibs REQUIRED)
include_directories(${PYTHON_INCLUDE_DIRS})
ADD_DEFINITIONS( -std=c++11 )
set(SOURCE_FILES main.cpp)
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active June 28, 2024 10:38
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\