Last active
August 29, 2015 14:13
-
-
Save bwallace/88abb3907a10e48279a4 to your computer and use it in GitHub Desktop.
pico SDS
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 cochranenlp | |
cd cochranenlp # assuming you're in ipython-like environment... | |
from sds import pico_SDS | |
# this will take a long time, especially the first time | |
# because it should generate pickles of y_dict and the | |
# corresponding vectorizers. this will happen in | |
# experiments/pico_DS. these should be saved to disk | |
# in the sds subdirectory. therafter, you can elide the | |
# y_dict_pickle argument and use the default | |
pico_SDS.run_DS_PICO_experiments(y_dict_pickle=None) | |
# run the SDS strategy as currently implemented | |
pico_SDS.run_DS_PICO_experiments(strategy="sds") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment