Modules

lore_sa.bbox: BlackBox abstract class

bbox.AbstractBBox

Abstract base class for wrapping black box models.

lore_sa.dataset: Dataset class

dataset.Dataset

Generic class to handle datasets

dataset.TabularDataset

It provides an interface to handle datasets, including some essential information on the structure and semantic of the dataset.

dataset.utils

lore_sa.neighgen: Neighborhood Generator classes

neighgen.RandomGenerator

Random Generator creates neighbor instances by generating random values starting from the instance to explain

neighgen.GeneticGenerator

Random Generator creates neighbor instances by generating random values starting from an input instance and pruning the generation around a fitness function based on proximity to the instance to explain

lore_sa.discretizer: Discretizer classes and functions

discretizer.Discretizer

discretizer.RMEPDiscretizer

lore_sa.encoder_decoder: Encoder/Decoder classes and functions

encoder_decoder.EncDec

Abstract base class for encoding and decoding features.

encoder_decoder.ColumnTransformerEnc

It provides an interface to access One Hot enconding (https://en.wikipedia.org/wiki/One-hot) functions.

lore_sa.explanation: Explanation classes and functions

explanation.Explanation

explanation.ExplanationEncoder

Special json encoder for Rule types

explanation.ImageExplanation

explanation.MultilabelExplanation

explanation.TextExplanation

explanation.json2explanation

lore_sa.rule: Rule classes and functions

rule.Rule

Decision rule with premises (conditions) and consequences (predictions).

rule.RuleEncoder

Special json encoder for Rule types

rule.json2rule

rule.json2expression

rule.Expression

Logical expression representing a condition in a rule.

lore_sa.surrogate: Surrogate classes and functions

surrogate.Surrogate

Abstract base class for interpretable surrogate models.

surrogate.DecisionTreeSurrogate

lore_sa.util: Util functions

util