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
6a367ac4
Commit
6a367ac4
authored
Jan 24, 2017
by
Guolin Ke
Browse files
fix bug for subset
parent
3489607f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/io/dataset.cpp
src/io/dataset.cpp
+1
-1
No files found.
src/io/dataset.cpp
View file @
6a367ac4
...
...
@@ -79,7 +79,7 @@ void Dataset::CopySubset(const Dataset* fullset, const data_size_t* used_indices
features_
[
fidx
]
->
CopySubset
(
fullset
->
features_
[
fidx
].
get
(),
used_indices
,
num_used_indices
);
}
if
(
need_meta_data
)
{
metadata_
.
Init
(
metadata_
,
used_indices
,
num_used_indices
);
metadata_
.
Init
(
fullset
->
metadata_
,
used_indices
,
num_used_indices
);
}
}
...
...
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