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
7ebf80f8
Commit
7ebf80f8
authored
Feb 18, 2019
by
Harry Moreno
Committed by
Guolin Ke
Feb 18, 2019
Browse files
Fix wording (#2015)
parent
a777aedd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
docs/Python-Intro.rst
docs/Python-Intro.rst
+5
-5
No files found.
docs/Python-Intro.rst
View file @
7ebf80f8
...
@@ -114,13 +114,13 @@ And you can use ``Dataset.set_init_score()`` to set initial score, and ``Dataset
...
@@ -114,13 +114,13 @@ And you can use ``Dataset.set_init_score()`` to set initial score, and ``Dataset
**Memory efficient usage:**
**Memory efficient usage:**
The ``Dataset`` object in LightGBM is very memory-efficient,
due to
it only need to save discrete bins.
The ``Dataset`` object in LightGBM is very memory-efficient, it only need
s
to save discrete bins.
However, Numpy/Array/Pandas object is memory
cost
.
However, Numpy/Array/Pandas object is memory
expensive
.
If you concern about your memory consumption, you can save memory
according to the following
:
If you
are
concern
ed
about your memory consumption, you can save memory
by
:
1.
L
et ``free_raw_data=True`` (default is ``True``) when constructing the ``Dataset``
1.
S
et ``free_raw_data=True`` (default is ``True``) when constructing the ``Dataset``
2. Explicit set ``raw_data=None`` after the ``Dataset`` has been constructed
2. Explicit
ly
set ``raw_data=None`` after the ``Dataset`` has been constructed
3. Call ``gc``
3. Call ``gc``
...
...
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