From 7ebf80f8cf8afe2d2dfc76acf422084a8ad594c8 Mon Sep 17 00:00:00 2001 From: Harry Moreno Date: Mon, 18 Feb 2019 01:39:59 -0500 Subject: [PATCH] Fix wording (#2015) --- docs/Python-Intro.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Python-Intro.rst b/docs/Python-Intro.rst index 983a969fa08..7923c38a3c9 100644 --- a/docs/Python-Intro.rst +++ b/docs/Python-Intro.rst @@ -114,13 +114,13 @@ And you can use ``Dataset.set_init_score()`` to set initial score, and ``Dataset **Memory efficient usage:** -The ``Dataset`` object in LightGBM is very memory-efficient, due to it only need to save discrete bins. -However, Numpy/Array/Pandas object is memory cost. -If you concern about your memory consumption, you can save memory according to the following: +The ``Dataset`` object in LightGBM is very memory-efficient, it only needs to save discrete bins. +However, Numpy/Array/Pandas object is memory expensive. +If you are concerned about your memory consumption, you can save memory by: -1. Let ``free_raw_data=True`` (default is ``True``) when constructing the ``Dataset`` +1. Set ``free_raw_data=True`` (default is ``True``) when constructing the ``Dataset`` -2. Explicit set ``raw_data=None`` after the ``Dataset`` has been constructed +2. Explicitly set ``raw_data=None`` after the ``Dataset`` has been constructed 3. Call ``gc``