Skip to content

Instantly share code, notes, and snippets.

@AviSoori1x
Last active April 14, 2021 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AviSoori1x/c2ab9d3b33ebc53a136cd7cc99f81cf0 to your computer and use it in GitHub Desktop.
Save AviSoori1x/c2ab9d3b33ebc53a136cd7cc99f81cf0 to your computer and use it in GitHub Desktop.
autotune gb
result = s.autotune.tuneGradientBoostTree(
trainOptions = {
"table" : {"name":'hmeqTest', 'caslib' : 'public'},
"inputs" : {'LOAN','MORTDUE','VALUE','YOJ','DEROG','DELINQ','CLAGE','NINQ','CLNO','DEBTINC','REASON', 'JOB'},
"target" : 'BAD',
"nominal" : {'BAD','REASON', 'JOB'},
"casout" : {"name":"gradboosthmeqtest", "caslib":"public",'replace':True},
"varImp" : True
},
tunerOptions={"seed":12345, "maxTime":60}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment