Sprint 4: Use Case Diagrams (download file, test, train) - SD-Group-11/ml-frontend GitHub Wiki

Use Case Name - Upload file

Use Case Name Upload file
Initiating Actor User
Triggering Event User wants to download file from uploaded files

Preconditions

The user must have access to an internet connection. The user must be on the correct page - the datasets page.

Postconditions

The file is downloaded onto the user's device.

Brief Description

The user can download files from the platform onto their device. They choose the file from all the uploaded files, it gets downloaded and then is on their device.

Basic Flow

User clicks download file User selects which file to download from all the files File is on user's device

Exceptions:

The system is offline.

Use Case Diagram:

Use Case Name - Train data

Use Case Name Upload file
Initiating Actor User
Triggering Event User wants to train data

Preconditions

The user must have access to an internet connection. The user must be on the correct page - the page for that model. There must be at least 1 file on the system.

Postconditions

The data has been trained.

Brief Description

The user can train data on the platform.

Basic Flow

User fills in fields - learning rate, tolerance, split. User selects file. User clicks button. Data is trained (visualisation shown).

Exceptions:

The system is offline. No file is chosen.

Use Case Diagram:

Use Case Name - Test data

Use Case Name Upload file
Initiating Actor User
Triggering Event User wants to test the data

Preconditions

The user must have access to an internet connection. The user must be on the correct page - the page for that model.

Postconditions

The data is tested.

Brief Description

The user can test data on the platform using the uploaded files.

Basic Flow

User clicks clicks button Data is tested

Exceptions:

The system is offline. Data hasn't been trained

Use Case Diagram: