Skip to content

Commit c6c3c31

Browse files
committed
Update .vscode, .cursor, and examples folders [skip ci]
1 parent fedc1bc commit c6c3c31

7 files changed

Lines changed: 654 additions & 518 deletions

File tree

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["sourcery.sourcery"]
3+
}

.vscode/markdown-code.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
code {
2+
font-family: "JetBrains Mono", "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace !important;
3+
}

.vscode/settings.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"editor.fontFamily": "JetBrains Mono",
3+
"editor.fontLigatures": true,
4+
"[python]": {
5+
"editor.formatOnSave": true,
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll": "explicit",
8+
"source.organizeImports": "explicit"
9+
},
10+
"editor.defaultFormatter": "charliermarsh.ruff"
11+
},
12+
"notebook.formatOnSave.enabled": true,
13+
"notebook.codeActionsOnSave": {
14+
"notebook.source.fixAll": "explicit",
15+
"notebook.source.organizeImports": "explicit"
16+
},
17+
"[json]": {
18+
"editor.formatOnSave": true,
19+
"editor.defaultFormatter": "esbenp.prettier-vscode"
20+
},
21+
"[jsonc]": {
22+
"editor.formatOnSave": true,
23+
"editor.defaultFormatter": "esbenp.prettier-vscode"
24+
},
25+
"[markdown]": {
26+
"editor.fontFamily": "\"IA Writer Duo S\", monospace",
27+
"editor.fontLigatures": true,
28+
"editor.fontSize": 16,
29+
"editor.lineHeight": 26,
30+
"editor.wordWrap": "wordWrapColumn",
31+
"editor.wordWrapColumn": 110,
32+
"editor.lineNumbers": "on"
33+
},
34+
"markdown.preview.fontFamily": "system-ui, -apple-system, sans-serif",
35+
"[latex]": {
36+
"editor.fontFamily": "\"IA Writer Duo S\", monospace",
37+
"editor.fontLigatures": true,
38+
"editor.fontSize": 16,
39+
"editor.lineHeight": 26,
40+
"editor.wordWrap": "wordWrapColumn",
41+
"editor.wordWrapColumn": 100,
42+
"editor.lineNumbers": "on"
43+
},
44+
"markdown.styles": [".vscode/markdown-code.css"]
45+
}

examples/fastwoe_cap_curve.ipynb

Lines changed: 222 additions & 53 deletions
Large diffs are not rendered by default.

examples/fastwoe_styled_display.ipynb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"source": [
135135
"## 3. Information Value Analysis with @iv_styled Decorator\n",
136136
"\n",
137-
"The `@iv_styled` decorator automatically applies IV analysis styling. If `itables` is installed, you'll get an interactive table with sorting, filtering, and search capabilities:\n"
137+
"The `@iv_styled` decorator automatically applies IV analysis styling:\n"
138138
]
139139
},
140140
{
@@ -318,7 +318,7 @@
318318
},
319319
{
320320
"cell_type": "code",
321-
"execution_count": 5,
321+
"execution_count": null,
322322
"metadata": {},
323323
"outputs": [
324324
{
@@ -466,16 +466,14 @@
466466
}
467467
],
468468
"source": [
469-
"# Light theme version\n",
470469
"@styled(highlight_cols=[\"iv\", \"gini\"], precision=4, theme=\"light\")\n",
471470
"def get_top_features_light(n=5):\n",
472-
" \"\"\"Get top N features by IV (light theme).\"\"\"\n",
471+
" \"\"\"Get top N features by IV and Gini.\"\"\"\n",
473472
" iv_df = woe.get_iv_analysis()\n",
474473
" return iv_df.nlargest(n, \"iv\")[[\"feature\", \"iv\", \"gini\", \"iv_se\"]]\n",
475474
"\n",
476475
"\n",
477-
"# Display both versions\n",
478-
"print(\"### Light Theme\")\n",
476+
"# Get Top 5 Features\n",
479477
"get_top_features_light(n=5)"
480478
]
481479
},

examples/msd_feature_selection.ipynb

Lines changed: 377 additions & 459 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)