You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Jingyu-Fan !
Unfortunately, add_features_from is presented only in master branch now. You can either build the package from sources or wait for #2138.
Hi @Jingyu-Fan !
Unfortunately, add_features_from is presented only in master branch now. You can either build the package from sources or wait for #2138.
Thank you. Just found out the problem.
lockbot
locked as resolved and limited conversation to collaborators
Mar 11, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thank you for your time!
Environment info
Operating System: linux
CPU/GPU model: CPU
C++/Python/R version:Python
LightGBM version or commit hash:2.2.3
Error message
AttributeError: 'Dataset' object has no attribute 'add_features_from'
Reproducible examples
import numpy as np
import lightgbm as lgb
X1 = np.random.random((1000, 1))
X2 = np.random.random((1000, 1))
d1 = lgb.Dataset(X1).construct()
d2 = lgb.Dataset(X2).construct()
d1.add_features_from(d2)
The text was updated successfully, but these errors were encountered: