A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning tasks.
609 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .ci/parameter-generator.py | 199 | def gen_parameter_description( |
| LOW | tests/python_package_test/test_engine.py | 2395 | def test_refit_with_one_tree_regression(): |
| LOW | tests/python_package_test/test_engine.py | 2404 | def test_refit_with_one_tree_binary_classification(): |
| LOW | tests/python_package_test/test_engine.py | 2413 | def test_refit_with_one_tree_multiclass_classification(): |
| LOW | tests/python_package_test/test_engine.py | 2422 | def test_refit_dataset_params(rng): |
| LOW | tests/python_package_test/test_engine.py | 2494 | def test_constant_features_regression(): |
| LOW | tests/python_package_test/test_engine.py | 2501 | def test_constant_features_binary(): |
| LOW | tests/python_package_test/test_engine.py | 2507 | def test_constant_features_multiclass(): |
| LOW | tests/python_package_test/test_engine.py | 2513 | def test_constant_features_multiclassova(): |
| LOW | tests/python_package_test/test_engine.py | 4776 | def test_train_and_cv_raise_informative_error_for_train_set_of_wrong_type(): |
| LOW | tests/python_package_test/test_engine.py | 4784 | def test_train_and_cv_raise_informative_error_for_impossible_num_boost_round(num_boost_round): |
| LOW | tests/python_package_test/test_engine.py | 4793 | def test_train_raises_informative_error_if_any_valid_sets_are_not_dataset_objects(): |
| LOW | tests/python_package_test/test_engine.py | 161 | def test_missing_value_handle(): |
| LOW | tests/python_package_test/test_engine.py | 181 | def test_missing_value_handle_more_na(): |
| LOW | tests/python_package_test/test_engine.py | 201 | def test_missing_value_handle_na(): |
| LOW | tests/python_package_test/test_engine.py | 232 | def test_missing_value_handle_zero(): |
| LOW | tests/python_package_test/test_engine.py | 263 | def test_missing_value_handle_none(): |
| LOW | tests/python_package_test/test_engine.py | 358 | def test_categorical_handle_na(use_quantized_grad): |
| LOW | tests/python_package_test/test_engine.py | 408 | def test_categorical_non_zero_inputs(use_quantized_grad): |
| LOW | tests/python_package_test/test_engine.py | 487 | def test_multiclass_prediction_early_stopping(): |
| LOW | tests/python_package_test/test_engine.py | 659 | def test_ranking_prediction_early_stopping(): |
| LOW | tests/python_package_test/test_engine.py | 744 | def test_ranking_with_position_information_with_file(tmp_path): |
| LOW | tests/python_package_test/test_engine.py | 797 | def test_ranking_with_position_information_with_dataset_constructor(tmp_path): |
| LOW | tests/python_package_test/test_engine.py | 893 | def test_early_stopping_ignores_training_set(use_valid): |
| LOW | tests/python_package_test/test_engine.py | 931 | def test_early_stopping_via_global_params(first_metric_only): |
| LOW | tests/python_package_test/test_engine.py | 959 | def test_early_stopping_is_not_enabled_for_non_positive_stopping_rounds(early_stopping_round): |
| LOW | tests/python_package_test/test_engine.py | 1009 | def test_early_stopping_min_delta(first_only, single_metric, greater_is_better): |
| LOW | tests/python_package_test/test_engine.py | 1088 | def test_early_stopping_min_delta_via_global_params(early_stopping_min_delta): |
| LOW | tests/python_package_test/test_engine.py | 1110 | def test_early_stopping_can_be_triggered_via_custom_callback(): |
| LOW | tests/python_package_test/test_engine.py | 1113 | def _early_stop_after_seventh_iteration(env): |
| LOW | tests/python_package_test/test_engine.py | 1158 | def test_continue_train_reused_dataset(): |
| LOW | tests/python_package_test/test_engine.py | 1190 | def test_continue_train_multiclass(): |
| LOW | tests/python_package_test/test_engine.py | 1278 | def test_cv_works_with_init_model(tmp_path): |
| LOW | tests/python_package_test/test_engine.py | 1452 | def test_feature_name_with_non_ascii(rng, tmp_path): |
| LOW | tests/python_package_test/test_engine.py | 1469 | def test_parameters_are_loaded_from_model_file(tmp_path, capsys, rng): |
| LOW | tests/python_package_test/test_engine.py | 1519 | def test_string_serialized_params_retrieval(rng): |
| LOW | tests/python_package_test/test_engine.py | 1563 | def test_save_load_copy_pickle(tmp_path): |
| LOW | tests/python_package_test/test_engine.py | 1596 | def test_all_expected_params_are_written_out_to_model_text(tmp_path): |
| LOW | tests/python_package_test/test_engine.py | 1965 | def test_contribs_sparse_multiclass(): |
| LOW | tests/python_package_test/test_engine.py | 2065 | def train_and_get_predictions(features, labels): |
| LOW | tests/python_package_test/test_engine.py | 2141 | def test_training_on_constructed_subset_without_params(rng): |
| LOW | tests/python_package_test/test_engine.py | 2153 | def generate_trainset_for_monotone_constraints_tests(x3_to_category=True): |
| LOW | tests/python_package_test/test_engine.py | 2186 | def test_monotone_constraints(test_with_categorical_variable): |
| LOW | tests/python_package_test/test_engine.py | 2223 | def are_interactions_enforced(gbm, feature_sets): |
| LOW | tests/python_package_test/test_engine.py | 2271 | def are_first_splits_non_monotone(tree, n, monotone_constraints): |
| LOW | tests/python_package_test/test_engine.py | 2282 | def are_there_monotone_splits(tree, monotone_constraints): |
| LOW | tests/python_package_test/test_engine.py | 2313 | def test_monotone_penalty_max(): |
| LOW | tests/python_package_test/test_engine.py | 2453 | def test_mape_for_specific_boosting_types(boosting_type): |
| LOW | tests/python_package_test/test_engine.py | 2947 | def test_multiple_feval_train(): |
| LOW | tests/python_package_test/test_engine.py | 2972 | def test_objective_callable_train_binary_classification(): |
| LOW | tests/python_package_test/test_engine.py | 2985 | def test_objective_callable_train_regression(): |
| LOW | tests/python_package_test/test_engine.py | 2996 | def test_objective_callable_cv_binary_classification(): |
| LOW | tests/python_package_test/test_engine.py | 3008 | def test_objective_callable_cv_regression(): |
| LOW | tests/python_package_test/test_engine.py | 3041 | def test_default_objective_and_metric(): |
| LOW | tests/python_package_test/test_engine.py | 3063 | def test_multiclass_custom_objective(use_weight): |
| LOW | tests/python_package_test/test_engine.py | 3088 | def test_multiclass_custom_eval(use_weight): |
| LOW | tests/python_package_test/test_engine.py | 3157 | def test_get_split_value_histogram(rng_fixed_seed): |
| LOW | tests/python_package_test/test_engine.py | 3246 | def test_early_stopping_for_only_first_metric(): |
| LOW | tests/python_package_test/test_engine.py | 3247 | def metrics_combination_train_regression(valid_sets, metric_list, assumed_iteration, first_metric_only, feval=None): |
| LOW | tests/python_package_test/test_engine.py | 3266 | def metrics_combination_cv_regression( |
| 182 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | CMakeLists.txt | 801 | if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") |
| LOW | build_r.R | 1 | # For macOS users who have decided to use gcc |
| LOW | build-python.sh | 1 | #!/bin/sh |
| LOW | build-python.sh | 21 | # sh ./build-python.sh install --precompile |
| LOW | build-python.sh | 41 | # --gpu |
| LOW | build-cran-package.sh | 1 | #!/bin/sh |
| LOW | .ci/check-workflow-status.sh | 1 | #!/bin/bash |
| LOW | .ci/set-commit-status.sh | 1 | #!/bin/bash |
| LOW | .ci/append-comment.sh | 1 | #!/bin/bash |
| LOW | .ci/install-r-deps.R | 1 | # Install R dependencies, using only base R. |
| LOW | .ci/check-dynamic-dependencies.sh | 1 | #!/bin/bash |
| LOW | .ci/rerun-workflow.sh | 1 | #!/bin/bash |
| LOW | .ci/conda-envs/ci-core.txt | 1 | # [description] |
| LOW | .ci/conda-envs/ci-core-py310.txt | 1 | # [description] |
| LOW | R-package/demo/basic_walkthrough.R | 81 | # Since we do not have this file with us, the following line is just for illustration |
| LOW | R-package/demo/categorical_features_rules.R | 1 | # Here we are going to try training a model with categorical features |
| LOW | R-package/demo/categorical_features_rules.R | 21 | # $ duration : int 79 220 185 199 226 141 341 151 57 313 ... |
| LOW | R-package/demo/categorical_features_rules.R | 41 | # $ marital : num 1 2 1 3 3 2 2 2 1 1 ... |
| LOW | R-package/demo/efficient_many_training.R | 1 | # Efficient training means training without giving up too much RAM |
| LOW | R-package/tests/testthat/helper.R | 1 | # ref for this file: |
| LOW | R-package/tests/testthat/test_basic.R | 2281 | ) |
| LOW | R-package/R/lgb.convert_with_rules.R | 61 | #' |
| LOW | R-package/R/lgb.convert_with_rules.R | 81 | #' new_iris <- lgb.convert_with_rules(data = iris) |
| LOW | R-package/R/lgb.convert_with_rules.R | 101 | #' |
| LOW | R-package/R/lgb.interpret.R | 1 | #' @name lgb.interpret |
| LOW | R-package/R/lgb.interpret.R | 21 | #' \dontshow{data.table::setDTthreads(1L)} |
| LOW | R-package/R/lgb.interpret.R | 41 | #' ) |
| LOW | R-package/R/utils.R | 161 | params$metric <- as.list(unique(unlist(params$metric))) |
| LOW | R-package/R/utils.R | 181 | # For example, "num_iterations" can also be provided to lgb.train() |
| LOW | R-package/R/multithreading.R | 1 | #' @name setLGBMThreads |
| LOW | R-package/R/multithreading.R | 21 | #' @export |
| LOW | R-package/R/lgb.restore_handle.R | 1 | #' @name lgb.restore_handle |
| LOW | R-package/R/lgb.restore_handle.R | 21 | #' \dontshow{setLGBMthreads(2L)} |
| LOW | R-package/R/lgb.plot.importance.R | 1 | #' @name lgb.plot.importance |
| LOW | R-package/R/lgb.plot.importance.R | 21 | #' \donttest{ |
| LOW | R-package/R/lgb.model.dt.tree.R | 1 | #' @name lgb.model.dt.tree |
| LOW | R-package/R/lgb.model.dt.tree.R | 21 | #' for a leaf, it simply labels it as \code{"NA"}} |
| LOW | R-package/R/lgb.model.dt.tree.R | 41 | #' dtrain <- lgb.Dataset(train$data, label = train$label) |
| LOW | R-package/R/lgb.train.R | 1 | #' @name lgb.train |
| LOW | R-package/R/lgb.train.R | 21 | #' train <- agaricus.train |
| LOW | R-package/R/lightgbm.R | 1 | #' @name lgb_shared_params |
| LOW | R-package/R/lightgbm.R | 21 | #' The "metric" section of the documentation} |
| LOW | R-package/R/lightgbm.R | 41 | #' \item{\bold{c. list}: |
| LOW | R-package/R/lightgbm.R | 61 | #' validation set does not improve for several consecutive iterations. |
| LOW | R-package/R/lightgbm.R | 81 | #' de-serialized, the underlying C++ model object gets reconstructed from these raw bytes, but will only |
| LOW | R-package/R/lightgbm.R | 101 | #' than \code{\link{lgb.train}}. |
| LOW | R-package/R/lightgbm.R | 121 | #' \code{label}). |
| LOW | R-package/R/lightgbm.R | 141 | #' If passing \code{NULL} (the default), will try to use the number of physical cores in the |
| LOW | R-package/R/lightgbm.R | 261 | what = lgb.train |
| LOW | R-package/R/lightgbm.R | 281 | #' https://archive.ics.uci.edu/ml/datasets/Mushroom |
| LOW | R-package/R/lightgbm.R | 301 | #' \item{\code{label}: the label for each record} |
| LOW | R-package/R/lightgbm.R | 321 | #' UCI Machine Learning Repository. |
| LOW | R-package/R/lgb.make_serializable.R | 1 | #' @name lgb.make_serializable |
| LOW | R-package/R/lgb.Dataset.R | 1 | #' @name lgb_shared_dataset_params |
| LOW | R-package/R/lgb.Dataset.R | 761 | #' @title Construct \code{lgb.Dataset} object |
| LOW | R-package/R/lgb.Dataset.R | 781 | #' @param categorical_feature categorical features. This can either be a character vector of feature |
| LOW | R-package/R/lgb.Dataset.R | 841 | #' a character representing a path to a text file (CSV, TSV, or LibSVM), |
| LOW | R-package/R/lgb.Dataset.R | 861 | #' |
| LOW | R-package/R/lgb.Dataset.R | 881 | #' , row.names = FALSE |
| LOW | R-package/R/lgb.Dataset.R | 921 | |
| 161 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | R-package/R/lgb.Predictor.R | 27 | # Check if model file is a booster handle already |
| LOW | R-package/R/lgb.Predictor.R | 74 | # Check if number of iterations is existing - if not, then set it to -1 (use all) |
| LOW | R-package/R/lgb.Predictor.R | 78 | # Check if start iterations is existing - if not, then set it to 0 (start from the first iteration) |
| LOW | R-package/R/lgb.Predictor.R | 83 | # Check if data is a file name and not a matrix |
| LOW | R-package/R/lgb.Predictor.R | 243 | # Check if data is a matrix |
| LOW | R-package/R/lgb.Predictor.R | 424 | # Check if data is a dgCMatrix (sparse matrix, column compressed format) |
| LOW | R-package/R/lgb.Predictor.R | 450 | # Check if number of rows is strange (not a multiple of the dataset rows) |
| LOW | R-package/R/lgb.model.dt.tree.R | 147 | # Check if split index is not null in leaf |
| LOW | R-package/R/lightgbm.R | 226 | # Set data to a temporary variable |
| LOW | R-package/R/lgb.Dataset.R | 162 | # Check if more categorical features were output over the feature space |
| LOW | R-package/R/lgb.Dataset.R | 366 | # Check if dgCMatrix (sparse matrix column compressed) |
| LOW | R-package/R/lgb.Dataset.R | 417 | # Check if dgCMatrix (sparse matrix column compressed) |
| LOW | R-package/R/lgb.Dataset.R | 466 | # Check if attribute key is in the known attribute list |
| LOW | R-package/R/lgb.Dataset.R | 517 | # Check if attribute key is in the known attribute list |
| LOW | R-package/R/lgb.Dataset.R | 1026 | # Check if invalid element list |
| LOW | R-package/R/lgb.Dataset.R | 1134 | # Check if dataset is not a dataset |
| LOW | R-package/R/lgb.importance.R | 71 | # Check if relative values are requested |
| LOW | R-package/R/lgb.Booster.R | 840 | # Check if there are evaluation metrics |
| LOW | R-package/R/lgb.Booster.R | 843 | # Check if evaluation metric is a function |
| LOW | R-package/R/lgb.Booster.R | 850 | # Check if data to assess is existing differently |
| LOW | R-package/R/lgb.Booster.R | 205 | # Check if objective is empty |
| LOW | R-package/R/lgb.Booster.R | 403 | # Check if evaluation was not done |
| LOW | R-package/R/lgb.Booster.R | 745 | # Check if current iteration was already predicted |
| LOW | R-package/R/lgb.Booster.R | 1544 | # Check if evaluation result is existing |
| LOW | R-package/R/lgb.Booster.R | 1560 | # Check if error is requested |
| LOW | R-package/R/callback.R | 79 | # Check if period is at least 1 or more |
| LOW | R-package/R/callback.R | 85 | # Check if iteration matches moduo |
| LOW | R-package/R/callback.R | 91 | # Check if message is existing |
| LOW | R-package/R/callback.R | 135 | # Check if evaluation record exists |
| LOW | R-package/R/callback.R | 206 | # Check if verbose or not |
| LOW | R-package/R/callback.R | 264 | # Check if score is better |
| LOW | R-package/R/callback.R | 278 | # Check if early stopping is required |
| LOW | R-package/src/install.libs.R | 175 | # Check if Windows installation (for gcc vs Visual Studio) |
| LOW | python-package/lightgbm/basic.py | 3132 | # Check if the weight contains values other than one |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | python-package/lightgbm/compat.py | 171 | |
| LOW | python-package/lightgbm/compat.py | 172 | |
| LOW | python-package/lightgbm/compat.py | 205 | |
| LOW | python-package/lightgbm/compat.py | 213 | |
| LOW | python-package/lightgbm/compat.py | 222 | |
| LOW | python-package/lightgbm/compat.py | 225 | |
| LOW | python-package/lightgbm/compat.py | 226 | |
| LOW | python-package/lightgbm/compat.py | 227 | |
| LOW | python-package/lightgbm/compat.py | 227 | |
| LOW | python-package/lightgbm/compat.py | 282 | |
| LOW | python-package/lightgbm/compat.py | 283 | |
| LOW | python-package/lightgbm/compat.py | 284 | |
| LOW | python-package/lightgbm/compat.py | 285 | |
| LOW | python-package/lightgbm/compat.py | 329 | |
| LOW | python-package/lightgbm/compat.py | 176 | |
| LOW | python-package/lightgbm/compat.py | 178 | |
| LOW | python-package/lightgbm/__init__.py | 11 | |
| LOW | python-package/lightgbm/__init__.py | 11 | |
| LOW | python-package/lightgbm/__init__.py | 11 | |
| LOW | python-package/lightgbm/__init__.py | 11 | |
| LOW | python-package/lightgbm/__init__.py | 12 | |
| LOW | python-package/lightgbm/__init__.py | 12 | |
| LOW | python-package/lightgbm/__init__.py | 12 | |
| LOW | python-package/lightgbm/__init__.py | 12 | |
| LOW | python-package/lightgbm/__init__.py | 12 | |
| LOW | python-package/lightgbm/__init__.py | 13 | |
| LOW | python-package/lightgbm/__init__.py | 13 | |
| LOW | python-package/lightgbm/__init__.py | 13 | |
| LOW | python-package/lightgbm/__init__.py | 16 | |
| LOW | python-package/lightgbm/__init__.py | 16 | |
| LOW | python-package/lightgbm/__init__.py | 16 | |
| LOW | python-package/lightgbm/__init__.py | 16 | |
| LOW | python-package/lightgbm/__init__.py | 20 | |
| LOW | python-package/lightgbm/__init__.py | 20 | |
| LOW | python-package/lightgbm/__init__.py | 20 | |
| LOW | python-package/lightgbm/__init__.py | 20 | |
| LOW | python-package/lightgbm/__init__.py | 20 | |
| LOW | python-package/lightgbm/__init__.py | 24 | |
| LOW | python-package/lightgbm/__init__.py | 24 | |
| LOW | python-package/lightgbm/__init__.py | 24 | |
| LOW | python-package/lightgbm/basic.py | 49 | |
| LOW | python-package/lightgbm/basic.py | 53 | |
| LOW | python-package/lightgbm/basic.py | 55 | |
| LOW | python-package/lightgbm/sklearn.py | 54 | |
| LOW | docs/conf.py | 111 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .ci/parameter-generator.py | 16 | |
| LOW | .ci/parameter-generator.py | 109 | |
| LOW | .ci/parameter-generator.py | 199 | |
| LOW | .ci/parameter-generator.py | 263 | |
| LOW | tests/python_package_test/test_engine.py | 136 | |
| LOW | tests/python_package_test/test_engine.py | 686 | |
| LOW | tests/python_package_test/test_engine.py | 688 | |
| LOW | tests/python_package_test/test_basic.py | 712 | |
| LOW | tests/python_package_test/test_consistency.py | 13 | |
| LOW | tests/python_package_test/test_consistency.py | 49 | |
| LOW | tests/python_package_test/utils.py | 161 | |
| LOW | tests/python_package_test/utils.py | 174 | |
| LOW | tests/python_package_test/test_dask.py | 150 | |
| LOW | tests/python_package_test/test_dask.py | 325 | |
| LOW | tests/python_package_test/test_dask.py | 817 | |
| LOW | tests/python_package_test/test_sklearn.py | 72 | |
| LOW | tests/python_package_test/test_sklearn.py | 1746 | |
| LOW | tests/python_package_test/test_sklearn.py | 2081 | |
| LOW | python-package/lightgbm/callback.py | 326 | |
| LOW | python-package/lightgbm/callback.py | 405 | |
| LOW | python-package/lightgbm/plotting.py | 458 | |
| LOW | python-package/lightgbm/plotting.py | 480 | |
| LOW | python-package/lightgbm/engine.py | 109 | |
| LOW | python-package/lightgbm/engine.py | 522 | |
| LOW | python-package/lightgbm/dask.py | 187 | |
| LOW | python-package/lightgbm/dask.py | 433 | |
| LOW | python-package/lightgbm/dask.py | 911 | |
| LOW | python-package/lightgbm/basic.py | 373 | |
| LOW | python-package/lightgbm/basic.py | 552 | |
| LOW | python-package/lightgbm/basic.py | 889 | |
| LOW | python-package/lightgbm/basic.py | 1102 | |
| LOW | python-package/lightgbm/basic.py | 2079 | |
| LOW | python-package/lightgbm/basic.py | 2122 | |
| LOW | python-package/lightgbm/basic.py | 2546 | |
| LOW | python-package/lightgbm/basic.py | 2755 | |
| LOW | python-package/lightgbm/basic.py | 2953 | |
| LOW | python-package/lightgbm/basic.py | 3309 | |
| LOW | python-package/lightgbm/basic.py | 3479 | |
| LOW | python-package/lightgbm/basic.py | 3602 | |
| LOW | python-package/lightgbm/basic.py | 5222 | |
| LOW | python-package/lightgbm/sklearn.py | 867 | |
| LOW | python-package/lightgbm/sklearn.py | 973 | |
| LOW | python-package/lightgbm/sklearn.py | 1591 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | docs/conf.py | 274 | sh build-cran-package.sh || exit 1 |
| HIGH | docs/conf.py | 275 | R CMD INSTALL --with-keep.source lightgbm_*.tar.gz || exit 1 |
| HIGH | docs/conf.py | 276 | Rscript .ci/build-docs.R || exit 1 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | R-package/demo/categorical_features_rules.R | 69 | # Creating the LightGBM dataset with categorical features |
| MEDIUM | R-package/R/lgb.train.R | 165 | # Create the predictor set |
| MEDIUM | R-package/R/lgb.cv.R | 186 | # Create the predictor set |
| MEDIUM | R-package/R/lgb.cv.R | 541 | # Create a vector of integers from 1:k as many times as possible without |
| MEDIUM | R-package/inst/make-r-def.R | 2 | # Create a definition file (.def) from a .dll file, using objdump. |
| MEDIUM | python-package/lightgbm/basic.py | 3954 | # Create the node record, and populate universal data members |
| MEDIUM | docs/conf.py | 7 | # This file is execfile()d with the current directory set to its |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | build-python.sh | 310 | # avoid trying to recompile, just use hatchling and copy in relevant files |
| LOW | R-package/demo/basic_walkthrough.R | 140 | # To load it in, simply call lgb.Dataset |
| MEDIUM | tests/python_package_test/test_sklearn.py | 1418 | # Verify that eval_metric is robust to receiving a list with None |
| MEDIUM | tests/python_package_test/test_sklearn.py | 367 | y = y.astype(str) # utilize label encoder at it's max power |
| MEDIUM | tests/python_package_test/test_sklearn.py | 395 | y = y.astype(str) # utilize label encoder at it's max power |
| MEDIUM | tests/python_package_test/test_sklearn.py | 425 | y = y.astype(str) # utilize label encoder at it's max power |
| LOW | python-package/lightgbm/basic.py | 2823 | # If the data is a arrow data, we can just pass it to C |
| MEDIUM | src/io/dataset_loader.cpp | 54 | // support to get header from parser config, so could utilize following label name to id mapping logic. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | python-package/lightgbm/sklearn.py | 0 | docstring is set after definition, using a template. |
| HIGH | python-package/lightgbm/sklearn.py | 0 | docstring is set after definition, using a template. |
| HIGH | python-package/lightgbm/sklearn.py | 0 | docstring is set after definition, using a template. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | R-package/R/lgb.Booster.R | 1122 | #' different parameters or prediction type, so make sure to check that the output is what |
| LOW | include/LightGBM/config.h | 1098 | // desc = **Note**: don't forget to allow this port in firewall settings before training |
| MEDIUM | src/treelearner/parallel_tree_learner.h | 124 | * When #data is large and #feature is large, you can use this to have better speed-up |