🌐 AI搜索 & 代理 主页
Skip to content

Commit cab997f

Browse files
committed
typos
1 parent e6e44d9 commit cab997f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ $ psql -f data/winequality-red.sql -p 5433 -U root -h 127.0.0.1
118118
Training a model is as easy as creating a table or a view that holds the training data, and then registering that with PostgresML:
119119

120120
```sql
121-
SELECT pgml.train('Red Wine Quality', 'regression', 'red_wine_quality', 'quality');
121+
SELECT * FROM pgml.train('Red Wine Quality', 'regression', 'wine_quality_red', 'quality');
122122
```
123123

124124
The function will snapshot the training data, train the model using multiple algorithms, automatically pick the best one, and make it available for predictions.
@@ -132,7 +132,7 @@ SELECT pgml.predict('Red Wine Quality', 7.4, 0.66, 1.0, 1.8, 0.075, 17.0, 40.0,
132132

133133
quality
134134
---------
135-
8
135+
4.19
136136
(1 row)
137137
```
138138

0 commit comments

Comments
 (0)