README.md in eps-0.3.5 vs README.md in eps-0.3.6
- old
+ new
@@ -341,14 +341,12 @@
```ruby
df = Daru::DataFrame.from_csv("houses.csv")
Eps::Model.new(df, target: "price")
```
-### CSVs
+When reading CSV files directly, be sure to convert numeric fields. The `table` method does this automatically.
-When importing data from CSV files, be sure to convert numeric fields. The `table` method does this automatically.
-
```ruby
CSV.table("data.csv").map { |row| row.to_h }
```
## Algorithms
@@ -373,12 +371,16 @@
Eps::Model.new(data, learning_rate: 0.01)
```
### Linear Regression
-#### Performance
+By default, an intercept is included. Disable this with:
+```ruby
+Eps::Model.new(data, intercept: false)
+```
+
To speed up training on large datasets with linear regression, [install GSL](https://github.com/ankane/gslr#gsl-installation). With Homebrew, you can use:
```sh
brew install gsl
```
@@ -388,17 +390,9 @@
```ruby
gem 'gslr', group: :development
```
It only needs to be available in environments used to build the model.
-
-#### Options
-
-By default, an intercept is included. Disable this with:
-
-```ruby
-Eps::Model.new(data, intercept: false)
-```
## Probability
To get the probability of each category for predictions with classification, use: