File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ $ pip3.9 install pgml
5959Finally to interact with the package, install our functions and supporting tables into the database:
6060
6161``` bash
62- psql -f sql/install.sql
62+ $ psql -f sql/install.sql
6363```
6464
6565If everything works, you should be able to run this successfully:
6666
6767``` bash
68- psql -c ' SELECT pgml.version()'
68+ $ psql -c ' SELECT pgml.version()'
6969```
7070
7171### Ubuntu/Debian
@@ -79,7 +79,7 @@ $ sudo apt-get install -y postgresql-plpython3-12 python3 python3-pip postgresql
7979Restart PostgreSQL:
8080
8181``` bash
82- sudo service postgresql restart
82+ $ sudo service postgresql restart
8383```
8484
8585Install our Python package and SQL functions:
@@ -92,7 +92,7 @@ $ psql -f sql/install.sql
9292If everything works, you should be able to run this successfully:
9393
9494``` bash
95- psql -c ' SELECT pgml.version()'
95+ $ psql -c ' SELECT pgml.version()'
9696```
9797
9898## Working with PostgresML
@@ -110,7 +110,7 @@ We'll be using the [Red Wine Quality](https://www.kaggle.com/datasets/uciml/red-
110110You can import it into PostgresML running in Docker with this:
111111
112112``` bash
113- psql -f data/winequality-red.sql -p 5433 -U root -h 127.0.0.1
113+ $ psql -f data/winequality-red.sql -p 5433 -U root -h 127.0.0.1
114114```
115115
116116### Training a model
You can’t perform that action at this time.
0 commit comments