Skip to content

Commit e74c95b

Browse files
committed
Fix incorrect output variable mapping in example
1 parent 274fd35 commit e74c95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pzmmModelImportExample.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@
667667
" J.writeVarJSON(data[predict], isInput=True, jPath=zipFolder)\n",
668668
" \n",
669669
" # Set output variables and assign an event threshold, then write output variable mapping\n",
670-
" outputVar = pd.DataFrame(columns=['EM_EVENTPROBABILITY', 'EM_CLASSIFICATION'], data=[['A', 0.5]]) # data argument includes example expected types for columns\n",
670+
" outputVar = pd.DataFrame(columns=['EM_EVENTPROBABILITY', 'EM_CLASSIFICATION'], data=[[0.5, 'A']]) # data argument includes example expected types for columns\n",
671671
" J.writeVarJSON(outputVar, isInput=False, jPath=zipFolder)\n",
672672
" \n",
673673
" # Write model properties to a json file\n",

0 commit comments

Comments
 (0)