Modules

lore_sa.bbox: BlackBox abstract class

bbox.AbstractBBox

Generic Black Box class witch provides two sklearn-like methods.

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

Generic class to implement an encoder/decoder

encoder_decoder.OneHotEnc

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

encoder_decoder.LabelEnc

It provides an interface to access Label enconding functions.

encoder_decoder.TabularEnc

It combines different encoders/decoders over a table dataset

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

rule.RuleEncoder

Special json encoder for Rule types

rule.json2rule

rule.json2expression

rule.Expression

Utility object to define a logical expression.

lore_sa.surrogate: Surrogate classes and functions

surrogate.Surrogate

Generic surrogate class

surrogate.DecisionTreeSurrogate

lore_sa.util: Util functions

util