From f6069f4256ee525e965afbfe328f764b41983197 Mon Sep 17 00:00:00 2001 From: Brian Wright Date: Sun, 30 Nov 2025 19:51:59 +0000 Subject: [PATCH] updated the systems portion --- .../notebooks/Final_Project_Notebook.ipynb | 44 +++++++++---------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/ds1001_final/notebooks/Final_Project_Notebook.ipynb b/ds1001_final/notebooks/Final_Project_Notebook.ipynb index c3d8790..0069340 100644 --- a/ds1001_final/notebooks/Final_Project_Notebook.ipynb +++ b/ds1001_final/notebooks/Final_Project_Notebook.ipynb @@ -36,7 +36,9 @@ "source": [ "### You should now be able to open your cloned repo in google collab, use the code below. \n", "\n", - "### Also it is very helpful to have the variable inspector open while you go through this process. To do so go to tools>command palette>show variable inspector" + "### It's very helpful to have the variable inspector open while you go through this process. To do so go to tools>command palette>show variable inspector\n", + "\n", + "### It's also helpful to open up the folder tree on the left menu bar. Just click on the folder icon and then the ds1001_final folder. The data is located in the data folder in the processed sub-folder. " ] }, { @@ -62,14 +64,12 @@ { "cell_type": "code", "execution_count": null, + "id": "a2fd1d5c", "metadata": {}, "outputs": [], "source": [ - "!pip install \"XX\"\n", - "\n", - "#You'll likely need to install mice and fairlearn packages manually\n", - "#Are there additional packages to install? (Cross check with the list below to \n", - "# ensure all packages are installed)" + "# Activate the finalproject environment\n", + "!source ds1001_final/ds1001_final/finalproj/bin/activate" ] }, { @@ -80,9 +80,20 @@ "outputs": [], "source": [ "### You can use this command to list all the packages in your environment\n", - "!pip list\n", - "#To list all packages with their latest available versions, you can use:\n", - "!pip list --outdated" + "!pip list" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "!pip install \"XX\"\n", + "\n", + "#You'll likely need to install the fairlearn packages, if not already installed.\n", + "#Are there additional packages to install? (Cross check with the list above to \n", + "# ensure all packages are installed)" ] }, { @@ -105,21 +116,6 @@ "from fairlearn.metrics import count, true_positive_rate, false_positive_rate, selection_rate, demographic_parity_ratio\n" ] }, - { - "cell_type": "code", - "execution_count": null, - "id": "7153d922", - "metadata": { - "vscode": { - "languageId": "markdown" - } - }, - "outputs": [], - "source": [ - "### What version of scikit-learn is current in the working environment?\n", - "i.\tIs that the latest version or not?" - ] - }, { "cell_type": "markdown", "id": "7369da7c",