raymondlouie / MiniMarS

4 stars 2 forks source link

nrounds in performanceAllMarkers() #38

Closed anglixue closed 1 year ago

anglixue commented 1 year ago

Hi Ray,

I am trying to explain why the TP in xgboost is often higher in geneBasis.

Do you remember why the nrounds is set as 1500 by default?

I called the original function but found that:

performanceAllMarkers() called performanceMarkers(), and then performanceMarkers() called xgboostPerformance()

It seems this parameter is not passed to the final function because performanceMarkers() didn't accept this parameter in line #50.

raymondlouie commented 1 year ago

Hi Angli, @HsiaoChiLiao might be the best person to ask here. I didn't change much from her original xgboost code.

HsiaoChiLiao commented 1 year ago

nrounds is a parameter (the number of decision trees used in the model) that XGBoost uses for feature selection/prediction. It's not used for calculating TP. 😊