|
603 | 603 | }, |
604 | 604 | { |
605 | 605 | "cell_type": "code", |
606 | | - "execution_count": 6, |
| 606 | + "execution_count": null, |
607 | 607 | "metadata": {}, |
608 | 608 | "outputs": [], |
609 | 609 | "source": [ |
|
612 | 612 | " score_def_name=\"example_score_def_name\", # Name of the score_definition, which can be any string\n", |
613 | 613 | " model='DecisionTreeClassifier', # Can use model name, UUID, or dictionary representation of the model\n", |
614 | 614 | " table_name=\"HMEQPERF_1_Q1\", # Table name for input data\n", |
615 | | - " use_cas_gateway=False, # Change to True if your Viya version is compatible with CAS Gateway. \n", |
| 615 | + " use_cas_gateway=True, # Change to False if your Viya version is not compatible with CAS Gateway. \n", |
616 | 616 | " table_file='data/HMEQPERF_1_Q1.csv' # add the file path of HMEQPERF_1_Q1 if HMEQPERF_1_Q1 does not yet exist on the server. If the user doesn't need the file path argument, they can comment out this line completely.\n", |
617 | 617 | ")\n" |
618 | 618 | ] |
|
649 | 649 | "outputs": [], |
650 | 650 | "source": [ |
651 | 651 | "# The following lines print the output table with scoring results. Ensure that the use_cas_gateway argument is the same as it is in the score definition call.\n", |
652 | | - "score_results = se.get_score_execution_results(score_execution, use_cas_gateway=False)\n", |
| 652 | + "score_results = se.get_score_execution_results(score_execution, use_cas_gateway=True)\n", |
653 | 653 | "score_results" |
654 | 654 | ] |
655 | 655 | }, |
|
681 | 681 | " score_def_name=\"score_definition_example\",\n", |
682 | 682 | " model='DecisionTreeClassifier',\n", |
683 | 683 | " table_name='HMEQPERF_1_Q1', # If this call is made before running the code above, the table_file argument must be included if the file is not yet on the server\n", |
684 | | - " use_cas_gateway=False # Change to True if your Viya version is compatible with CAS Gateway. \n", |
| 684 | + " use_cas_gateway=True # Change to False if your Viya version is not compatible with CAS Gateway. \n", |
685 | 685 | ")" |
686 | 686 | ] |
687 | 687 | } |
|
0 commit comments