Skip to content

Commit

Permalink
Change in XBBoost grid search adhoc function call
Browse files Browse the repository at this point in the history
  • Loading branch information
Damià Valero Bover authored and Damià Valero Bover committed Apr 26, 2023
1 parent a8acc70 commit 44fde52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/3-NoShows_modelling.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
paramGrid=expand.grid( ROW_SAMP ,COL_SAMP ,TREE_DEPT, ETA , MIN_CHILD_WEIGHT , GAMMA, NTREES )


xgResults = crossValXGB(pDF = trainSet[,c(varsTrabajoB,dummyVarsB)], label = trainSet$Target, paramGrid = paramGrid)
xgResults = doXGBoostSearch(pDF = trainSet[,c(varsTrabajoB,dummyVarsB)], label = trainSet$Target, paramGrid = paramGrid)
xgResults

# Select best model based on accuracy and specificity
Expand Down

0 comments on commit 44fde52

Please sign in to comment.