An open API service indexing awesome lists of open source software.

https://github.com/jpedrou/students-performance

App to predict a student's math grade based on his attributes.
https://github.com/jpedrou/students-performance

django javascript python3 sqlite3 vue3 vuetify3

Last synced: 4 months ago
JSON representation

App to predict a student's math grade based on his attributes.

Awesome Lists containing this project

README

          

Students Performance

The goal of this project is to predict a student s math score based on his attributes. The dataset was taken from Kaggle. You can access it clicking here.

Technologies









Setup

Node is required to run this application. You can install it here.

With Node already installed, go to the folder `frontend` in the terminal and run the following command:

```bash
npm install
```

This command will get all the vue, vite and vuetify dependecies automatically.

Then, you're ready to start the vuetify setup, just run:

```bash
npm run dev
```

To run the algorithm and the database, first you will need to install the Python Interpreter.

With Python installed, it's needed to create a virtual environment to isolate all the dependencies in the project folder. To make it easer, just run in the project root directory:

**Linux**

```bash
python3 -m venv venv
```

To activate the virtual env, run:

```bash
source venv/bin/activate
```

**Windows**

```bash
python -m venv venv
```

To activate the virtual env, run:

`cmd`

```bash
.\venv\Scripts\activate.bat
```

`PowerShell`

```bash
.\venv\Scripts\activate.ps1
```

**Running SQL Database**

Django detects the changes in the models by running the following command:

```bash
python manage.py makemigrations
```

To effectively build the database tables, run:

```bash
python manage.py migrate
```

Then, you're ready to run the Django project:

```bash
python manage.py runserver
```