Christian Lorentzen
cf4f019ed6
[Breaking] Change default evaluation metric for classification to logloss / mlogloss ( #6183 )
...
* Change DefaultEvalMetric of classification from error to logloss
* Change default binary metric in plugin/example/custom_obj.cc
* Set old error metric in python tests
* Set old error metric in R tests
* Fix missed eval metrics and typos in R tests
* Fix setting eval_metric twice in R tests
* Add warning for empty eval_metric for classification
* Fix Dask tests
Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
2020-10-02 12:06:47 -07:00
Jiaming Yuan
7622b8cdb8
Enable categorical data support on Python DMatrix. ( #6166 )
...
* Only pandas is recognized.
2020-09-29 11:22:56 +08:00
Jiaming Yuan
b5f52f0b1b
Validate weights are positive values. ( #6115 )
2020-09-15 09:03:55 +08:00
Jiaming Yuan
029a8b533f
Simplify the data backends. ( #5893 )
2020-07-16 15:17:31 +08:00
Jiaming Yuan
5af8161a1a
Implement Python data handler. ( #5689 )
...
* Define data handlers for DMatrix.
* Throw ValueError in scikit learn interface.
2020-05-22 11:53:55 +08:00
Jiaming Yuan
abca9908ba
Support pandas SparseArray. ( #5431 )
2020-03-20 21:40:22 +08:00
Jiaming Yuan
1891cc766d
Fix metainfo from DataFrame. ( #5216 )
...
* Fix metainfo from DataFrame.
* Unify helper functions for data and meta.
2020-01-22 16:29:44 +08:00
K.O
018df6004e
Fix feature_name crated from int64index dataframe. ( #5081 )
2019-12-30 12:26:22 +08:00
Rong Ou
2c61f02add
fix broken python test ( #4395 )
2019-04-23 16:01:23 -07:00
Jiaming Yuan
29a1356669
Deprecate reg:linear' in favor of reg:squarederror'. ( #4267 )
...
* Deprecate `reg:linear' in favor of `reg:squarederror'.
* Replace the use of `reg:linear'.
* Replace the use of `silent`.
2019-03-17 17:55:04 +08:00
Jiaming Yuan
2ea0f887c1
Refactor Python tests. ( #3897 )
...
* Deprecate nose tests.
* Format python tests.
2018-11-15 13:56:33 +13:00
Icyblade Dai
0e85b30fdd
Fix issue 2670 ( #2671 )
...
* fix issue 2670
* add python<3.6 compatibility
* fix Index
* fix Index/MultiIndex
* fix lint
* fix W0622
really nonsense
* fix lambda
* Trigger Travis
* add test for MultiIndex
* remove tailing whitespace
2017-09-19 15:49:41 -04:00
Yuan (Terry) Tang
a64fd74421
Fix wrong expected feature types ( #1646 )
2016-10-08 21:16:29 -07:00
tqchen
149589c583
[PYTHON] Refactor trainnig API to use callback
2016-05-19 21:31:23 -07:00
sinhrks
9da2f3e613
DOC/TST: Fix Python sklearn dep
2016-05-01 17:27:43 +09:00
sinhrks
8fc2456c87
Enable flake8
2016-04-24 17:32:31 +09:00
terrytangyuan
803a6fe474
Separate dependencies and lightweight test env for Python
2016-02-28 20:11:10 -06:00