Fix a few typos in the C API tutorial (#8926)
This commit is contained in:
parent
a093770f36
commit
55ed50c860
@ -134,7 +134,7 @@ c. Assertion technique: It works both in C/ C++. If expression evaluates to 0 (f
|
||||
// do something with booster
|
||||
|
||||
//free the memory
|
||||
XGBoosterFree(booster)
|
||||
XGBoosterFree(booster);
|
||||
|
||||
DMatrixHandle DMatrixHandle_param;
|
||||
|
||||
@ -156,7 +156,7 @@ c. Assertion technique: It works both in C/ C++. If expression evaluates to 0 (f
|
||||
.. code-block:: c
|
||||
|
||||
BoosterHandle booster;
|
||||
XGBoosterSetParam(booster, "paramter_name", "0.1");
|
||||
XGBoosterSetParam(booster, "parameter_name", "0.1");
|
||||
|
||||
|
||||
**************************************************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user