Skip to content

Instantly share code, notes, and snippets.

View dshurick's full-sized avatar

Devon Shurick dshurick

View GitHub Profile
from pathlib import Path
import joblib
from mlflow.models import Model
from mlflow.tracking.artifact_utils import _download_artifact_from_uri
rsf = RandomSurvivalForest(n_estimators=100, min_samples_leaf=10, random_state=0)
rsf.fit(train_set[["rolling_prospects", "rolling_n"]], train_y)
@dshurick
dshurick / git-tag-delete-local-and-remote.sh
Created April 21, 2019 18:24 — forked from mobilemind/git-tag-delete-local-and-remote.sh
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
@dshurick
dshurick / pypi-release-checklist2.md
Last active April 21, 2019 18:25 — forked from audreyfeldroy/pypi-release-checklist2.md
My PyPI Release Checklist 2 (now with bumpversion)
  • Update HISTORY.rst
  • Commit the changes:
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
  • Update version number (can also be patch or major)
bumpversion minor
@dshurick
dshurick / # perl - 2018-02-09_11-31-18.txt
Created February 9, 2018 19:36
perl on macOS 10.13.3 - Homebrew build logs
Homebrew build logs for perl on macOS 10.13.3
Build date: 2018-02-09 11:31:18