From 873fa64a2ba3ace8ad94271a4bbd37c0c3a6add5 Mon Sep 17 00:00:00 2001 From: btrotta Date: Thu, 15 Aug 2019 19:17:19 +1000 Subject: [PATCH] Minor style and doc fixes. --- docs/Parameters.rst | 2 +- include/LightGBM/config.h | 2 +- src/io/dataset_loader.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Parameters.rst b/docs/Parameters.rst index c4f45f0010c4..28777637d100 100644 --- a/docs/Parameters.rst +++ b/docs/Parameters.rst @@ -408,7 +408,7 @@ Learning Control Parameters - path to a ``.json`` file that specifies bin upper bounds for some or all features - - ``.json`` file should contain an array of objects, each containing the word ``feature`` (integer feature index) and ``bin_upper_bounds`` (array of thresholds for binning) + - ``.json`` file should contain an array of objects, each containing the word ``feature`` (integer feature index) and ``bin_upper_bound`` (array of thresholds for binning) - see `this file `__ as an example diff --git a/include/LightGBM/config.h b/include/LightGBM/config.h index 56903a9b96ae..b67ee9656468 100644 --- a/include/LightGBM/config.h +++ b/include/LightGBM/config.h @@ -403,7 +403,7 @@ struct Config { std::string forcedsplits_filename = ""; // desc = path to a ``.json`` file that specifies bin upper bounds for some or all features - // desc = ``.json`` file should contain an array of objects, each containing the word ``feature`` (integer feature index) and ``bin_upper_bounds`` (array of thresholds for binning) + // desc = ``.json`` file should contain an array of objects, each containing the word ``feature`` (integer feature index) and ``bin_upper_bound`` (array of thresholds for binning) // desc = see `this file `__ as an example std::string forcedbins_filename = ""; diff --git a/src/io/dataset_loader.cpp b/src/io/dataset_loader.cpp index eb83d74bfe3d..c00b9b7fdae5 100644 --- a/src/io/dataset_loader.cpp +++ b/src/io/dataset_loader.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2016 Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE file in the project root for license information. */ - #include + #include #include #include