Comments (7)
@binga , we are working on c_api and python/R package. The custom objective will be supported in python and R package.
You also can directly change the code to add self-defined objective function.
from lightgbm.
Looking forward to it. Thank you.
from lightgbm.
Can we have this issue open meantime to track the progress?
from lightgbm.
@kkimdev fixed already in #180 and #178 - or, use your own custom objective using the API (straightforward in R/Python).
from lightgbm.
Great, thanks!
from lightgbm.
@Laurae2 Is python custom objective function API documented anywhere? I can't find it... And looks like the available objective functions are hard-coded in the cpp file? https://github.com/Microsoft/LightGBM/blob/master/src/objective/objective_function.cpp
from lightgbm.
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.
from lightgbm.
Related Issues (20)
- [python-package] UserWarning with num_iterations HOT 3
- Segmentation fault when use compilation option -DUSE_TIMETAG=ON HOT 1
- Segmentation fault when use compilation option -DUSE_TIMETAG=ON HOT 2
- [Question] SHAP library: Is it possible to have a node in LightGBM that has no coverage (no samples assigned to it)? HOT 2
- Custom loss for LightGBM lead to negative probability prediction HOT 2
- [Question] Setting values for linear coefficient HOT 5
- [QUESTION] Adding trees manually on txt file HOT 1
- LGBM_BoosterUpdateOneIterCustom requires objective_func_ not null HOT 2
- [R-package] Expose start_iteration to dump/save/lgb.model.dt.tree HOT 1
- [GPU] Kernel crashed when using GPU HOT 5
- [python-package] LGBM hangs with high number of categories HOT 2
- [python-package] Early stopping callback added when early_stopping_round = 0 HOT 15
- [python-package] `init_score` causes the predictions different HOT 6
- Classifier predict numerical precision issue with large raw_score HOT 4
- score belong to different target classes. class 0 when init_score is given else 1 HOT 2
- LGBMClassifier gives non-deterministic outputs with very low AUC score compared to xgboost and catboost HOT 2
- [R-package] lgb.cv() fails with categorical features HOT 3
- [python-package] Can't continued training on Dataset with SequenceDataset(lgb.Sequence)
- Q:error in predict
- [python-package] CUDA version not truly installing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightgbm.