Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Projeto Orientado em Computação I 2024/1

License

NotificationsYou must be signed in to change notification settings

igorlfs/poc-code

Repository files navigation

Demo

Analyze Classification Models by highlighting regions where performance is abnormal

Dependencies

Dependencies are managed withuv. Since it generates arequirements.txt, it should be compatible with other tools, likepip.

uv pip install -r requirements.txt

Input

There are 5 parameters, 3 of which are required:

  • A CSV containing the dataset.(required)
  • A CSV containing the model's errors. Each instance should have an error associated with each class. You can use a binary approach: if the prediction for a given instance is right, all of it's errors are zero. Otherwise, if the prediction is wrong, the all of it's errors are zeroexcept for the actual class, which receives an error of one.(required)
  • The dataset's column that represents the output. By default, it's "target".
  • The maximum number of subgroups to generate. By default, it's 20.
  • A class from the dataset, to filter the subgroups for that specific class.(required)

This repo contains a sample dataset (iris) and a model's errors to provide an example execution:

source .venv/bin/activate# assuming your virtual env is located at .venvpython -m src --data ./data/iris.csv --errors ./data/errors/iris.csv --class setosa

About

Projeto Orientado em Computação I 2024/1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp