vowpalwabbit 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa89f06a4117a04e64013f332f75c1ebfd99542c508934430fd511b824fded94
4
- data.tar.gz: 00d4b988b39f03ad1a5625e8eccfb427e96ef9488c964e50c7e436c8e2e4e57b
3
+ metadata.gz: 0f570468a7c83ef8a9fc34ec2fba246cc0aeb6b381ae8bda5fbb34a962fc7c9e
4
+ data.tar.gz: 2c5e3fcd0bc5f72793b6333781fcdc1ac9a41a9e72007af62c5e112ebbe4a6f2
5
5
  SHA512:
6
- metadata.gz: 37051b8953fddd8f88bc22d2adf66003acfaf8a14beacd4314641616c2e607d5a8c59f572675e94f40759fe142ec491bf6d360493e93f910836ec9db84e909a5
7
- data.tar.gz: 2233f54d84f06b8176cf4d37c5cd9387eeaaee06cdfdbd1402bad3fa0117e5f3d1f7df60e453aca8ac17dd5de3ececf1c6db026fb112f9eecf080ecc41e11bb3
6
+ metadata.gz: dc8c59babe46f6bb6e046be66f0fdebf68ef3f405f12d7affc327ec0ceb19f2f183ca44313539ca4e51c6ec7814a839e9ca647d091cc511f7bde638bca4dce3e
7
+ data.tar.gz: 26286a69cb72eb38ed4c53dd0fe641dbf12be6d52810e52a3b0a4a7b1e295708a7129f939363df22d275add22cdfec72513d1b247bd3439d02c8e76de0508e98
@@ -1,8 +1,13 @@
1
- ## 0.1.1
1
+ ## 0.1.2 (2020-08-18)
2
+
3
+ - Changed to BSD 3-Clause license to match Vowpal Wabbit
4
+ - Fixed deprecation warning in Ruby 2.7
5
+
6
+ ## 0.1.1 (2019-11-02)
2
7
 
3
8
  - Added support for compressed files
4
9
  - Added support for Numo
5
10
 
6
- ## 0.1.0
11
+ ## 0.1.0 (2019-10-21)
7
12
 
8
13
  - First release
@@ -1,22 +1,30 @@
1
- Copyright (c) 2019 Andrew Kane
1
+ BSD 3-Clause License
2
2
 
3
- MIT License
3
+ Copyright (c) Microsoft Corp 2012-2014, Yahoo! Inc. 2007-2012, and many individual contributors
4
+ Copyright (c) 2019, Andrew Kane
5
+ All rights reserved.
4
6
 
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are met:
12
9
 
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
10
+ 1. Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
15
12
 
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
+ 2. Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ 3. Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  [Vowpal Wabbit](https://vowpalwabbit.org) - fast online machine learning - for Ruby
4
4
 
5
- :fire: Uses the C API for blazing performance
6
-
7
5
  [![Build Status](https://travis-ci.org/ankane/vowpalwabbit.svg?branch=master)](https://travis-ci.org/ankane/vowpalwabbit)
8
6
 
9
7
  ## Installation
@@ -138,3 +136,12 @@ Everyone is encouraged to help improve this project. Here are a few ways you can
138
136
  - Fix bugs and [submit pull requests](https://github.com/ankane/vowpalwabbit/pulls)
139
137
  - Write, clarify, or fix documentation
140
138
  - Suggest or add new features
139
+
140
+ To get started with development:
141
+
142
+ ```sh
143
+ git clone https://github.com/ankane/vowpalwabbit.git
144
+ cd vowpalwabbit
145
+ bundle install
146
+ bundle exec rake test
147
+ ```
@@ -1,7 +1,7 @@
1
1
  module VowpalWabbit
2
2
  class Classifier < Model
3
3
  def initialize(**params)
4
- super({loss_function: "logistic"}.merge(params))
4
+ super(loss_function: "logistic", **params)
5
5
  end
6
6
 
7
7
  def predict(x)
@@ -1,3 +1,3 @@
1
1
  module VowpalWabbit
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vowpalwabbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-02 00:00:00.000000000 Z
11
+ date: 2020-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -97,7 +97,7 @@ files:
97
97
  - lib/vowpalwabbit/version.rb
98
98
  homepage: https://github.com/ankane/vowpalwabbit
99
99
  licenses:
100
- - MIT
100
+ - BSD-3-Clause
101
101
  metadata: {}
102
102
  post_install_message:
103
103
  rdoc_options: []
@@ -114,8 +114,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
- rubygems_version: 3.0.3
117
+ rubygems_version: 3.1.2
118
118
  signing_key:
119
119
  specification_version: 4
120
- summary: Vowpal Wabbit - fast online machine learning - for Ruby
120
+ summary: Fast online machine learning for Ruby
121
121
  test_files: []