Commit c23023bd authored by Qiwei Ye's avatar Qiwei Ye
Browse files

fix some typos

parent 39e47323
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
namespace LightGBM { namespace LightGBM {
/*! /*!
* \brief used to find splits candidates for a leaf * \brief used to find split candidates for a leaf
*/ */
class LeafSplits { class LeafSplits {
public: public:
...@@ -26,7 +26,7 @@ public: ...@@ -26,7 +26,7 @@ public:
} }
/*! /*!
* \brief Init splits on current leaf, don't need to travesal all data * \brief Init split on current leaf on partial data.
* \param leaf Index of current leaf * \param leaf Index of current leaf
* \param data_partition current data partition * \param data_partition current data partition
* \param sum_gradients * \param sum_gradients
...@@ -43,7 +43,7 @@ public: ...@@ -43,7 +43,7 @@ public:
} }
/*! /*!
* \brief Init splits on current leaf, need to travesal all data to sum up * \brief Init splits on current leaf, it will travese all data to sum up the results
* \param gradients * \param gradients
* \param hessians * \param hessians
*/ */
...@@ -66,7 +66,7 @@ public: ...@@ -66,7 +66,7 @@ public:
} }
/*! /*!
* \brief Init splits on current leaf, need to travesal all data to sum up * \brief Init splits on current leaf of partial data.
* \param leaf Index of current leaf * \param leaf Index of current leaf
* \param data_partition current data partition * \param data_partition current data partition
* \param gradients * \param gradients
......
...@@ -15,7 +15,7 @@ namespace LightGBM { ...@@ -15,7 +15,7 @@ namespace LightGBM {
/*! /*!
* \brief Feature parallel learning algorithm. * \brief Feature parallel learning algorithm.
* Different machine will find best split on different features, then sync global best split * Different machine will find best split on different features, then sync global best split
* When #data is small or #feature is large, you can use this to have better speed-up * It is recommonded used when #data is small or #feature is large
*/ */
class FeatureParallelTreeLearner: public SerialTreeLearner { class FeatureParallelTreeLearner: public SerialTreeLearner {
public: public:
...@@ -40,7 +40,7 @@ private: ...@@ -40,7 +40,7 @@ private:
/*! /*!
* \brief Data parallel learning algorithm. * \brief Data parallel learning algorithm.
* Workers use local data to construct histograms locally, then sync up global histograms. * Workers use local data to construct histograms locally, then sync up global histograms.
* When #data is large or #feature is small, you can use this to have better speed-up * It is recommonded used when #data is large or #feature is small
*/ */
class DataParallelTreeLearner: public SerialTreeLearner { class DataParallelTreeLearner: public SerialTreeLearner {
public: public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment