README.md in eps-0.3.4 vs README.md in eps-0.3.5
- old
+ new
@@ -311,23 +311,36 @@
x = [{x: 1}, {x: 2}, {x: 3}]
y = [1, 2, 3]
Eps::Model.new(x, y)
```
-Or pass arrays of arrays
+Data can be an array of arrays
```ruby
x = [[1, 2], [2, 0], [3, 1]]
y = [1, 2, 3]
Eps::Model.new(x, y)
```
-### Daru
+Or Numo arrays
-Eps works well with Daru data frames.
+```ruby
+x = Numo::NArray.cast([[1, 2], [2, 0], [3, 1]])
+y = Numo::NArray.cast([1, 2, 3])
+Eps::Model.new(x, y)
+```
+Or a Rover data frame
+
```ruby
+df = Rover.read_csv("houses.csv")
+Eps::Model.new(df, target: "price")
+```
+
+Or a Daru data frame
+
+```ruby
df = Daru::DataFrame.from_csv("houses.csv")
Eps::Model.new(df, target: "price")
```
### CSVs
@@ -349,9 +362,17 @@
Eps supports:
- LightGBM (default)
- Linear Regression
- Naive Bayes
+
+### LightGBM
+
+Pass the learning rate with:
+
+```ruby
+Eps::Model.new(data, learning_rate: 0.01)
+```
### Linear Regression
#### Performance