Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
9006d3f2
Commit
9006d3f2
authored
Nov 24, 2016
by
Guolin Ke
Browse files
merge from master
parents
b0b0010a
65e711a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
include/LightGBM/c_api.h
include/LightGBM/c_api.h
+17
-17
No files found.
include/LightGBM/c_api.h
View file @
9006d3f2
...
...
@@ -362,10 +362,10 @@ DllExport int LGBM_BoosterGetPredict(BoosterHandle handle,
* \param data_filename filename of data file
* \param data_has_header data file has header or not
* \param predict_type
* 0:
raw score
* 1:
with transform(if needed)
* 0:
normal, with transform (if needed)
* 1:
raw score
* 2:leaf index
* \param num_iteration number of iteration for prediction
* \param num_iteration number of iteration for prediction
, < 0 means no limit
* \param result_filename filename of result file
* \return 0 when success, -1 when failure happens
*/
...
...
@@ -388,10 +388,10 @@ DllExport int LGBM_BoosterPredictForFile(BoosterHandle handle,
* \param nelem number of nonzero elements in the matrix
* \param num_col number of columns; when it's set to 0, then guess from data
* \param predict_type
* 0:
raw score
* 1:
with transform(if needed)
* 0:
normal, with transform (if needed)
* 1:
raw score
* 2:leaf index
* \param num_iteration number of iteration for prediction
* \param num_iteration number of iteration for prediction
, < 0 means no limit
* \param out_len len of output result
* \param out_result used to set a pointer to array, should allocate memory before call this function
* \return 0 when success, -1 when failure happens
...
...
@@ -419,10 +419,10 @@ DllExport int LGBM_BoosterPredictForCSR(BoosterHandle handle,
* \param ncol number columns
* \param is_row_major 1 for row major, 0 for column major
* \param predict_type
* 0:
raw score
* 1:
with transform(if needed)
* 0:
normal, with transform (if needed)
* 1:
raw score
* 2:leaf index
* \param num_iteration number of iteration for prediction
* \param num_iteration number of iteration for prediction
, < 0 means no limit
* \param out_len len of output result
* \param out_result used to set a pointer to array, should allocate memory before call this function
* \return 0 when success, -1 when failure happens
...
...
@@ -441,7 +441,7 @@ DllExport int LGBM_BoosterPredictForMat(BoosterHandle handle,
/*!
* \brief save model into file
* \param handle handle
* \param num_iteration
* \param num_iteration
, < 0 means no limit
* \param filename file name
* \return 0 when success, -1 when failure happens
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment