Fix a few typos in the C API tutorial (#8926)

This commit is contained in:
Quentin Fiard
2023-03-16 13:24:03 +01:00
committed by GitHub
parent a093770f36
commit 55ed50c860

View File

@@ -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");
**************************************************************