Skip to content

Instantly share code, notes, and snippets.

View formatkaka's full-sized avatar
🎯
Less to Read !!

Siddhant formatkaka

🎯
Less to Read !!
View GitHub Profile
from sklearn.datasets import load_iris
from sklearn.ensemble import RandomForestClassifier
import pandas as pd
import numpy as np
iris = load_iris()
df = pd.DataFrame(iris.data, columns=iris.feature_names)
df['is_train'] = np.random.uniform(0, 1, len(df)) <= .75
df['species'] = pd.Categorical.from_codes(iris.target, iris.target_names)
df.head()
@formatkaka
formatkaka / frontendDevlopmentBookmarks.md
Created March 22, 2016 12:37 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.