|
1 |
| -# Create a new service (generic) template |
| 1 | +# Regression benchmark service |
2 | 2 |
|
3 |
| -This repository contains the Python + FastAPI template to create a service |
4 |
| -without a model or from an existing model compatible with the Core engine. |
5 |
| - |
6 |
| -Please read the documentation at |
7 |
| -<https://docs.swiss-ai-center.ch/how-to-guides/how-to-create-a-new-service> to |
8 |
| -understand how to use this template. |
9 |
| - |
10 |
| -## Guidelines |
11 |
| - |
12 |
| -TODO: Add instructions on how to edit this template. |
13 |
| - |
14 |
| -### Publishing and deploying using a CI/CD pipeline |
15 |
| - |
16 |
| -This is the recommended way to publish and deploy your service if you have |
17 |
| -access to GitHub Actions or GitLab CI. |
18 |
| - |
19 |
| -TODO |
20 |
| - |
21 |
| -### Publishing and deploying manually |
22 |
| - |
23 |
| -This is the recommended way to publish and deploy your service if you do not |
24 |
| -have access to GitHub Actions or GitLab CI or do not want to use these services. |
25 |
| - |
26 |
| -TODO |
27 |
| - |
28 |
| -## Checklist |
29 |
| - |
30 |
| -These checklists allow you to ensure everything is set up correctly. |
31 |
| - |
32 |
| -### Common tasks |
33 |
| - |
34 |
| -- [ ] Rename the project in the [`pyproject.toml`](./pyproject.toml) file |
35 |
| -- [x] Add files that must be ignored to the [`.gitignore`](.gitignore) configuration file |
36 |
| -- [ ] TODO |
37 |
| - |
38 |
| -### Publishing and deploying using a CI/CD pipeline |
39 |
| - |
40 |
| -> [!NOTE] |
41 |
| -> This checklist is specific to the _Publishing and deploying using a CI/CD |
42 |
| -> pipeline_ section. |
43 |
| -
|
44 |
| -- [x] Add the environment variables |
45 |
| -- [ ] TODO |
46 |
| - |
47 |
| -### Publishing and deploying manually |
48 |
| - |
49 |
| -> [!NOTE] |
50 |
| -> This checklist is specific to the _Publishing and deploying manually_ section. |
51 |
| -
|
52 |
| -- [x] Edit the [`.env`](.env) configuration file |
53 |
| -- [ ] TODO |
| 3 | +This service uses lazypredict benchmarks a dataset with various models and outputs the results sorted by accuracy. |
| 4 | +In order for the service to work your dataset label column must be called "target". |
| 5 | +Also to improve the results you may want to remove uneccessary columns from the dataset. |
| 6 | +Finally, avoid having multiple empty lines at the end of the file. |
0 commit comments