Skip to content

Commit

Permalink
graph
Browse files Browse the repository at this point in the history
  • Loading branch information
vriera committed May 10, 2022
1 parent 6602361 commit 456976e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions TP3/excercises.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@
"outputs": [],
"source": [
"#TANH\n",
"beta = 20\n",
"activationFunctions=[HyperbolicTangentActivationFunction(beta),SigmoidalActivationFunction(beta)]\n",
"neuralNetworkManager = NeuralNetworkManager(architecture,HyperbolicTangentActivationFunction.getType(beta),learningRate,maxEpochs,maxToleranceExponent)\n",
"#Normalize\n",
Expand Down Expand Up @@ -336,8 +335,7 @@
"outputs": [],
"source": [
"#SIGMOIDAL\n",
"beta = 20\n",
"neuralNetworkManager = NeuralNetworkManager(architecture,SigmoidalActivationFunction.getType(beta),learningRate,maxIterations,maxToleranceExponent)\n",
"neuralNetworkManager = NeuralNetworkManager(architecture,SigmoidalActivationFunction.getType(beta),learningRate,maxEpochs,maxToleranceExponent)\n",
"#Normalize\n",
"(resultsSetNormalized,fixnt)=normalize(resultsSet,0,1)\n",
"#Training\n",
Expand Down Expand Up @@ -663,10 +661,10 @@
],
"metadata": {
"interpreter": {
"hash": "7f2633a0dd9fad194999ffc17b7b93627efd4bccf6144e14bc5fef7dfd0c6355"
"hash": "72c274b9a759ce038a46d0adb0d086656b3a1676696d60f830e2d9d7d6911c65"
},
"kernelspec": {
"display_name": "Python 3.10.4 64-bit",
"display_name": "Python 3.10.2 ('venv': venv)",
"language": "python",
"name": "python3"
},
Expand All @@ -680,7 +678,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.4"
"version": "3.10.2"
},
"orig_nbformat": 4
},
Expand Down

0 comments on commit 456976e

Please sign in to comment.