import os
feature_sets = [os.path.join("data", "sleep_apnea", "1000_labeled_only", s) for s in ["sleep_titles", "sleep_abstracts", "sleep_keywords"]]
import curious_snake
# todo: make learner setup function parameteric so you can pass it in here
curious_snake.run_experiments_hold_out(feature_sets, os.path.join("output", "SA_cofl"), num_runs=10, upto=1000, hold_out_p=.1)
#################################################
#
# run hold out experiments on micro
#
# sample usage (from ipython console)
# >> %run micro_pal_holdout.py
#
##################################################

import os
feature_sets = [
    os.path.join("data", "micro_nutrients", s) for s in ["micro_t_and_a"]
]
import curious_snake

# todo: make learner setup function parameteric so you can pass it in here
curious_snake.run_experiments_hold_out(
    feature_sets,
    os.path.join("output", "micro_combined_ODDS_RATIO_COTESTING"),
    num_runs=10,
    upto=1000,
    hold_out_p=.25)
Ejemplo n.º 3
0
import os
feature_sets = [
    os.path.join("data", "sleep_apnea", "1000_labeled_only", s)
    for s in ["sleep_titles", "sleep_abstracts", "sleep_keywords"]
]
import curious_snake
# todo: make learner setup function parameteric so you can pass it in here
curious_snake.run_experiments_hold_out(feature_sets,
                                       os.path.join("output", "SA_cofl"),
                                       num_runs=10,
                                       upto=1000,
                                       hold_out_p=.1)
Ejemplo n.º 4
0
#################################################
#
# run hold out experiments on proton beam
#
##################################################

import os

# was ".., old, s"
feature_sets = [
    os.path.join("data", "proton_beam", s) for s in ["proton_combined"]
]  # ["proton_titles", "proton_abstracts", "proton_keywords"]]
import curious_snake

# todo: make learner setup function parameteric so you can pass it in here
curious_snake.run_experiments_hold_out(
    feature_sets, os.path.join("output", "proton_cofl_ODDS_RATIO_uncertainty"), num_runs=10, upto=1000, hold_out_p=0.25
)
################################################# 
#
# run hold out experiments on micro 
#
# sample usage (from ipython console)
# >> %run micro_pal_holdout.py
#
##################################################

import os
feature_sets = [os.path.join("data", "micro_nutrients",s) for s in ["micro_t_and_a"]]
import curious_snake

# todo: make learner setup function parameteric so you can pass it in here
curious_snake.run_experiments_hold_out(feature_sets, os.path.join("output", "micro_combined_ODDS_RATIO_COTESTING"), num_runs=10, upto=1000, hold_out_p=.25)
Ejemplo n.º 6
0
#################################################
#
# run hold out experiments on proton beam
#
##################################################

import os
# was ".., old, s"
feature_sets = [
    os.path.join("data", "proton_beam", s) for s in ["proton_combined"]
]  #["proton_titles", "proton_abstracts", "proton_keywords"]]
import curious_snake
# todo: make learner setup function parameteric so you can pass it in here
curious_snake.run_experiments_hold_out(
    feature_sets,
    os.path.join("output", "proton_cofl_ODDS_RATIO_uncertainty"),
    num_runs=10,
    upto=1000,
    hold_out_p=.25)