conformal-sparsemax
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.2%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
·
Repository
Basic Info
- Host: GitHub
- Owner: JoaoCalem
- Language: Jupyter Notebook
- Default Branch: main
- Size: 197 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Created about 2 years ago
· Last pushed almost 2 years ago
Metadata Files
Readme
Citation
README.md
Setup
pip install git+https://github.com/JoaoCalem/Conformal-Sparsemax
Usage
``` from confpred import ConformalPredictor, SparseScore
cp = ConformalPredictor(SparseScore()) cp.calibrate(caltrue, calproba, alpha=0.1)
cp.predict(testpred) # To get conformal prediction sets cp.evaluate(testtrue, test_proba) # To evaluate coverage and average set size ```
For further usage examples with real datasets and models, see example_usage/
Owner
- Name: Joao Calem
- Login: JoaoCalem
- Kind: user
- Repositories: 2
- Profile: https://github.com/JoaoCalem
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it using the metadata from this file."
type: software
authors:
- given-names: João
family-names: Cálem
- given-names: Margarida
family-names: Campos
- given-names: Sophia
family-names: Sklaviadis
title: "Conformal prediction with sparse scores and Fenchel-Young losses"
url: "https://github.com/JoaoCalem/Conformal-Sparsemax"
date-released: 2024-04-18
GitHub Events
Total
Last Year
Dependencies
requirements.txt
pypi
- aif360 *
- matplotlib *
- numpy *
- pandas *
- scikit-learn *
- torch *
- torchvision *
setup.py
pypi