solidago ¶
A toolbox for Solid Algorithmic Governance, used by the Tournesol platform.
Warning
This documentation is still a work in progress. See https://github.com/tournesol-app/tournesol/pull/1972
Version
This documentation has been generated from version 0.3.1.
Usage¶
Pipeline Usage
import logging
from solidago.pipeline import Pipeline
from solidago.pipeline.inputs import TournesolDataset
from solidago.pipeline.outputs import PipelineOutputInMemory
# Configure logging
logging.basicConfig(level=logging.INFO)
# Initialize pipeline with its input and output
tournesol_dataset = TournesolDataset.download()
pipeline = Pipeline()
output = PipelineOutputInMemory()
# Run pipeline
pipeline.run(
input=tournesol_dataset,
output=output,
criterion="largely_recommended",
)
# Access results
print(output.individual_scores)
print(output.entity_scores)
Installation¶
solidago
requires Python >= 3.9
From PyPI¶
Using pip
:
From source¶
TODO