Skip to content

Commit 8fd8815

Browse files
committed
feat: big_data_analytics matrix
1 parent dd4ccdd commit 8fd8815

File tree

12 files changed

+4057
-16
lines changed

12 files changed

+4057
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
data
12
optuna*.txt
23
lightning_logs
34
.lr_find*

notebooks/00_help (library information).ipynb

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,30 @@
104104
},
105105
{
106106
"cell_type": "code",
107-
"execution_count": 8,
107+
"execution_count": null,
108+
"metadata": {},
109+
"outputs": [
110+
{
111+
"ename": "NameError",
112+
"evalue": "name 'runs_path' is not defined",
113+
"output_type": "error",
114+
"traceback": [
115+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
116+
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
117+
"Cell \u001b[0;32mIn[1], line 3\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m#| export\u001b[39;00m\n\u001b[1;32m 2\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mjoblib\u001b[39;00m\n\u001b[0;32m----> 3\u001b[0m cache \u001b[38;5;241m=\u001b[39m joblib\u001b[38;5;241m.\u001b[39mMemory(cachedir\u001b[38;5;241m=\u001b[39m\u001b[43mruns_path\u001b[49m\u001b[38;5;241m/\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcache\u001b[39m\u001b[38;5;124m'\u001b[39m)\n",
118+
"\u001b[0;31mNameError\u001b[0m: name 'runs_path' is not defined"
119+
]
120+
}
121+
],
122+
"source": [
123+
"#| export\n",
124+
"import joblib\n",
125+
"joblib_memory = joblib.Memory(runs_path/'cache')"
126+
]
127+
},
128+
{
129+
"cell_type": "code",
130+
"execution_count": 1,
108131
"metadata": {},
109132
"outputs": [],
110133
"source": [
@@ -115,7 +138,7 @@
115138
],
116139
"metadata": {
117140
"kernelspec": {
118-
"display_name": "fastai",
141+
"display_name": "yuequ",
119142
"language": "python",
120143
"name": "python3"
121144
},
@@ -129,7 +152,7 @@
129152
"name": "python",
130153
"nbconvert_exporter": "python",
131154
"pygments_lexer": "ipython3",
132-
"version": "3.10.14"
155+
"version": "3.10.12"
133156
}
134157
},
135158
"nbformat": 4,

notebooks/coding_projects/P2_SVM/02svm_handy_crafted_linear.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@
646646
"metadata": {},
647647
"outputs": [],
648648
"source": [
649-
"from namable_classify.utils import print_model_pretty"
649+
"from namable_classify.infra import print_model_pretty"
650650
]
651651
},
652652
{
@@ -877,12 +877,12 @@
877877
},
878878
{
879879
"cell_type": "code",
880-
"execution_count": 23,
880+
"execution_count": null,
881881
"metadata": {},
882882
"outputs": [],
883883
"source": [
884884
"#| exports\n",
885-
"from namable_classify.utils import append_dict_list, ensure_array\n",
885+
"from namable_classify.infra import append_dict_list, ensure_array\n",
886886
"from typing import Any\n",
887887
"import numpy as np"
888888
]

0 commit comments

Comments
 (0)