Rerender
All checks were successful
Publish documentation to great-ai.schmelczer.dev / publish (push) Successful in 1m10s
Check / Lint, format & type checks (push) Successful in 1m55s
Check / Test on Python 3.12 (push) Successful in 3m8s
Check / Test on Python 3.13 (push) Successful in 2m32s
Check / Notebooks on Python 3.12 (push) Successful in 8m49s
Check / Notebooks on Python 3.13 (push) Successful in 7m53s
All checks were successful
Publish documentation to great-ai.schmelczer.dev / publish (push) Successful in 1m10s
Check / Lint, format & type checks (push) Successful in 1m55s
Check / Test on Python 3.12 (push) Successful in 3m8s
Check / Test on Python 3.13 (push) Successful in 2m32s
Check / Notebooks on Python 3.12 (push) Successful in 8m49s
Check / Notebooks on Python 3.13 (push) Successful in 7m53s
This commit is contained in:
parent
13dadc74ed
commit
cf61b38b45
4 changed files with 7062 additions and 267 deletions
|
|
@ -35,9 +35,16 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 1,
|
||||
"id": "a800dc4d",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:31.221616Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:31.221419Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:31.227624Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:31.226922Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from docs.notebook_support import DATA_DIR, FULL_RUN, mag_lines"
|
||||
|
|
@ -47,7 +54,14 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"id": "cell-3",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:31.229286Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:31.229129Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:31.231400Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:31.230864Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"PER_LABEL = None if FULL_RUN else 60"
|
||||
|
|
@ -57,7 +71,14 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "cell-4",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:31.232556Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:31.232454Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:31.318875Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:31.318472Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
|
|
@ -90,7 +111,14 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "cell-6",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:31.319705Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:31.319649Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:32.655835Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:32.655342Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from great_ai.utilities import clean\n",
|
||||
|
|
@ -106,7 +134,14 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"id": "cell-7",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:32.656875Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:32.656706Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:32.658407Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:32.657982Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"X, y = zip(*preprocessed_data) # X is the input, y is the expected output"
|
||||
|
|
@ -129,8 +164,107 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"id": "cell-9",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:32.659171Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:32.659099Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:32.670028Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:32.669511Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mEnvironment variable ENVIRONMENT is not set, defaulting to development mode ‼️\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mCannot find credentials files, defaulting to using ParallelTinyDbDriver\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mThe selected tracing database (ParallelTinyDbDriver) is not recommended for production\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mCannot find credentials files, defaulting to using LargeFileLocal\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mGreatAI (v0.1.11): configured ✅\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 tracing_database: ParallelTinyDbDriver\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 large_file_implementation: LargeFileLocal\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 is_production: False\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 should_log_exception_stack: True\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 prediction_cache_size: 512\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 dashboard_table_size: 50\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mYou still need to check whether you follow all best practices before trusting your deployment.\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226m> Find out more at https://se-ml.github.io/practices\u001b[0m\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import random\n",
|
||||
"from great_ai import add_ground_truth, delete_ground_truth\n",
|
||||
|
|
|
|||
|
|
@ -34,17 +34,133 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"execution_count": 1,
|
||||
"id": "cell-3",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:38.748279Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:38.748156Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:40.219787Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:40.219011Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mFetching cached versions of small-domain-prediction\u001b[0m\n",
|
||||
"\u001b[38;5;39mLatest version of small-domain-prediction is 0 (from versions: 0)\u001b[0m\n",
|
||||
"\u001b[38;5;39mFile small-domain-prediction-0 found in cache\u001b[0m\n",
|
||||
"\u001b[38;5;226mEnvironment variable ENVIRONMENT is not set, defaulting to development mode ‼️\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mCannot find credentials files, defaulting to using ParallelTinyDbDriver\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mThe selected tracing database (ParallelTinyDbDriver) is not recommended for production\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mCannot find credentials files, defaulting to using LargeFileLocal\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mGreatAI (v0.1.11): configured ✅\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 tracing_database: ParallelTinyDbDriver\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 large_file_implementation: LargeFileLocal\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 is_production: False\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 should_log_exception_stack: True\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 prediction_cache_size: 512\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 dashboard_table_size: 50\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mYou still need to check whether you follow all best practices before trusting your deployment.\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226m> Find out more at https://se-ml.github.io/practices\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mFetching cached versions of small-domain-prediction\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mLatest version of small-domain-prediction is 0 (from versions: 0)\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mFile small-domain-prediction-0 found in cache\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mFile small-domain-prediction-0 found in cache\u001b[0m\n"
|
||||
]
|
||||
}
|
||||
|
|
@ -139,15 +255,95 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 2,
|
||||
"id": "cell-5",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:40.220877Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:40.220772Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:41.416823Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:41.416155Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"100%|██████████| 84/84 [00:01<00:00, 81.74it/s] "
|
||||
"\r",
|
||||
" 0%| | 0/84 [00:00<?, ?it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\r",
|
||||
" 1%| | 1/84 [00:00<00:21, 3.81it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\r",
|
||||
" 13%|█▎ | 11/84 [00:00<00:01, 36.69it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\r",
|
||||
" 25%|██▌ | 21/84 [00:00<00:01, 54.23it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\r",
|
||||
" 37%|███▋ | 31/84 [00:00<00:00, 63.01it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\r",
|
||||
" 49%|████▉ | 41/84 [00:00<00:00, 69.13it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\r",
|
||||
" 61%|██████ | 51/84 [00:00<00:00, 73.60it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\r",
|
||||
" 85%|████████▍ | 71/84 [00:01<00:00, 94.70it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\r",
|
||||
" 96%|█████████▋| 81/84 [00:01<00:00, 91.80it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\r",
|
||||
"100%|██████████| 84/84 [00:01<00:00, 73.28it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -231,9 +427,16 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": 3,
|
||||
"id": "98ae85f1",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:41.418358Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:41.418224Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:41.457910Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:41.457489Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
|
|
|
|||
|
|
@ -15,10 +15,109 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"execution_count": 1,
|
||||
"id": "cell-2",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:46.557024Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:46.556756Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:47.930475Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:47.930111Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mEnvironment variable ENVIRONMENT is not set, defaulting to development mode ‼️\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mCannot find credentials files, defaulting to using ParallelTinyDbDriver\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mThe selected tracing database (ParallelTinyDbDriver) is not recommended for production\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mCannot find credentials files, defaulting to using LargeFileLocal\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mGreatAI (v0.1.11): configured ✅\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 tracing_database: ParallelTinyDbDriver\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 large_file_implementation: LargeFileLocal\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 is_production: False\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 should_log_exception_stack: True\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 prediction_cache_size: 512\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 dashboard_table_size: 50\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mYou still need to check whether you follow all best practices before trusting your deployment.\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226m> Find out more at https://se-ml.github.io/practices\u001b[0m\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from great_ai import query_ground_truth\n",
|
||||
"\n",
|
||||
|
|
@ -29,9 +128,16 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 2,
|
||||
"id": "cell-3",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:47.931724Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:47.931557Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:48.314653Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:48.314283Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
|
|
|
|||
|
|
@ -32,9 +32,16 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 1,
|
||||
"id": "d8ae0655",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:33.469672Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:33.469359Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:33.475106Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:33.473998Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from docs.notebook_support import FULL_RUN"
|
||||
|
|
@ -44,8 +51,107 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"id": "cell-3",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:33.476993Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:33.476853Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:34.629711Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:34.629235Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mEnvironment variable ENVIRONMENT is not set, defaulting to development mode ‼️\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mCannot find credentials files, defaulting to using ParallelTinyDbDriver\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mThe selected tracing database (ParallelTinyDbDriver) is not recommended for production\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mCannot find credentials files, defaulting to using LargeFileLocal\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mGreatAI (v0.1.11): configured ✅\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 tracing_database: ParallelTinyDbDriver\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 large_file_implementation: LargeFileLocal\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 is_production: False\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 should_log_exception_stack: True\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 prediction_cache_size: 512\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39m 🔩 dashboard_table_size: 50\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226mYou still need to check whether you follow all best practices before trusting your deployment.\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;226m> Find out more at https://se-ml.github.io/practices\u001b[0m\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from great_ai import query_ground_truth\n",
|
||||
"\n",
|
||||
|
|
@ -61,7 +167,14 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "cell-4",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:34.630652Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:34.630494Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:34.675524Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:34.675167Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
|
|
@ -107,7 +220,14 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "cell-6",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:34.676373Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:34.676316Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:34.683015Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:34.682660Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from sklearn.naive_bayes import MultinomialNB\n",
|
||||
|
|
@ -128,7 +248,14 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"id": "cell-7",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:34.683793Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:34.683737Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:35.666188Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:35.665816Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
|
|
@ -178,10 +305,10 @@
|
|||
" <tbody>\n",
|
||||
" <tr>\n",
|
||||
" <th>2</th>\n",
|
||||
" <td>0.002468</td>\n",
|
||||
" <td>0.000398</td>\n",
|
||||
" <td>0.001431</td>\n",
|
||||
" <td>0.000171</td>\n",
|
||||
" <td>0.002220</td>\n",
|
||||
" <td>0.000173</td>\n",
|
||||
" <td>0.001228</td>\n",
|
||||
" <td>0.000017</td>\n",
|
||||
" <td>0.5</td>\n",
|
||||
" <td>False</td>\n",
|
||||
" <td>0.9</td>\n",
|
||||
|
|
@ -196,10 +323,10 @@
|
|||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>6</th>\n",
|
||||
" <td>0.002088</td>\n",
|
||||
" <td>0.000166</td>\n",
|
||||
" <td>0.001113</td>\n",
|
||||
" <td>0.000053</td>\n",
|
||||
" <td>0.002214</td>\n",
|
||||
" <td>0.000084</td>\n",
|
||||
" <td>0.001206</td>\n",
|
||||
" <td>0.000011</td>\n",
|
||||
" <td>1.0</td>\n",
|
||||
" <td>False</td>\n",
|
||||
" <td>0.9</td>\n",
|
||||
|
|
@ -214,10 +341,10 @@
|
|||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>0</th>\n",
|
||||
" <td>0.010547</td>\n",
|
||||
" <td>0.005423</td>\n",
|
||||
" <td>0.001438</td>\n",
|
||||
" <td>0.000207</td>\n",
|
||||
" <td>0.008167</td>\n",
|
||||
" <td>0.004108</td>\n",
|
||||
" <td>0.001306</td>\n",
|
||||
" <td>0.000036</td>\n",
|
||||
" <td>0.5</td>\n",
|
||||
" <td>True</td>\n",
|
||||
" <td>0.9</td>\n",
|
||||
|
|
@ -232,10 +359,10 @@
|
|||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>4</th>\n",
|
||||
" <td>0.002662</td>\n",
|
||||
" <td>0.000426</td>\n",
|
||||
" <td>0.001162</td>\n",
|
||||
" <td>0.000068</td>\n",
|
||||
" <td>0.002201</td>\n",
|
||||
" <td>0.000114</td>\n",
|
||||
" <td>0.001167</td>\n",
|
||||
" <td>0.000094</td>\n",
|
||||
" <td>1.0</td>\n",
|
||||
" <td>True</td>\n",
|
||||
" <td>0.9</td>\n",
|
||||
|
|
@ -250,10 +377,10 @@
|
|||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>3</th>\n",
|
||||
" <td>0.001664</td>\n",
|
||||
" <td>0.000016</td>\n",
|
||||
" <td>0.001354</td>\n",
|
||||
" <td>0.000081</td>\n",
|
||||
" <td>0.001697</td>\n",
|
||||
" <td>0.000039</td>\n",
|
||||
" <td>0.001383</td>\n",
|
||||
" <td>0.000154</td>\n",
|
||||
" <td>0.5</td>\n",
|
||||
" <td>False</td>\n",
|
||||
" <td>0.9</td>\n",
|
||||
|
|
@ -268,10 +395,10 @@
|
|||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>7</th>\n",
|
||||
" <td>0.002125</td>\n",
|
||||
" <td>0.000228</td>\n",
|
||||
" <td>0.001368</td>\n",
|
||||
" <td>0.000247</td>\n",
|
||||
" <td>0.001766</td>\n",
|
||||
" <td>0.000113</td>\n",
|
||||
" <td>0.001158</td>\n",
|
||||
" <td>0.000053</td>\n",
|
||||
" <td>1.0</td>\n",
|
||||
" <td>False</td>\n",
|
||||
" <td>0.9</td>\n",
|
||||
|
|
@ -286,10 +413,10 @@
|
|||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>1</th>\n",
|
||||
" <td>0.001997</td>\n",
|
||||
" <td>0.000104</td>\n",
|
||||
" <td>0.001105</td>\n",
|
||||
" <td>0.000051</td>\n",
|
||||
" <td>0.001895</td>\n",
|
||||
" <td>0.000174</td>\n",
|
||||
" <td>0.001272</td>\n",
|
||||
" <td>0.000105</td>\n",
|
||||
" <td>0.5</td>\n",
|
||||
" <td>True</td>\n",
|
||||
" <td>0.9</td>\n",
|
||||
|
|
@ -304,10 +431,10 @@
|
|||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>5</th>\n",
|
||||
" <td>0.002135</td>\n",
|
||||
" <td>0.000251</td>\n",
|
||||
" <td>0.001422</td>\n",
|
||||
" <td>0.000479</td>\n",
|
||||
" <td>0.001901</td>\n",
|
||||
" <td>0.000075</td>\n",
|
||||
" <td>0.001156</td>\n",
|
||||
" <td>0.000107</td>\n",
|
||||
" <td>1.0</td>\n",
|
||||
" <td>True</td>\n",
|
||||
" <td>0.9</td>\n",
|
||||
|
|
@ -326,14 +453,14 @@
|
|||
],
|
||||
"text/plain": [
|
||||
" mean_fit_time std_fit_time mean_score_time std_score_time \\\n",
|
||||
"2 0.002468 0.000398 0.001431 0.000171 \n",
|
||||
"6 0.002088 0.000166 0.001113 0.000053 \n",
|
||||
"0 0.010547 0.005423 0.001438 0.000207 \n",
|
||||
"4 0.002662 0.000426 0.001162 0.000068 \n",
|
||||
"3 0.001664 0.000016 0.001354 0.000081 \n",
|
||||
"7 0.002125 0.000228 0.001368 0.000247 \n",
|
||||
"1 0.001997 0.000104 0.001105 0.000051 \n",
|
||||
"5 0.002135 0.000251 0.001422 0.000479 \n",
|
||||
"2 0.002220 0.000173 0.001228 0.000017 \n",
|
||||
"6 0.002214 0.000084 0.001206 0.000011 \n",
|
||||
"0 0.008167 0.004108 0.001306 0.000036 \n",
|
||||
"4 0.002201 0.000114 0.001167 0.000094 \n",
|
||||
"3 0.001697 0.000039 0.001383 0.000154 \n",
|
||||
"7 0.001766 0.000113 0.001158 0.000053 \n",
|
||||
"1 0.001895 0.000174 0.001272 0.000105 \n",
|
||||
"5 0.001901 0.000075 0.001156 0.000107 \n",
|
||||
"\n",
|
||||
" param_classifier__alpha param_classifier__fit_prior \\\n",
|
||||
"2 0.5 False \n",
|
||||
|
|
@ -419,7 +546,14 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"id": "cell-8",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:35.667075Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:35.667011Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:35.717496Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:35.716936Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
|
|
@ -2711,15 +2845,40 @@
|
|||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"id": "cell-10",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2026-10-28T22:47:35.718404Z",
|
||||
"iopub.status.busy": "2026-10-28T22:47:35.718242Z",
|
||||
"iopub.status.idle": "2026-10-28T22:47:35.738575Z",
|
||||
"shell.execute_reply": "2026-10-28T22:47:35.738292Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mFetching cached versions of small-domain-prediction\u001b[0m\n",
|
||||
"\u001b[38;5;39mFetching cached versions of small-domain-prediction\u001b[0m\n",
|
||||
"\u001b[38;5;39mFetching cached versions of small-domain-prediction\u001b[0m\n",
|
||||
"\u001b[38;5;39mFetching cached versions of small-domain-prediction\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mFetching cached versions of small-domain-prediction\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mFetching cached versions of small-domain-prediction\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b[38;5;39mModel small-domain-prediction uploaded with version 0\u001b[0m\n"
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue