Skip to content

Instantly share code, notes, and snippets.

View AlainOUYANG's full-sized avatar
🐢
Turtles are cute! Catch them վ'ᴗ' ի !

Zuokun OUYANG AlainOUYANG

🐢
Turtles are cute! Catch them վ'ᴗ' ի !
View GitHub Profile
import numpy as np
import pandas as pd
from sklearn.preprocessing import StandardScaler
def preprocessing(df, n_feats, train_len, win_len, fh):
"""
Preprocess to return training and test batches.
Args: