README.md in vowpalwabbit-0.1.2 vs README.md in vowpalwabbit-0.1.3

- old
+ new

@@ -1,23 +1,29 @@ -# Vowpal Wabbit +# Vowpal Wabbit Ruby [Vowpal Wabbit](https://vowpalwabbit.org) - fast online machine learning - for Ruby -[![Build Status](https://travis-ci.org/ankane/vowpalwabbit.svg?branch=master)](https://travis-ci.org/ankane/vowpalwabbit) +[![Build Status](https://github.com/ankane/vowpalwabbit-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/vowpalwabbit-ruby/actions) ## Installation First, install the [Vowpal Wabbit C++ library](https://vowpalwabbit.org/start.html). For Homebrew, use: ```sh brew install vowpal-wabbit ``` -Add this line to your application’s Gemfile: +And for Ubuntu, use: +```sh +sudo apt install libvw0 +``` + +Then add this line to your application’s Gemfile: + ```ruby -gem 'vowpalwabbit' +gem "vowpalwabbit" ``` ## Getting Started Prep your data @@ -89,14 +95,14 @@ ```ruby [[1, 2, 3], [4, 5, 6]] ``` -Or a Numo NArray +Or a Numo array ```ruby -Numo::DFloat.new(3, 2).seq +Numo::NArray.cast([[1, 2, 3], [4, 5, 6]]) ``` Or an array of strings ```ruby @@ -124,24 +130,24 @@ Read more about the [input format](https://github.com/VowpalWabbit/vowpal_wabbit/wiki/Input-format) ## History -View the [changelog](https://github.com/ankane/vowpalwabbit/blob/master/CHANGELOG.md) +View the [changelog](https://github.com/ankane/vowpalwabbit-ruby/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/vowpalwabbit/issues) -- Fix bugs and [submit pull requests](https://github.com/ankane/vowpalwabbit/pulls) +- [Report bugs](https://github.com/ankane/vowpalwabbit-ruby/issues) +- Fix bugs and [submit pull requests](https://github.com/ankane/vowpalwabbit-ruby/pulls) - Write, clarify, or fix documentation - Suggest or add new features To get started with development: ```sh -git clone https://github.com/ankane/vowpalwabbit.git -cd vowpalwabbit +git clone https://github.com/ankane/vowpalwabbit-ruby.git +cd vowpalwabbit-ruby bundle install bundle exec rake test ```