Update xgboost_regrank.h
This commit is contained in:
parent
4a98205ef1
commit
ca4b3b7541
@ -29,7 +29,7 @@ namespace xgboost{
|
|||||||
}
|
}
|
||||||
/*! \brief destructor */
|
/*! \brief destructor */
|
||||||
~RegRankBoostLearner(void){
|
~RegRankBoostLearner(void){
|
||||||
delete obj_;
|
if( obj_ != NULL ) delete obj_;
|
||||||
}
|
}
|
||||||
/*!
|
/*!
|
||||||
* \brief a regression booter associated with training and evaluating data
|
* \brief a regression booter associated with training and evaluating data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user