1. 10 Sep, 2017 1 commit
  2. 08 Sep, 2017 1 commit
    • Nikita Titov's avatar
      [python] [setup] improving installation (#880) · 8984111f
      Nikita Titov authored
      * disabled logs from compilers; fixed #874
      
      * fixed safe clear_fplder
      
      * added windows folder to manifest.in
      
      * added windows folder to build
      
      * added library path
      
      * added compilation with MSBuild from .sln-file
      
      * fixed unknown PlatformToolset returns exitcode 0
      
      * hotfix
      
      * updated Readme
      
      * removed return
      
      * added installation with mingw test to appveyor
      
      * let's test appveyor with both VS 2015 and VS 2017; but MinGW isn't installed on VS 2017 image
      
      * fixed built-in name 'file'
      
      * simplified appveyor
      
      * removed excess data_files
      
      * fixed unreadable paths
      
      * separated exceptions for cmake and mingw
      
      * refactored silent_call
      
      * don't create artifacts with VS 2015 and mingw
      
      * be more precise with python versioning in Travis
      
      * removed unnecessary if statement
      
      * added classifiers for PyPI and python versions badge
      
      * changed python version in travis
      
      * added support of scikit-learn 0.18.x
      
      * added more python versions to Travis
      
      * added more python versions to Appveyor
      
      * reduced number of tests in Travis
      
      * Travis trick is not needed anymore
      
      * attempt to fix according to https://github.com/Microsoft/LightGBM/pull/880#discussion_r137438856
      8984111f
  3. 30 Jun, 2017 1 commit
    • wxchan's avatar
      [python] setup.py custom install & sdist (#659) · 711a0a78
      wxchan authored
      * setup.py custom install & sdist
      
      * global data_files
      
      * fix install rule
      
      * fix pylint
      
      * clean codes
      
      * use distutils.command
      
      * overwrite install_lib
      
      * add copy_files; fix pylint
      
      * install openmpi only TASK=mpi
      
      * add TASK=sdist & bdist
      
      * setuptools.command instead of distutils
      
      * add METHOD=pip for gpu test
      
      * use openmpi to install gcc
      
      * set OpenCL_INCLUDE_DIR & BOOST_ROOT
      
      * update doc
      
      * export BOOST_ROOT
      
      * update doc
      
      * update doc
      
      * update doc
      711a0a78
  4. 25 Jun, 2017 1 commit
  5. 22 Jun, 2017 1 commit
    • wxchan's avatar
      travis osx support (#642) · d862b3e7
      wxchan authored
      * support travis osx
      
      * add task=pip
      
      * add osx task=pip
      
      * fix gpu build
      
      * add if-else task
      
      * fix if-else task
      d862b3e7
  6. 20 Jun, 2017 3 commits
    • Guolin Ke's avatar
      Update .travis.yml · 35679920
      Guolin Ke authored
      35679920
    • Guolin Ke's avatar
      rollback cmakelists · 2e0a8077
      Guolin Ke authored
      2e0a8077
    • Guolin Ke's avatar
      [python] Submit to PyPI (#635) · 80c641cd
      Guolin Ke authored
      * add make command to the python package.
      
      * Update README.rst
      
      * Update README.rst
      
      * Update README.rst
      
      * fix tests.
      
      * fix unix build
      
      * update readme
      
      * fix setup.py
      
      * update travis
      
      * Update .travis.yml
      
      * Update test.py
      
      * some fixes.
      
      * check the 64-bit python
      
      * fix build.
      
      * refine MANIFEST.in
      
      * update Manifest.in
      
      * add more build options.
      
      * Add fatal in cmake
      
      * fix a endif.
      
      * fix bugs.
      
      * fix pep8
      
      * add test for the pip package build
      
      * add test pip install in travis.
      
      * fix version with pre-compile dll
      
      * fix readme.rst
      
      * update readme
      80c641cd
  7. 18 Jun, 2017 1 commit
  8. 11 May, 2017 1 commit
  9. 04 May, 2017 1 commit
  10. 02 May, 2017 1 commit
  11. 17 Apr, 2017 2 commits
  12. 16 Apr, 2017 1 commit
    • Guolin Ke's avatar
      faster histogram sum up (#418) · 98c7c2a3
      Guolin Ke authored
      * some refactor.
      
      * two stage sum up to reduce sum up error.
      
      * add more two-stage sumup.
      
      * some refactor.
      
      * add alignment.
      
      * change name to aligned_allocator.
      
      * remove some useless sumup.
      
      * fix a warning.
      
      * add -march=native .
      
      * remove the padding of gradients.
      
      * no alignment.
      
      * fix test.
      
      * change KNumSumupGroup to 32768.
      
      * change gcc flags.
      98c7c2a3
  13. 09 Apr, 2017 1 commit
    • Huan Zhang's avatar
      Initial GPU acceleration support for LightGBM (#368) · 0bb4a825
      Huan Zhang authored
      * add dummy gpu solver code
      
      * initial GPU code
      
      * fix crash bug
      
      * first working version
      
      * use asynchronous copy
      
      * use a better kernel for root
      
      * parallel read histogram
      
      * sparse features now works, but no acceleration, compute on CPU
      
      * compute sparse feature on CPU simultaneously
      
      * fix big bug; add gpu selection; add kernel selection
      
      * better debugging
      
      * clean up
      
      * add feature scatter
      
      * Add sparse_threshold control
      
      * fix a bug in feature scatter
      
      * clean up debug
      
      * temporarily add OpenCL kernels for k=64,256
      
      * fix up CMakeList and definition USE_GPU
      
      * add OpenCL kernels as string literals
      
      * Add boost.compute as a submodule
      
      * add boost dependency into CMakeList
      
      * fix opencl pragma
      
      * use pinned memory for histogram
      
      * use pinned buffer for gradients and hessians
      
      * better debugging message
      
      * add double precision support on GPU
      
      * fix boost version in CMakeList
      
      * Add a README
      
      * reconstruct GPU initialization code for ResetTrainingData
      
      * move data to GPU in parallel
      
      * fix a bug during feature copy
      
      * update gpu kernels
      
      * update gpu code
      
      * initial port to LightGBM v2
      
      * speedup GPU data loading process
      
      * Add 4-bit bin support to GPU
      
      * re-add sparse_threshold parameter
      
      * remove kMaxNumWorkgroups and allows an unlimited number of features
      
      * add feature mask support for skipping unused features
      
      * enable kernel cache
      
      * use GPU kernels withoug feature masks when all features are used
      
      * REAdme.
      
      * REAdme.
      
      * update README
      
      * fix typos (#349)
      
      * change compile to gcc on Apple as default
      
      * clean vscode related file
      
      * refine api of constructing from sampling data.
      
      * fix bug in the last commit.
      
      * more efficient algorithm to sample k from n.
      
      * fix bug in filter bin
      
      * change to boost from average output.
      
      * fix tests.
      
      * only stop training when all classes are finshed in multi-class.
      
      * limit the max tree output. change hessian in multi-class objective.
      
      * robust tree model loading.
      
      * fix test.
      
      * convert the probabilities to raw score in boost_from_average of classification.
      
      * fix the average label for binary classification.
      
      * Add boost_from_average to docs (#354)
      
      * don't use "ConvertToRawScore" for self-defined objective function.
      
      * boost_from_average seems doesn't work well in binary classification. remove it.
      
      * For a better jump link (#355)
      
      * Update Python-API.md
      
      * for a better jump in page
      
      A space is needed between `#` and the headers content according to Github's markdown format [guideline](https://guides.github.com/features/mastering-markdown/)
      
      After adding the spaces, we can jump to the exact position in page by click the link.
      
      * fixed something mentioned by @wxchan
      
      * Update Python-API.md
      
      * add FitByExistingTree.
      
      * adapt GPU tree learner for FitByExistingTree
      
      * avoid NaN output.
      
      * update boost.compute
      
      * fix typos (#361)
      
      * fix broken links (#359)
      
      * update README
      
      * disable GPU acceleration by default
      
      * fix image url
      
      * cleanup debug macro
      
      * remove old README
      
      * do not save sparse_threshold_ in FeatureGroup
      
      * add details for new GPU settings
      
      * ignore submodule when doing pep8 check
      
      * allocate workspace for at least one thread during builing Feature4
      
      * move sparse_threshold to class Dataset
      
      * remove duplicated code in GPUTreeLearner::Split
      
      * Remove duplicated code in FindBestThresholds and BeforeFindBestSplit
      
      * do not rebuild ordered gradients and hessians for sparse features
      
      * support feature groups in GPUTreeLearner
      
      * Initial parallel learners with GPU support
      
      * add option device, cleanup code
      
      * clean up FindBestThresholds; add some omp parallel
      
      * constant hessian optimization for GPU
      
      * Fix GPUTreeLearner crash when there is zero feature
      
      * use np.testing.assert_almost_equal() to compare lists of floats in tests
      
      * travis for GPU
      0bb4a825
  14. 25 Jan, 2017 1 commit
    • wxchan's avatar
      [python-package] add plot tree (#262) · 8980fc72
      wxchan authored
      * add plot tree
      
      * add docs
      
      * add example
      
      * add test
      
      * fix test
      
      * fix decision type
      
      * add show_info
      
      * use feature name if available
      8980fc72
  15. 20 Jan, 2017 1 commit
  16. 12 Jan, 2017 1 commit
    • wxchan's avatar
      suppprt pandas categorical (#193) · 6c248d37
      wxchan authored
      * suppprt pandas categorical
      
      * refine logic
      
      * make default=auto
      
      * fix train/valid categorical codes
      
      * add test
      
      * unify set _predictor
      
      * fix tests
      
      * fix warning
      
      * support feature_name=int
      6c248d37
  17. 04 Jan, 2017 1 commit
    • wxchan's avatar
      python code style with pep8 (#161) · dd425973
      wxchan authored
      * format python code with pep8
      
      * **DO NOT MERGE** deliberately break rules to see what will happen during check
      
      * Revert "**DO NOT MERGE** deliberately break rules to see what will happen during check"
      
      This reverts commit 0db93cd7a43c7efa43a2112ada43d46c6f9115d9.
      
      * fix format in test.py
      
      * add docs for pep-8
      dd425973
  18. 23 Dec, 2016 1 commit
    • wxchan's avatar
      rewrite test with unittest (#142) · db18367e
      wxchan authored
      * add troubleshooting
      
      * use unittest
      
      * update unittest version
      
      * fix test_engine.py
      
      * fix test_sklearn.py
      
      * default eval_metric by subclass
      
      * add test grid search
      
      * remove verbose_eval
      db18367e
  19. 08 Dec, 2016 1 commit
  20. 02 Dec, 2016 1 commit
    • wxchan's avatar
      Squash into one commit: · eba6d200
      wxchan authored
      1. merge python-package
      2. add dump model to json
      3. fix bugs
      4. clean code with pylint
      5. update python examples
      eba6d200
  21. 30 Nov, 2016 2 commits
  22. 24 Nov, 2016 1 commit
  23. 15 Nov, 2016 2 commits
  24. 11 Oct, 2016 1 commit