diff --git a/notebooks/tutorial/tutorial.ipynb b/notebooks/tutorial/tutorial.ipynb index 769bae2..2b83273 100644 --- a/notebooks/tutorial/tutorial.ipynb +++ b/notebooks/tutorial/tutorial.ipynb @@ -334,9 +334,9 @@ "num_classes = y_train_binary.shape[1]\n", "metric = 'accuracy'\n", "models = mcfly.modelgen.generate_models(X_train.shape,\n", - " number_of_classes=num_classes,\n", - " number_of_models = 2,\n", - " metrics=[metric])" + " number_of_output_dimensions=num_classes,\n", + " number_of_models = 2,\n", + " metrics=[metric])" ] }, { @@ -765,9 +765,8 @@ " `cd mcfly/html`\n", "\n", "\n", - "- Start a web server. This can be done in various ways, for example:\n", - " - for python 3 you can use: `python3 -m http.server`\n", - " - for python 2 you can use: `python2 -m SimpleHTTPServer`\n", + "- Start a web server. This can be done with:\n", + " - `python3 -m http.server`\n", "\n", "Notice the port number the web server is serving on. This is usually 8000.\n", "With a web browser, navigate to [localhost:8000](localhost:8000). \n", diff --git a/notebooks/tutorial/tutorial_quick.ipynb b/notebooks/tutorial/tutorial_quick.ipynb index c45544b..f7e6a77 100644 --- a/notebooks/tutorial/tutorial_quick.ipynb +++ b/notebooks/tutorial/tutorial_quick.ipynb @@ -58,7 +58,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Download data pre-procesed data" + "## Download data pre-processed data" ] }, { @@ -112,7 +112,7 @@ "\n", "The problem is to identify which sport and which stroke the players are making. The data was collected at a rate of 10 HZ over 3 seconds whilst the player played either a forehand/backhand in squash or a clear/smash in badminton.\n", "\n", - "The goal of classification is to assign an activity label to an previously unseen segment." + "The goal of classification is to assign an activity label to a previously unseen segment." ] }, { @@ -126,7 +126,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Load the preprocessed data as stored in Numpy-files. Please note that the data has already been split up in a training (\\~50%), validation (\\~25%), and test (\\~25%) subsets. It is common practice to call the input data X and the labels y." + "Load the preprocessed data as stored in Numpy-files. Please note that the data has already been split up into a training (\\~50%), validation (\\~25%), and test (\\~25%) subsets. It is common practice to call the input data X and the labels y." ] }, { @@ -200,7 +200,7 @@ "metadata": {}, "source": [ "### Create binary labels\n", - "To train a classifier the labels need to be translated into binary labels (so called **one-hot encoding**)." + "To train a classifier the labels need to be translated into binary labels (so-called **one-hot encoding**)." ] }, { @@ -401,7 +401,7 @@ "num_classes = y_train_binary.shape[1]\n", "metric = 'accuracy'\n", "models = mcfly.modelgen.generate_models(X_train.shape,\n", - " number_of_classes=num_classes,\n", + " number_of_output_dimensions=num_classes,\n", " number_of_models = 8,\n", " metrics=[metric])" ]