Skip to content

Commit

Permalink
mods for ws24/24
Browse files Browse the repository at this point in the history
- torch support
- backend K removed
- complex valued left inverse by SGD
  • Loading branch information
fs446 committed Oct 19, 2024
1 parent 9ec85be commit c714d25
Show file tree
Hide file tree
Showing 8 changed files with 284 additions and 37 deletions.
15 changes: 9 additions & 6 deletions .binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
matplotlib
pytorch
torchvision
complextorch
tensorflow
keras-tuner
scikit-learn
statsmodels
numpy
scipy
matplotlib
ipympl
librosa
soundfile
ipympl
scikit-learn
tensorflow
keras-tuner
statsmodels
pyloudnorm
18 changes: 11 additions & 7 deletions ci/requirements_env.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
ipympl
pytorch
torchvision
complextorch
tensorflow
keras-tuner
librosa
matplotlib
numpy
pyloudnorm
scipy
scikit-learn
statsmodels
tensorflow
numpy
scipy
matplotlib
ipympl
librosa
soundfile
pyloudnorm
7 changes: 3 additions & 4 deletions exercise12_HyperParameterTuning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"from sklearn.preprocessing import OneHotEncoder, LabelBinarizer\n",
"import tensorflow as tf\n",
"from tensorflow import keras\n",
"from keras import backend as K\n",
"import time\n",
"\n",
"print(\n",
Expand Down Expand Up @@ -190,7 +189,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"id": "8b7a07f0-7151-4914-93ca-6efb3c22779c",
"metadata": {},
"outputs": [],
Expand All @@ -202,7 +201,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"id": "e1eae32c-83b4-4b69-837f-31e3d87a470a",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -326,7 +325,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 9,
"id": "e76a4f45-6f5b-4755-9f98-7ad228efdf97",
"metadata": {},
"outputs": [],
Expand Down
17 changes: 8 additions & 9 deletions exercise12_MusicGenreClassification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"from sklearn.preprocessing import OneHotEncoder, LabelBinarizer\n",
"import tensorflow as tf\n",
"from tensorflow import keras\n",
"from keras import backend as K\n",
"import time\n",
"\n",
"\n",
Expand Down Expand Up @@ -157,7 +156,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 29,
"id": "ed5b4e1e-c6fe-4363-80bc-919558d6e06b",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -269,7 +268,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 30,
"id": "23424375-717e-4ca1-bcf7-9bd4a4fe8af8",
"metadata": {},
"outputs": [],
Expand All @@ -281,7 +280,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 31,
"id": "4a58498f-2445-4837-a9c0-95b940fd9086",
"metadata": {},
"outputs": [],
Expand All @@ -307,7 +306,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 32,
"id": "39305f54-e211-4564-853d-28dfc52119c1",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -465,7 +464,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 41,
"id": "49cb1e2f-da96-4b43-8490-f5b96d0c60cb",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -527,7 +526,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 43,
"id": "dbf6b6d1-dfb7-47ed-a723-967f2d1f52dc",
"metadata": {},
"outputs": [],
Expand All @@ -539,7 +538,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 44,
"id": "dabce6d1-009d-470f-8407-788b7478ab70",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -660,7 +659,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 48,
"id": "4f27ff18-5dd4-42fa-86a1-60926c9b5993",
"metadata": {},
"outputs": [],
Expand Down
2 changes: 1 addition & 1 deletion exercise13_CNN.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import numpy as np
import tensorflow as tf
import tensorflow.keras as keras
from tensorflow import keras


print("element-wise multiplication of matrix slices")
Expand Down
Loading

0 comments on commit c714d25

Please sign in to comment.