Skip to content

Commit

Permalink
selected_columns -> feature_column_names
Browse files Browse the repository at this point in the history
  • Loading branch information
santiviquez committed Nov 6, 2023
1 parent dd20ef7 commit 193e242
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs/example_notebooks/Tutorial - Missing Values.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@
},
"outputs": [],
"source": [
"selected_columns = [\n",
"feature_column_names = [\n",
" 'Pclass', 'Name', 'Sex', 'Age', 'SibSp', 'Parch', 'Ticket', 'Fare', 'Cabin', 'Embarked',\n",
"]\n",
"calc = nml.MissingValuesCalculator(\n",
" column_names=selected_columns,\n",
" column_names=feature_column_names,\n",
")"
]
},
Expand Down
4 changes: 2 additions & 2 deletions docs/example_notebooks/Tutorial - Stats - Avg.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@
},
"outputs": [],
"source": [
"selected_columns = [\n",
"feature_column_names = [\n",
" 'car_value', 'debt_to_income_ratio', 'driver_tenure'\n",
"]\n",
"calc = nml.SummaryStatsAvgCalculator(\n",
" column_names=selected_columns,\n",
" column_names=feature_column_names,\n",
")"
]
},
Expand Down
4 changes: 2 additions & 2 deletions docs/example_notebooks/Tutorial - Stats - Median.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@
},
"outputs": [],
"source": [
"selected_columns = [\n",
"feature_column_names = [\n",
" 'car_value', 'debt_to_income_ratio', 'driver_tenure'\n",
"]\n",
"calc = nml.SummaryStatsMedianCalculator(\n",
" column_names=selected_columns,\n",
" column_names=feature_column_names,\n",
")"
]
},
Expand Down
4 changes: 2 additions & 2 deletions docs/example_notebooks/Tutorial - Stats - Std.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@
},
"outputs": [],
"source": [
"selected_columns = [\n",
"feature_column_names = [\n",
" 'car_value', 'debt_to_income_ratio', 'driver_tenure'\n",
"]\n",
"calc = nml.SummaryStatsStdCalculator(\n",
" column_names=selected_columns,\n",
" column_names=feature_column_names,\n",
")"
]
},
Expand Down
4 changes: 2 additions & 2 deletions docs/example_notebooks/Tutorial - Stats - Sum.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@
},
"outputs": [],
"source": [
"selected_columns = [\n",
"feature_column_names = [\n",
" 'car_value', 'debt_to_income_ratio', 'driver_tenure'\n",
"]\n",
"calc = nml.SummaryStatsSumCalculator(\n",
" column_names=selected_columns,\n",
" column_names=feature_column_names,\n",
")"
]
},
Expand Down
4 changes: 2 additions & 2 deletions docs/example_notebooks/Tutorial - Unseen Values.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@
"metadata": {},
"outputs": [],
"source": [
"selected_columns = [\n",
"feature_column_names = [\n",
" 'Sex', 'Ticket', 'Cabin', 'Embarked',\n",
"]\n",
"calc = nml.UnseenValuesCalculator(\n",
" column_names=selected_columns,\n",
" column_names=feature_column_names,\n",
")"
]
},
Expand Down

0 comments on commit 193e242

Please sign in to comment.