Skip to content

Instantly share code, notes, and snippets.

@betatim
Created June 2, 2014 14:42
Show Gist options
  • Save betatim/a0f5c9ef5681e84a5e87 to your computer and use it in GitHub Desktop.
Save betatim/a0f5c9ef5681e84a5e87 to your computer and use it in GitHub Desktop.
sklearn sample weights before they are ready!
$ git clone https://github.com/scikit-learn/scikit-learn.git
$ git remote add pprett https://github.com/pprett/scikit-learn.git
$ git remote add ndawe https://github.com/ndawe/scikit-learn.git
$ git fetch
$ git checkout -b weighted_scores ndawe/weighted_scores
$ git rebase master
$ git checkout master
$ git merge weighted_scores
$ git checkout -b gbrt-sample-weight pprett/gbrt-sample-weight
$ git rebase master
$ git checkout master
$ git merge gbrt-sample-weight
$ python setup.py build_ext --inplace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment