From 0334922598e560feb735ddd0334a76fdffd782e8 Mon Sep 17 00:00:00 2001 From: ktyl Date: Sat, 22 Feb 2025 18:04:16 +0000 Subject: [PATCH] add base cw notebook --- cw1/spce0038_coursework_sklearn_MCMQ7.ipynb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cw1/spce0038_coursework_sklearn_MCMQ7.ipynb b/cw1/spce0038_coursework_sklearn_MCMQ7.ipynb index 2f66e60..41b1f46 100644 --- a/cw1/spce0038_coursework_sklearn_MCMQ7.ipynb +++ b/cw1/spce0038_coursework_sklearn_MCMQ7.ipynb @@ -70,7 +70,7 @@ "metadata": {}, "outputs": [], "source": [ - "CANDIDATE_NUMBER = \"MQMQ7\"" + "CANDIDATE_NUMBER = \"\"" ] }, { @@ -312,8 +312,7 @@ "# Plot data\n", "def plot_dist_mod():\n", " # YOUR CODE HERE\n", - " raise NotImplementedError\n", - " plt.plot(mu_sample, z_sample)\n", + " raise NotImplementedError()\n", " plt.xlabel('$z$')\n", " plt.ylabel('$\\mu$')\n", " plt.title('Distance modulus vs redshift')\n", @@ -4236,9 +4235,9 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "MLBDenv", "language": "python", - "name": "python3" + "name": "mlbdenv" }, "language_info": { "codemirror_mode": { @@ -4250,9 +4249,10 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.13.1" + "version": "3.11.7" } }, "nbformat": 4, "nbformat_minor": 4 } +