Coder Social home page Coder Social logo

nguyenngocbaocmt02 / fpd Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 1.12 GB

[UAI 2023] Official implementation of Efficient Failure Pattern Identification of Predictive Algorithms

Python 29.86% Shell 0.35% Jupyter Notebook 69.79%
failure-modes efficient-sampling

fpd's Introduction

[Efficient Failure Pattern Identification of Predictive Algorithms]

Python-version : 3.8.10

Generate datasets.

  • run command: $ python main_src/datasets_creation_main.py <path to datasets config (.yaml)> <path to datasets save folder>
  • Config of dataset in our report in dataset_creation_config.yaml, example: $ python main_src/datasets_creation_main.py main_src/datasets_creation_config.yaml datasets

Run all methods

$ chmod +x main.sh $ ./main.sh

Run Uniform sampling model

  • run command: $ python main_src/ufs_main.py <the number of queries each round> <path to dataset folder> <path to result folder to save>
  • In our work, the number of queries each round is 25, example: $ python main_src/ufs_main.py 25 datasets results

Run GP_CDPP model.

  • run command: $ python main_src/gp_cdpp_main.py <the number of queries each round> <path to dataset folder> <path to result folder to save>
  • In our work, the number of queries each round is 25, example: $ python main_src/gp_cdpp_main.py 25 datasets results

Run all visualizing script

$ chmod +x visualize.sh $ ./visualize.sh

Visualize the 2-d image of datasets

  • run command: $ python visualize_src/draw_datasets.py <path to datasets folder> <path to save folder> *Example: $ python visualize_src/draw_datasets.py datasets/ figures/dataset_figures

Visualize the performance of models

  • run command: $ python visualize_src/draw_performance.py <path to results folder> <path to save folder> *Example: $ python visualize_src/draw_performance.py results figures/performance_figures

Tables on report

*Example: $ python visualize_src/dataset_description_table.py datasets/ figures/datasets_description.csv *Example $ python visualize_src/performance_table.py results/ figures/performance_table.csv *Example $ python visualize_src/performance_type_table.py results/ figures/performance_type_table.csv

fpd's People

Contributors

nguyenngocbaocmt02 avatar dependabot[bot] avatar

Stargazers

cokhibk avatar HieuD1810 avatar  avatar  avatar Ha Duong avatar Jeff Carpenter avatar  avatar tomatofarmer avatar

Watchers

Viet Anh Nguyen avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.