Skip to content

Instantly share code, notes, and snippets.

View martinapugliese's full-sized avatar
🙌

Martina Pugliese martinapugliese

🙌
View GitHub Profile

A collection of little libraries that help workflow

TQDM

Shows progress bar in a notebook's cell.

for i in tqdm(range(10), 'wasting time', unit='iterations wasted'):
    sleep(0.5)
# Imports
import pandas as pd
import numpy as np
from scipy.stats import entropy
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import train_test_split
from sklearn.metrics import classification_report
from matplotlib import pyplot as plt