This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def compare_on_dataset(data, target_variable=None, lr=0.001, patience=150): | |
from IPython.display import display | |
df = ( | |
pd.read_csv(data) | |
# Rename columns to lowercase and underscores | |
.pipe(lambda d: d.rename(columns={ | |
k: v for k, v in zip( |