diff --git a/MODULE/.devcontainer/Dockerfile b/CMP9747 Advanced Artificial Intelligence/.devcontainer/Dockerfile similarity index 78% rename from MODULE/.devcontainer/Dockerfile rename to CMP9747 Advanced Artificial Intelligence/.devcontainer/Dockerfile index 50910b3..a61feb7 100644 --- a/MODULE/.devcontainer/Dockerfile +++ b/CMP9747 Advanced Artificial Intelligence/.devcontainer/Dockerfile @@ -1,4 +1,5 @@ FROM python:3.12 RUN pip install --upgrade pip +RUN pip install bnlearn RUN pip install ipykernel CMD ["clear"] \ No newline at end of file diff --git a/MODULE/.devcontainer/devcontainer.json b/CMP9747 Advanced Artificial Intelligence/.devcontainer/devcontainer.json similarity index 78% rename from MODULE/.devcontainer/devcontainer.json rename to CMP9747 Advanced Artificial Intelligence/.devcontainer/devcontainer.json index 1671112..fa25cf8 100644 --- a/MODULE/.devcontainer/devcontainer.json +++ b/CMP9747 Advanced Artificial Intelligence/.devcontainer/devcontainer.json @@ -1,9 +1,9 @@ { - "name": "MODULE", + //"name": "Advanced Artificial Intelligence", - "image": "ghcr.io/socstech/MODULE:latest", + "image": "ghcr.io/socstech/cmp9747:latest", - //"build": { "dockerfile": "Dockerfile" }, + "build": { "dockerfile": "Dockerfile" }, "customizations": { "vscode": { diff --git a/MODULE/test.ipynb b/CMP9747 Advanced Artificial Intelligence/test.ipynb similarity index 95% rename from MODULE/test.ipynb rename to CMP9747 Advanced Artificial Intelligence/test.ipynb index 094b297..2e3033c 100644 --- a/MODULE/test.ipynb +++ b/CMP9747 Advanced Artificial Intelligence/test.ipynb @@ -2,16 +2,16 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ - "import seaborn" + "import bnlearn" ] }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -20,7 +20,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -29,7 +29,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ diff --git a/README.md b/README.md index a38e652..65332b7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# MODULE TITLE -This repository houses the devcontainer and docker image for the MODULE module at the University of Lincoln. +# CMP9749 Advanced Artificial Intelligence +This repository houses the devcontainer and docker image for the Advanced Artificial Intelligence module at the University of Lincoln. ## What is Docker? Docker is a platform which allows developers to create and share containers. @@ -28,13 +28,13 @@ These prerequisites are the same for every Computer Science module using Docker 1. Clone this repository to your computer by clicking the green 'Code' button, and clicking 'Download ZIP'. 2. Extract the downloaded Zip file. -3. Inside the extracted folder is a folder entitled 'MODULE FOLDER' which contains the .devcontainer folder. Move 'MODULE FOLDER' to wherever you like, this will be your working directory for this module. +3. Inside the extracted folder is a folder entitled 'CMP9749 Advanced Artificial Intelligence' which contains the .devcontainer folder. Move 'CMP9749 Advanced Artificial Intelligence' to wherever you like, this will be your working directory for this module. 4. Make sure Docker Desktop is running. You can minimise the window. -5. Open VS Code, go to File -> Open Folder, and select your 'MODULE FOLDER' folder. +5. Open VS Code, go to File -> Open Folder, and select your 'CMP9749 Advanced Artificial Intelligence' folder. 6. Click the 'Reopen in container' pop up in the bottom right corner of your VS Code window. If you do not see this pop up, press F1, and type 'Reopen in Container', and click on the 'Dev Containers: Reopen in Container' command. 7. The Docker image will now be downloaded, and the container will be started. You can click 'show log' in the bottom right corner to see what is going on. 8. Your docker container is now running! Within this VS Code window, you can now run workshop or assignment material exactly the same as in the computing labs. -9. If we ever push an update to the container, you will need to go to Docker Desktop -> Images, find ghcr.io/socstech/MODULE, click the ... button, and click pull. This will pull the most recent version of the docker container. There should be Blackboard announcements letting you know if you ever need to do this, but it is good to do this step every time before you want to use the container. +9. If we ever push an update to the container, you will need to go to Docker Desktop -> Images, find ghcr.io/socstech/cmp9747, click the ... button, and click pull. This will pull the most recent version of the docker container. There should be Blackboard announcements letting you know if you ever need to do this, but it is good to do this step every time before you want to use the container. ### Troubleshooting