Sha256: 0e79205c52b17ecb6c07278ed27f465dfe39c0b8bd897501c9f83d4570df8211

Contents?: true

Size: 888 Bytes

Versions: 1

Compression:

Stored size: 888 Bytes

Contents

# LightGBM

LightGBM for Ruby

## Installation

First, [install LightGBM](https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html).

Add this line to your application’s Gemfile:

```ruby
gem 'lightgbm'
```

Load a model

```ruby
booster = LightGBM::Booster.new(model_file: "model.txt")
```

Predict

```ruby
booster.predict([[1, 2], [3, 4]])
```

## Credits

Thanks to the [xgboost](https://github.com/PairOnAir/xgboost-ruby) gem for serving as an initial reference.

## History

View the [changelog](https://github.com/ankane/lightgbm/blob/master/CHANGELOG.md)

## Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

- [Report bugs](https://github.com/ankane/lightgbm/issues)
- Fix bugs and [submit pull requests](https://github.com/ankane/lightgbm/pulls)
- Write, clarify, or fix documentation
- Suggest or add new features

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lightgbm-0.1.0 README.md