fix relative link to demo (#3066)

This commit is contained in:
Jonas 2018-02-07 08:09:03 +01:00 committed by Vadim Khotilovich
parent 94e655329f
commit 077abb35cd

View File

@ -11,7 +11,7 @@ filename#cacheprefix
The ```filename``` is the normal path to libsvm file you want to load in, ```cacheprefix``` is a The ```filename``` is the normal path to libsvm file you want to load in, ```cacheprefix``` is a
path to a cache file that xgboost will use for external memory cache. path to a cache file that xgboost will use for external memory cache.
The following code was extracted from [../demo/guide-python/external_memory.py](../demo/guide-python/external_memory.py) The following code was extracted from [../../demo/guide-python/external_memory.py](../../demo/guide-python/external_memory.py)
```python ```python
dtrain = xgb.DMatrix('../data/agaricus.txt.train#dtrain.cache') dtrain = xgb.DMatrix('../data/agaricus.txt.train#dtrain.cache')
``` ```