[DOC] Update R doc
This commit is contained in:
@@ -14,7 +14,7 @@ try:
|
||||
from .sklearn import XGBModel, XGBClassifier, XGBRegressor
|
||||
from .plotting import plot_importance, plot_tree, to_graphviz
|
||||
except ImportError:
|
||||
print('Error when loading sklearn/plotting. Please install scikit-learn')
|
||||
pass
|
||||
|
||||
VERSION_FILE = os.path.join(os.path.dirname(__file__), 'VERSION')
|
||||
__version__ = open(VERSION_FILE).read().strip()
|
||||
|
||||
Reference in New Issue
Block a user