macOS
brew install lightgbmlocal Homebrew formula metadata
sudo port install LightGBMMacPorts ports tree · math/LightGBM/Portfile · 来源: api.github.com
安装
brew install lightgbmlocal Homebrew formula metadata
sudo port install LightGBMMacPorts ports tree · math/LightGBM/Portfile · 来源: api.github.com
nix profile install nixpkgs#lightgbmnixpkgs package indexes · pkgs/by-name/li/lightgbm/package.nix · 来源: api.github.com
winget install --id Microsoft.LightGBM -eWindows Package Manager source index · Microsoft.LightGBM · 来源: cdn.winget.microsoft.com
概览
Fast, distributed, high performance gradient boosting framework
历史
LightGBM, short for Light Gradient Boosting Machine, is a high-performance gradient boosting framework for tree-based learning. It became one of the standard packages for tabular machine learning because it combines fast histogram-based training, low memory use, categorical-feature handling, and parallel or distributed execution.
The GitHub repository was created on 2016-08-05. The README describes LightGBM as a gradient boosting framework designed for faster training, lower memory usage, better accuracy, parallel and distributed learning, GPU learning, and large-scale data.
The official papers connect the implementation to Microsoft Research work on communication-efficient parallel decision trees in 2016 and the 2017 NIPS paper "LightGBM: A Highly Efficient Gradient Boosting Decision Tree." The paper introduced Gradient-based One-Side Sampling and Exclusive Feature Bundling as key techniques for speeding up GBDT training.
The repository moved from Microsoft/LightGBM to lightgbm-org/LightGBM in March 2026. The maintainers documented the move in issue 7187 and stated that the same maintainers, including the creator of LightGBM, continued managing the official source repository.
The README says LightGBM has been widely used in winning machine-learning competition solutions. Its package footprint spans command-line binaries, Python, R, conda, CRAN, NuGet, Winget, Homebrew, and downstream integrations such as Spark-oriented wrappers and inference converters.
LightGBM's adoption followed a practical need in tabular-data workflows: teams wanted XGBoost-class accuracy with faster training iterations and better memory behavior on large datasets.
Users train models from the CLI or language bindings for regression, classification, ranking, and large-scale distributed tasks. Common package-manager use cases include installing the CLI for experiments, installing Python or R bindings for notebooks and pipelines, and installing the library as a dependency of higher-level ML systems.
LightGBM is package-nerd significant because it is a research system that became packaging infrastructure: native C++, Python wheels, R packages, GPU builds, distributed modes, and many downstream wrappers all have to agree on the same fast tree learner.
It is also a canonical example of ML packaging complexity, where one upstream project must serve CLI users, language-binding users, GPU users, and distro maintainers without losing performance-sensitive native code paths.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lightgbm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/lightgbm-org/LightGBM
安装元数据
| 软件包键 | brew:lightgbm |
|---|---|
| 版本 | 4.7.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/lightgbm |
| 主页 | https://lightgbm.readthedocs.io/en/latest/ |
| 仓库 | https://github.com/lightgbm-org/LightGBM |
| 上游文档 | https://lightgbm.readthedocs.io/en/stable |
| 许可证 | MIT |
| 源码归档 | https://github.com/lightgbm-org/LightGBM.git |
| 最后更新 | 2026-07-18T21:02:43Z |
| Pulse | updated |
| 依赖 | libomp |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lightgbm |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lightgbm
nix profile install nixpkgs#lightgbmLightGBM
sudo port install LightGBMMicrosoft.LightGBM
winget install --id Microsoft.LightGBM -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.