Logo
latest

User Guide

  • Installation
  • Logic Explained Network (LENs) tutorial
    • Entropy-based LENs
    • \(\psi\) LENs
  • Concept Embeddings tutorial
    • Limits of Concept Bottleneck Models
    • Concept Embeddings
  • Deep Concept Reasoning tutorial
    • Limits of Concept Embeddings
    • Deep Concept Reasoning
  • Contributing to Pytorch Explain
    • How Can I Contribute?
    • Coding Style
  • Running tests

API Reference

  • Logic explanations for entropy-based LENs
    • explain_class()
    • explain_classes()
  • Logic explanations for \(\psi\) LENs
    • explain_class()
  • Utils for extracting logic explanations
  • Logic explanation metrics
    • complexity()
    • concept_consistency()
    • formula_consistency()
    • test_explanation()
    • test_explanations()
  • Utils
    • get_predictions()
    • replace_names()
  • Logic layers
    • EntropyLinear
      • EntropyLinear.extra_repr()
      • EntropyLinear.forward()
  • Loss functions to regularize the neural model
    • entropy_logic_loss()
    • l1_loss()
  • Prune functions to simplify the neural model
    • prune_equal_fanin()
  • APIs for concepts
    • ConceptEmbedding
      • ConceptEmbedding.forward()
    • ConceptReasoningLayer
      • ConceptReasoningLayer.forward()
  • Logic T-Norms

Copyright

  • Authors
  • Apache License
    • TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
      • 1. Definitions.
      • 2. Grant of Copyright License.
      • 3. Grant of Patent License.
      • 4. Redistribution.
      • 5. Submission of Contributions.
      • 6. Trademarks.
      • 7. Disclaimer of Warranty.
      • 8. Limitation of Liability.
      • 9. Accepting Warranty or Additional Liability.
      • APPENDIX: How to apply the Apache License to your work
pytorch_explain
  • Python Module Index

Python Module Index

t
 
t
- torch_explain
    torch_explain.logic.metrics
    torch_explain.logic.nn.entropy
    torch_explain.logic.nn.psi
    torch_explain.logic.nn.utils
    torch_explain.logic.utils
    torch_explain.nn.concepts
    torch_explain.nn.functional.loss
    torch_explain.nn.functional.prune
    torch_explain.nn.logic
    torch_explain.nn.semantics

© Copyright 2023, Pietro Barbiero. Revision 4986e0b7.

Built with Sphinx using a theme provided by Read the Docs.