GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — css/analytics_command_line.py at master · flamily/css Expand file tree/ Copy pathanalytics_command_line.pyMore file actions 34 lines (25 loc) · 985 Bytes / Copy pathanalytics_command_line.pyFile metadata and controls34 lines (25 loc) · 985 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 from random_forest import * current_model = load_RF_File() def main(): user_input = input("What would you like to do? ") while(user_input != 'x'): if(user_input == "update-d"): update_default() if(user_input == "new"): user_input = input("Please enter a file name: ") build_proto_forest(user_input) user_input = input("What would you like to do? ") def update_default(): update_To_File(update_Random_Forest()) def build_proto_forest(model_path): partition = input("Partition Size: ") random_int = input("Random int seed (split): ") estimators = input("Number of Trees: ") criteria = input("gini or entropy: ") random = input("Random int seed (classifier): ") new_model = build_New_Forest(float(partition), int(random_int), int(estimators), criteria, int(random)) to_save = input("Save y/n? ") if(to_save == 'y'): RF_To_File(new_model, model_path) return main() |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |