wxchan
ced64badab
add python doc ( #119 )
2016-12-13 14:38:28 +08:00
Guolin Ke
26d3323212
bug fixed in save binary file
2016-12-13 12:13:19 +08:00
Guolin Ke
918c157bba
refine fobj and feval in sklearn interface
2016-12-12 16:37:58 +08:00
wxchan
ebfc8521e2
add an advanced example; add guide-python README.md details; clean error messages ( #117 )
2016-12-09 13:28:41 +08:00
Guolin Ke
b51c7be43e
refine Dataset class ( #113 )
...
Provide a high level Dataset class for easy use.
2016-12-08 21:36:11 +08:00
wxchan
f3d33582ec
re-define callback order ( #114 )
...
current problem:
callback order: user-defined in callback parameter -> reset_learning_rate/print_evaluation/record_evaluation/early_stop
user can't insert a callback between last 4 callbacks
solution:
set order variable:
reset_learning_rate = 10
print_evaluation = 10
record_evaluation = 20
early_stop = 30
user-defined = some int
default: according to index in callback parameter list, = index - len(callbacks) (all < 0)
current callback order:
before iter: user-defined -> reset_learning_rate -> user-defined
after iter: user-defined -> print_evaluation -> user-defined -> record_evaluation -> user-defined -> early_stop -> user-defined
2016-12-07 15:14:54 +08:00
Guolin Ke
6a792d16b4
fix library name in cmake with VS
2016-12-07 12:25:42 +08:00
Guolin Ke
f1ccc4a38d
change openmp to REQUIRED
2016-12-07 11:55:35 +08:00
Guolin Ke
637dc0a274
fix mingw and cygwin in cmake
2016-12-07 11:45:55 +08:00
Guolin Ke
70c31c075d
simplify cmake
2016-12-07 11:31:31 +08:00
wxchan
2cd024e9c6
add feature importance in python ( #109 )
...
* add feature importances in python; add pandas support
* solve best_iteration issue
2016-12-06 14:35:54 +08:00
Guolin Ke
6f7669df1d
fix bug in save model
2016-12-06 00:02:52 +08:00
Guolin Ke
53bae396d9
fix bug in check same object for python tuple
2016-12-05 23:11:29 +08:00
Guolin Ke
1be76bafc2
update omp_set_num_threads in c_api
2016-12-05 21:41:28 +08:00
Guolin Ke
7bacf5f61e
update news
2016-12-05 16:01:40 +08:00
Guolin Ke
866a2f9151
use ".empty()" to check container
2016-12-05 13:49:25 +08:00
Guolin Ke
1466f90781
Categorical feature support ( #108 )
...
Categorical feature support (#108 )
2016-12-05 12:51:00 +08:00
Tsukasa OMOTO
531352f63e
Add python things to .gitignore ( #106 )
2016-12-03 11:27:03 +08:00
Guolin Ke
9f4849b3a4
Merge pull request #97 from wxchan/dev
...
Clean codes for python-package; dump model to JSON
2016-12-02 17:44:20 +08:00
wxchan
6911452588
solve conflicts; add README for python examples
2016-12-02 17:35:39 +08:00
Guolin Ke
fa51a67657
Merge pull request #104 from henry0312/cmake_install_rules
...
Add `make install` rules
2016-12-02 17:15:39 +08:00
wxchan
eba6d200a8
Squash into one commit:
...
1. merge python-package
2. add dump model to json
3. fix bugs
4. clean code with pylint
5. update python examples
2016-12-02 14:34:52 +08:00
Tsukasa OMOTO
541e0b3aae
Add `make install` rules
2016-12-02 13:48:26 +09:00
Guolin Ke
6c1a74ab76
Update README.md
2016-12-02 09:55:23 +08:00
Guolin Ke
e2fd11ce75
Update README.rst
2016-12-02 01:28:22 +08:00
Guolin Ke
9c3e2718a5
Update simple_example.py
2016-12-01 19:14:22 +08:00
Guolin Ke
16d1853d58
Merge pull request #94 from Microsoft/python-package
...
Python package (#11 )
2016-12-01 16:38:39 +08:00
Guolin Ke
29cf97e902
add example and readme
2016-12-01 16:32:47 +08:00
Guolin Ke
5b53978891
fix some pep8 check
2016-12-01 16:17:18 +08:00
Guolin Ke
1a8c23ed30
some typo
2016-12-01 15:16:18 +08:00
Guolin Ke
673e3ea290
add import LGBMRanker in __init__.py
2016-11-30 16:48:26 +08:00
Guolin Ke
80a52ad443
add LGBMRanker
2016-11-30 16:00:59 +08:00
Guolin Ke
164524d8fb
weighted objective function
2016-11-30 15:20:06 +08:00
Guolin Ke
b59a5a4c11
test for early_stopping
2016-11-30 13:39:19 +08:00
Guolin Ke
f8267a5044
add min_data, fix test
2016-11-30 13:19:27 +08:00
Guolin Ke
f65164f67e
less verbose in test
2016-11-30 12:46:30 +08:00
Guolin Ke
c67d289086
move pandas support into basic.py
2016-11-30 12:24:32 +08:00
Guolin Ke
b12f99682e
add pandas support
2016-11-30 12:06:01 +08:00
Guolin Ke
a1567983bf
update travis
2016-11-30 11:45:36 +08:00
Guolin Ke
452b41f015
add more tests
2016-11-30 11:40:31 +08:00
Guolin Ke
44fcf16c6f
fix travis
2016-11-30 10:27:27 +08:00
Guolin Ke
3051b77118
some typo
2016-11-30 10:11:46 +08:00
Guolin Ke
05754b9579
finish other models.
2016-11-29 19:30:29 +08:00
Guolin Ke
d806836792
add simple setup for pip install
2016-11-29 18:16:54 +08:00
Guolin Ke
49d8564274
add sklearn like basic model
2016-11-29 17:47:45 +08:00
Guolin Ke
c861be930e
some bugs fix
2016-11-29 15:28:22 +08:00
Guolin Ke
6b288215c9
fix keyword error in VS2013
2016-11-29 14:55:36 +08:00
Guolin Ke
81f4594746
add cv support
2016-11-29 14:36:38 +08:00
Guolin Ke
595c10ab26
some naming fix
2016-11-27 20:25:28 +08:00
Guolin Ke
27624755bf
add main training logic and callbacks
2016-11-27 20:14:53 +08:00