Skip to content

Commit

Permalink
package | minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Yura52 committed Sep 2, 2023
1 parent 9bc0472 commit 8c6eefb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions package/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Colab\n",
"\n",
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/yandex-research/tabular-dl-revisiting-models/blob/main/package/example.ipynb\">\n",
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
"</a>\n",
Expand Down Expand Up @@ -115,12 +113,12 @@
"train_size = len(X_cont['train'])\n",
"\n",
"# NOTE\n",
"# Overall, the choice between preprocessing strategies depends on a task and a model.\n",
"# The choice between preprocessing strategies depends on a task and a model.\n",
"\n",
"# A simple preprocessing strategy.\n",
"# (A) Simple preprocessing strategy.\n",
"# preprocessing = sklearn.preprocessing.StandardScaler().fit(X_cont['train'])\n",
"\n",
"# A fancy preprocessing strategy.\n",
"# (B) Fancy preprocessing strategy.\n",
"X_std = X_cont['train'].std(axis=0)\n",
"noise_hint = 1e-3\n",
"noise_std = np.minimum(noise_hint, noise_hint * X_std)\n",
Expand Down

0 comments on commit 8c6eefb

Please sign in to comment.