Streamline example

This commit is contained in:
Andras Schmelczer 2022-06-19 17:07:28 +02:00
parent 8f4a320702
commit 266e43b18a
13 changed files with 1255 additions and 524 deletions

23
.vscode/settings.json vendored
View file

@ -1,18 +1,30 @@
{
"cSpell.words": [
"basereload",
"boto",
"botocore",
"datatable",
"displaylogo",
"downsample",
"fastapi",
"finalise",
"finalised",
"gridfs",
"iloc",
"initialisation",
"initialised",
"inplace",
"ipynb",
"lemmatize",
"levelname",
"levelno",
"matplotlib",
"Multinomial",
"multiprocess",
"nbconvert",
"nbins",
"optimisation",
"organisation's",
"Parcoords",
"plotly",
"proba",
@ -21,23 +33,28 @@
"pymongo",
"pyplot",
"redoc",
"serialise",
"sklearn",
"starlette",
"sublinear",
"Tfidf",
"threadsafe",
"ticktext",
"tickvals",
"tinydb",
"tqdm",
"uvicorn",
"Vectorizer",
"xmargin"
"xmargin",
"xticks"
],
"files.exclude": {
".env": true,
".venv": true,
"**/.cache": true,
"**/__pycache__": true,
"**/.ipynb_checkpoints": true,
"**/.mypy_cache": true,
"**/.pytest_cache": true
}
},
"notebook.output.textLineLimit": 400
}

8
.vscode/tasks.json vendored
View file

@ -4,9 +4,9 @@
{
"label": "Format and lint Python",
"type": "shell",
"command": "source .venv/bin/activate && scripts/format-python.sh great_ai && scripts/format-python.sh examples/simple",
"command": "source .env/bin/activate && scripts/format-python.sh great_ai && scripts/format-python.sh examples/simple",
"windows": {
"command": ".venv\\bin\\activate.bat; scripts\\format-python.sh great_ai; scripts\\format-python.sh examples\\simple"
"command": ".env\\bin\\activate.bat; scripts\\format-python.sh great_ai; scripts\\format-python.sh examples\\simple"
},
"group": "test",
"presentation": {
@ -20,9 +20,9 @@
{
"label": "Test Python",
"type": "shell",
"command": "source .venv/bin/activate && python3 -m pytest great_ai",
"command": "source .env/bin/activate && python3 -m pytest great_ai",
"windows": {
"command": ".venv\\bin\\activate.bat; python3 -m pytest great_ai"
"command": ".env\\bin\\activate.bat; python3 -m pytest great_ai"
},
"group": "test",
"presentation": {