howso-visuals 3.0.1__py3-none-any.whl → 3.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- howso/visuals/visuals.py +3 -2
- {howso_visuals-3.0.1.dist-info → howso_visuals-3.0.2.dist-info}/METADATA +2 -2
- {howso_visuals-3.0.1.dist-info → howso_visuals-3.0.2.dist-info}/RECORD +7 -7
- {howso_visuals-3.0.1.dist-info → howso_visuals-3.0.2.dist-info}/licenses/LICENSE-3RD-PARTY.txt +800 -71
- {howso_visuals-3.0.1.dist-info → howso_visuals-3.0.2.dist-info}/WHEEL +0 -0
- {howso_visuals-3.0.1.dist-info → howso_visuals-3.0.2.dist-info}/licenses/LICENSE.txt +0 -0
- {howso_visuals-3.0.1.dist-info → howso_visuals-3.0.2.dist-info}/top_level.txt +0 -0
howso/visuals/visuals.py
CHANGED
|
@@ -545,7 +545,7 @@ def plot_interpretable_prediction(
|
|
|
545
545
|
if generative_reacts is not None:
|
|
546
546
|
action_distribution = generative_reacts[action_feature]
|
|
547
547
|
elif influential_cases is not None:
|
|
548
|
-
action_distribution = [
|
|
548
|
+
action_distribution = influential_cases[action_feature]
|
|
549
549
|
else:
|
|
550
550
|
action_distribution = None
|
|
551
551
|
|
|
@@ -573,7 +573,7 @@ def plot_interpretable_prediction(
|
|
|
573
573
|
predicted_case_hover_template = case_hover_template
|
|
574
574
|
|
|
575
575
|
if influential_cases is not None:
|
|
576
|
-
max_inf_weight =
|
|
576
|
+
max_inf_weight = influential_cases[".influence_weight"].max()
|
|
577
577
|
else:
|
|
578
578
|
max_inf_weight = None
|
|
579
579
|
|
|
@@ -636,6 +636,7 @@ def plot_interpretable_prediction(
|
|
|
636
636
|
inf_case_labels = []
|
|
637
637
|
|
|
638
638
|
# Add influential cases
|
|
639
|
+
influential_cases = influential_cases.to_dict("records")
|
|
639
640
|
for i in influential_cases:
|
|
640
641
|
inf_case_values.append(i[action_feature])
|
|
641
642
|
inf_case_weights.append(i[".influence_weight"])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: howso-visuals
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.2
|
|
4
4
|
Summary: Visualization utilities for use with Howso Engine.
|
|
5
5
|
License: GNU AFFERO GENERAL PUBLIC LICENSE
|
|
6
6
|
Version 3, 19 November 2007
|
|
@@ -675,7 +675,7 @@ Requires-Python: >=3.10
|
|
|
675
675
|
Description-Content-Type: text/markdown
|
|
676
676
|
License-File: LICENSE-3RD-PARTY.txt
|
|
677
677
|
License-File: LICENSE.txt
|
|
678
|
-
Requires-Dist: howso-engine>=
|
|
678
|
+
Requires-Dist: howso-engine>=51.0
|
|
679
679
|
Requires-Dist: networkx
|
|
680
680
|
Requires-Dist: plotly[kaleido]~=6.0
|
|
681
681
|
Requires-Dist: scipy
|
|
@@ -9,14 +9,14 @@ config/powershell/Helper-Functions.ps1,sha256=oLEunSYLr-zxtG9kqYuOGG8v3kSxTQEpqe
|
|
|
9
9
|
howso/visuals/__init__.py,sha256=OL9LT4186YIXkEmM4qc21maRnfrtxBmFUHnalcKzGWA,507
|
|
10
10
|
howso/visuals/colors.py,sha256=2ChjT4MUjA4ZqITR_K1j3fUKNRBd8M9iyJ4ZT10cNlw,1709
|
|
11
11
|
howso/visuals/graph.py,sha256=fdZzYLwoBV8CeW_SwtcNkDh8xbIG_FlECSECxyBIr5M,8311
|
|
12
|
-
howso/visuals/visuals.py,sha256=
|
|
12
|
+
howso/visuals/visuals.py,sha256=usq7Nfbn-LB5QlhVBZLHpYnvU5TP6CZ0VArgAXN6jWM,34691
|
|
13
13
|
howso/visuals/data/iris.csv,sha256=73iTb6rB42LgZwf89er-tEbuyjlvEAx6WywMPwt0GjU,2757
|
|
14
14
|
howso/visuals/tests/conftest.py,sha256=BcvCVDWbwaQKSstzJzN9G48KoDnCgTtVdgYo2CJZTWM,1293
|
|
15
15
|
howso/visuals/tests/test_graph.py,sha256=gfuJNpsNBLx2tDXDIR-ClbCZUSOQCmk8Dx2X-NhN2yM,1014
|
|
16
16
|
howso/visuals/tests/test_plot.py,sha256=iVdEyuIRYEN23IZx4He3hjDvBwNOP9NsXqdrQPSYHaw,8162
|
|
17
|
-
howso_visuals-3.0.
|
|
18
|
-
howso_visuals-3.0.
|
|
19
|
-
howso_visuals-3.0.
|
|
20
|
-
howso_visuals-3.0.
|
|
21
|
-
howso_visuals-3.0.
|
|
22
|
-
howso_visuals-3.0.
|
|
17
|
+
howso_visuals-3.0.2.dist-info/licenses/LICENSE-3RD-PARTY.txt,sha256=UGekRpKGaM-o3GapUXsYLCJPq337j8bcN_1n4voVRQg,410340
|
|
18
|
+
howso_visuals-3.0.2.dist-info/licenses/LICENSE.txt,sha256=2xqHuoHohba7gpcZZKtOICRjzeKsQANXG8WoV9V35KM,33893
|
|
19
|
+
howso_visuals-3.0.2.dist-info/METADATA,sha256=h-jnG5JXQNlP97RuVfSsiKLGvgXygQWbCwzFYV-KFW0,41051
|
|
20
|
+
howso_visuals-3.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
21
|
+
howso_visuals-3.0.2.dist-info/top_level.txt,sha256=4ltSHx7mNsXczuoCPkz1irjq1x1JZir2QrX-ZwRNWXU,22
|
|
22
|
+
howso_visuals-3.0.2.dist-info/RECORD,,
|