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

Commit e6e44d9

Browse files
committed
bash
1 parent df06db0 commit e6e44d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ $ pip3.9 install pgml
5959
Finally 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

6565
If 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
7979
Restart PostgreSQL:
8080

8181
```bash
82-
sudo service postgresql restart
82+
$ sudo service postgresql restart
8383
```
8484

8585
Install our Python package and SQL functions:
@@ -92,7 +92,7 @@ $ psql -f sql/install.sql
9292
If 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-
110110
You 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

0 commit comments

Comments
 (0)