Skip to content

Commit 2622361

Browse files
committed
A few fixes in docs
1 parent 5625f34 commit 2622361

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pgml-docs/docs/user_guides/training/hyperparameter_search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This grid search will train `len(max_depth) * len(n_estimators) * len(learning_r
4343

4444
=== "SQL"
4545

46-
```sql
46+
```sql linenums="1"
4747
SELECT * FROM pgml.train(
4848
'Handwritten Digit Image Classifier',
4949
algorithm => 'xgboost',
@@ -58,7 +58,7 @@ This grid search will train `len(max_depth) * len(n_estimators) * len(learning_r
5858

5959
=== "Output"
6060

61-
```
61+
```sql linenums="1"
6262
project_name | objective | algorithm_name | status
6363
------------------------------------+-----------+----------------+----------
6464
Handwritten Digit Image Classifier | | xgboost | deployed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Joint Optimization
22

3-
Some algorithms support joint optimization of the objective across multiple outputs, and can improve results compared to using multiple independent models. To leverage multiple outputs in PostgresML, you'll need to substitue the standard usage of `pgml.train` and `pgml.predict` with `pgml.train_multi` and `pgml.predict_multi`. The `_multi` functions are identical, except `train_multi` takes an array of `y_column_names TEXT[]`, and `predict_multi` returns an array of outputs correspondingly.
3+
Some algorithms support joint optimization of the objective across multiple outputs, and can improve results compared to using multiple independent models. To leverage multiple outputs in PostgresML, you'll need to substitue the standard usage of `pgml.train` and `pgml.predict` with `pgml.train_joint` and `pgml.predict_joint`. The `_joint` functions are identical, except `train_joint` takes an array of `y_column_names TEXT[]`, and `predict_joint` returns an array of outputs correspondingly.
44

5-
Read more at [scikit-learn](https://scikit-learn.org/stable/modules/classes.html#module-sklearn.multioutput).
5+
Read more at [scikit-learn](https://scikit-learn.org/stable/modules/classes.html#module-sklearn.multioutput).

pgml-docs/docs/user_guides/training/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Now that we've got data, we're ready to train a model using an algorithm. We'll
103103

104104
=== "Output"
105105

106-
```sql linenumes="1"
106+
```sql linenums="1"
107107
project_name | objective | algorithm_name | status
108108
------------------------------------+----------------+----------------+----------
109109
Handwritten Digit Image Classifier | classification | linear | deployed

0 commit comments

Comments
 (0)