Skip to content

Commit

Permalink
need to fix failing pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
skirui-source committed Jul 17, 2023
1 parent ccf85d2 commit 8ade533
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions source/examples/rapids-azureml-hpo/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@
" environment=\"test-rapids-mlflow:1\",\n",
" experiment_name=experiment_name,\n",
" code=os.getcwd(),\n",
" command=\"python train_rapids.py --data_dir ${{inputs.data_dir}} --n_bins ${{inputs.n_bins}} --compute ${{inputs.compute}} --cv_folds ${{inputs.cv_folds}}\\\n",
" --n_estimators ${{inputs.n_estimators}} --max_depth ${{inputs.max_depth}} --max_features ${{inputs.max_features}}\",\n",
" inputs={\n",
" \"data_dir\": Input(type=\"uri_file\", path=data_uri),\n",
" \"n_bins\": 32,\n",
Expand All @@ -327,6 +325,8 @@
" \"max_depth\": 6,\n",
" \"max_features\": 0.3,\n",
" },\n",
" command=\"python train_rapids.py --data_dir ${{inputs.data_dir}} --n_bins ${{inputs.n_bins}} --compute ${{inputs.compute}} --cv_folds ${{inputs.cv_folds}}\\\n",
" --n_estimators ${{inputs.n_estimators}} --max_depth ${{inputs.max_depth}} --max_features ${{inputs.max_features}}\",\n",
" compute=\"rapids-cluster\",\n",
")\n",
"\n",
Expand Down Expand Up @@ -480,9 +480,9 @@
"name": "rapids"
},
"kernelspec": {
"display_name": "rapids",
"display_name": "rapids-23.06",
"language": "python",
"name": "rapids"
"name": "rapids-23.06"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -494,7 +494,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.10.12"
},
"microsoft": {
"ms_spell_check": {
Expand Down
4 changes: 2 additions & 2 deletions source/examples/rapids-azureml-hpo/rapids_csp_azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

#
import json
import logging
import pprint
Expand Down Expand Up @@ -185,7 +185,7 @@ def load_data(
elif "multi" in self.compute_type:
self.log_to_file("\n\tReading using dask dataframe")
dataset = dask.dataframe.read_parquet(
target_filename, columns=columns
target_filename, columns=col_labels
)

elif "GPU" in self.compute_type:
Expand Down

0 comments on commit 8ade533

Please sign in to comment.