We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d10ca1 commit 3715b7aCopy full SHA for 3715b7a
2 files changed
src/trustyai/initializer.py
@@ -7,9 +7,12 @@
7
# distutils is deprecated and removed in Python 3.12+
8
# Use sysconfig instead
9
import sysconfig
10
+
11
def get_python_lib():
12
"""Fallback implementation of get_python_lib using sysconfig."""
- return sysconfig.get_path('purelib')
13
+ return sysconfig.get_path("purelib")
14
15
16
import glob
17
import logging
18
import os
src/trustyai/visualizations/lime.py
@@ -30,9 +30,9 @@ def _matplotlib_plot(
30
for feature_importance in (
31
explanations.saliency_map().get(output_name).getPerFeatureImportance()
32
):
33
- dictionary[
34
- feature_importance.getFeature().name
35
- ] = feature_importance.getScore()
+ dictionary[feature_importance.getFeature().name] = (
+ feature_importance.getScore()
+ )
36
37
colours = [
38
(
0 commit comments