add detailed comment about gbmcore

This commit is contained in:
tqchen
2014-02-07 20:30:39 -08:00
parent 1e7ac402e6
commit bf36374678
3 changed files with 23 additions and 5 deletions

View File

@@ -9,7 +9,9 @@
*/
namespace xgboost{
namespace utils{
/*! \brief interface of stream I/O, used to serialize model */
/*!
* \brief interface of stream I/O, used to serialize model
*/
class IStream{
public:
/*!

View File

@@ -51,7 +51,8 @@ namespace xgboost{
inline void Warning( const char *msg ){
fprintf( stderr, "warning:%s\n",msg );
}
/*! \brief replace fopen, report error when the file open fails */
/*! \brief replace fopen, report error when the file open fails */
inline FILE *FopenCheck( const char *fname , const char *flag ){
FILE *fp = fopen64( fname , flag );
if( fp == NULL ){