Skip to content

Instantly share code, notes, and snippets.

@aagnone3
Created July 7, 2020 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aagnone3/abef04276d31ce34728a62a9062538e7 to your computer and use it in GitHub Desktop.
Save aagnone3/abef04276d31ce34728a62a9062538e7 to your computer and use it in GitHub Desktop.
hummingbird-deepnote_2.py
import torch
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import mpl_toolkits
from sklearn.datasets import make_classification
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestRegressor
from hummingbird.ml import convert
print('GPU available: %s' % torch.cuda.is_available())
%matplotlib inline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment