modeva.TestSuite.interpret_llm_violin#

TestSuite.interpret_llm_violin(feature: str = None, dataset: str = 'test')#

Generates the LLM coefficients and statistics. (Violin plot under development)

This function processes the specified dataset to calculate the LLM coefficients and their associated statistics, ultimately returning a ValidationResult object that encapsulates the results of the analysis, including feature names, importance scores, and bias weights.

Parameters:

dataset ({"main", "train", "test"}, default="test") – The data set used for calculating the explanation results.

Returns:

A container object with the following components:

  • key: “llm_violin”

  • data: Name of the dataset used

  • model: Name of the model used

  • inputs: Input parameters

  • value: Dictionary containing:

    • ”feature_names”: List of feature names

    • ”all_bias_weight”: LLM coefficients including bias terms

    • ”count_llms”: Count of LLMs

    • ”feature_importance”: Feature importance scores

Return type:

ValidationResult

Examples

MoReLUDNN Classification

MoReLUDNN Classification

MoReLUDNN Regression

MoReLUDNN Regression