Skip to content

Commit 4bf52b0

Browse files
committed
changed case_gateway=true
1 parent f288c02 commit 4bf52b0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎examples/score_testing_example.ipynb‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@
603603
},
604604
{
605605
"cell_type": "code",
606-
"execution_count": 6,
606+
"execution_count": null,
607607
"metadata": {},
608608
"outputs": [],
609609
"source": [
@@ -612,7 +612,7 @@
612612
" score_def_name=\"example_score_def_name\", # Name of the score_definition, which can be any string\n",
613613
" model='DecisionTreeClassifier', # Can use model name, UUID, or dictionary representation of the model\n",
614614
" 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",
616616
" 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",
617617
")\n"
618618
]
@@ -649,7 +649,7 @@
649649
"outputs": [],
650650
"source": [
651651
"# 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",
653653
"score_results"
654654
]
655655
},
@@ -681,7 +681,7 @@
681681
" score_def_name=\"score_definition_example\",\n",
682682
" model='DecisionTreeClassifier',\n",
683683
" 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",
685685
")"
686686
]
687687
}

0 commit comments

Comments
 (0)