MCPcopy Create free account
hub / github.com/dblalock/bolt / main

Function main

experiments/python/pyience.py:568–580  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

566
567
568def main():
569 cVals = 10. ** np.arange(-3, 3)
570 d = {"classifier": "SVM", 'C': Options(cVals)}
571 # generate_params_combinations(d, update)
572 combos = generate_params_combinations(d, update)
573
574 # add a fake outcome variable
575 for combo in combos:
576 combo['runtime'] = np.random.rand() * 10
577
578 # print out a dataframe so we can see that this worked
579 import pandas as pd
580 print pd.DataFrame.from_records(combos) # woot; it worked
581
582
583if __name__ == '__main__':

Callers 1

pyience.pyFile · 0.70

Calls 2

OptionsClass · 0.85

Tested by

no test coverage detected