diff --git a/examples/deap/GranuleCell1/GranuleCellDeap1.ipynb b/examples/deap/GranuleCell1/GranuleCellDeap1.ipynb index 235f72b5..e373adcc 100644 --- a/examples/deap/GranuleCell1/GranuleCellDeap1.ipynb +++ b/examples/deap/GranuleCell1/GranuleCellDeap1.ipynb @@ -1,5 +1,14 @@ { "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "!nrnivmodl ./mechanisms" + ] + }, { "cell_type": "code", "execution_count": null, @@ -59,15 +68,6 @@ "from IPython import display" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "!nrnivmodl ./mechanisms" - ] - }, { "cell_type": "code", "execution_count": null, @@ -113,9 +113,7 @@ " \n", " return feature_values, times, voltages\n", "\n", - "orig_features, orig_times, orig_voltages = get_features(orig_conductances)\n", - "\n", - "# it doesn't work with classes, at least at thi point" + "orig_features, orig_times, orig_voltages = get_features(orig_conductances)" ] }, { @@ -274,7 +272,7 @@ "\n", " # Total number of generation to run\n", " #NGEN = 100\n", - " NGEN = 25\n", + " NGEN = 3\n", "\n", " # Total population size of EA\n", " ALPHA = POP_SIZE\n", diff --git a/examples/deap/deap_efel_neuron2.ipynb b/examples/deap/deap_efel_neuron2.ipynb index 285f807a..a8c6352d 100644 --- a/examples/deap/deap_efel_neuron2.ipynb +++ b/examples/deap/deap_efel_neuron2.ipynb @@ -175,7 +175,7 @@ "\n", "# Total number of generation to run\n", "#NGEN = 300\n", - "NGEN = 100\n", + "NGEN = 3\n", "\n", "# Total population size of EA\n", "ALPHA = POP_SIZE\n",