Skip to content

Commit

Permalink
fix: update forest_example notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
Optimox committed May 10, 2020
1 parent 1642909 commit 8092324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forest_example.ipynb
Expand Up @@ -42,7 +42,7 @@
"source": [
"url = \"https://archive.ics.uci.edu/ml/machine-learning-databases/covtype/covtype.data.gz\"\n",
"dataset_name = 'forest-cover-type'\n",
"tmp_out = Path(os.getcwd().rsplit(\"/\", 1)[0]+'/data/'+dataset_name+'.gz')\n",
"tmp_out = Path('./data/'+dataset_name+'.gz')\n",
"out = Path(os.getcwd()+'/data/'+dataset_name+'.csv')"
]
},
Expand Down Expand Up @@ -199,7 +199,7 @@
" optimizer_fn=torch.optim.Adam,\n",
" scheduler_params = {\"gamma\": 0.95,\n",
" \"step_size\": 20},\n",
" scheduler_fn=torch.optim.lr_scheduler.StepLR, saving_path=\"./\", epsilon=1e-15\n",
" scheduler_fn=torch.optim.lr_scheduler.StepLR, epsilon=1e-15\n",
")"
]
},
Expand Down

0 comments on commit 8092324

Please sign in to comment.