You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-23Lines changed: 29 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,13 @@ Nucleus is a new way—the right way—to develop ML models, helping us move awa
17
17
18
18
`$ pip install scale-nucleus`
19
19
20
-
21
20
## CLI installation
21
+
22
22
We recommend installing the CLI via `pipx` (https://pypa.github.io/pipx/installation/). This makes sure that
23
23
the CLI does not interfere with you system packages and is accessible from your favorite terminal.
24
24
25
25
For MacOS:
26
+
26
27
```bash
27
28
brew install pipx
28
29
pipx ensurepath
@@ -32,6 +33,7 @@ nu install-completions
32
33
```
33
34
34
35
Otherwise, install via pip (requires pip 19.0 or later):
36
+
35
37
```bash
36
38
python3 -m pip install --user pipx
37
39
python3 -m pipx ensurepath
@@ -45,6 +47,7 @@ nu install-completions
45
47
### Outdated Client
46
48
47
49
Nucleus is iterating rapidly and as a result we do not always perfectly preserve backwards compatibility with older versions of the client. If you run into any unexpected error, it's a good idea to upgrade your version of the client by running
50
+
48
51
```
49
52
pip install --upgrade scale-nucleus
50
53
```
@@ -87,33 +90,34 @@ poetry run pytest -m "not integration"
87
90
88
91
## Pydantic Models
89
92
90
-
Prefer using [Pydantic](https://pydantic-docs.helpmanual.io/usage/models/) models rather than creating raw dictionaries
91
-
or dataclasses to send or receive over the wire as JSONs. Pydantic is created with data validation in mind and provides very clear error
93
+
Prefer using [Pydantic](https://pydantic-docs.helpmanual.io/usage/models/) models rather than creating raw dictionaries
94
+
or dataclasses to send or receive over the wire as JSONs. Pydantic is created with data validation in mind and provides very clear error
92
95
messages when it encounters a problem with the payload.
93
96
94
97
The Pydantic model(s) should mirror the payload to send. To represent a JSON payload that looks like this:
`sphinx-autobuild` will spin up a server on localhost (port 8000 by default) that will watch for and automatically rebuild a version of the API reference based on your local docstring changes.
182
186
187
+
`sphinx-autobuild` will spin up a server on localhost (port 8000 by default) that will watch for and automatically rebuild a version of the API reference based on your local docstring changes.
183
188
184
189
## Custom Metrics using Shapely in scale-validate
185
190
186
191
Certain metrics use `shapely` which is added as an optional dependency.
0 commit comments