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
import numpy as np | |
from numbers import Integral | |
from sklearn.externals import six | |
from sklearn.tree.export import _color_brew, _criterion, _tree | |
def plot_tree(decision_tree, max_depth=None, feature_names=None, | |
class_names=None, label='all', filled=False, | |
leaves_parallel=False, impurity=True, node_ids=False, |
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
import cvxpy as cvx | |
n_students = 130 | |
n_projects = 30 | |
assignment = cvx.Int(rows=n_students, cols=n_projects) | |
import numpy as np | |
rng = np.random.RandomState(0) | |
project_preferences = rng.rand(n_students, n_projects) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
from github import Github | |
gh = Github("SECRETKEY") | |
rep = gh.get_repo("scikit-learn/scikit-learn") | |
org = gh.get_organization("scikit-learn") | |
org_members = list(org.get_members()) | |
import datetime | |
n_commits = {} | |
limit = datetime.datetime(2017, 1, 1) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer