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

This commit is contained in:
Andras Schmelczer 2026-10-28 22:53:24 +00:00
commit cf61b38b45

View file

@ -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"
]
},