README.md in xgb-0.2.0 vs README.md in xgb-0.2.1
- old
+ new
@@ -1,23 +1,19 @@
# XGBoost
[XGBoost](https://github.com/dmlc/xgboost) - high performance gradient boosting - for Ruby
-[![Build Status](https://travis-ci.org/ankane/xgboost.svg?branch=master)](https://travis-ci.org/ankane/xgboost)
+[![Build Status](https://travis-ci.org/ankane/xgboost.svg?branch=master)](https://travis-ci.org/ankane/xgboost) [![Build status](https://ci.appveyor.com/api/projects/status/s8umwyuahvj68m6p/branch/master?svg=true)](https://ci.appveyor.com/project/ankane/xgboost/branch/master)
## Installation
Add this line to your application’s Gemfile:
```ruby
gem 'xgb'
```
-## Getting Started
-
-This library follows the [Python API](https://xgboost.readthedocs.io/en/latest/python/python_api.html), with the `get_` and `set_` prefixes removed from methods to make it more Ruby-like.
-
## Learning API
Prep your data
```ruby
@@ -68,11 +64,11 @@
```ruby
XGBoost.cv(params, dtrain, nfold: 3, verbose_eval: true)
```
-Set metadata about a model [master]
+Set metadata about a model
```ruby
booster["key"] = "value"
booster.attributes
```
@@ -153,16 +149,18 @@
- [Parameter Tuning](https://xgboost.readthedocs.io/en/latest/tutorials/param_tuning.html)
## Related Projects
- [LightGBM](https://github.com/ankane/lightgbm) - LightGBM for Ruby
-- [Eps](https://github.com/ankane/eps) - Machine Learning for Ruby
+- [Eps](https://github.com/ankane/eps) - Machine learning for Ruby
## Credits
-Thanks to the [xgboost](https://github.com/PairOnAir/xgboost-ruby) gem for serving as an initial reference.
+This library follows the [Python API](https://xgboost.readthedocs.io/en/latest/python/python_api.html), with the `get_` and `set_` prefixes removed from methods to make it more Ruby-like.
+Thanks to the [xgboost](https://github.com/PairOnAir/xgboost-ruby) gem for showing how to use FFI.
+
## History
View the [changelog](https://github.com/ankane/xgboost/blob/master/CHANGELOG.md)
## Contributing
@@ -172,13 +170,14 @@
- [Report bugs](https://github.com/ankane/xgboost/issues)
- Fix bugs and [submit pull requests](https://github.com/ankane/xgboost/pulls)
- Write, clarify, or fix documentation
- Suggest or add new features
-To get started with development and testing:
+To get started with development:
```sh
git clone https://github.com/ankane/xgboost.git
cd xgboost
bundle install
+bundle exec rake vendor:all
bundle exec rake test
```