Skip to content

Commit 858df17

Browse files
Julien RousselJulien Roussel
authored andcommitted
authors reworked and warning removed
1 parent 381b1f1 commit 858df17

File tree

3 files changed

+26
-21
lines changed

3 files changed

+26
-21
lines changed

AUTHORS.rst

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,20 @@
22
Credits
33
=======
44

5-
Development Lead
5+
Development Team
66
----------------
77

88
* Julien Roussel <[email protected]>
9-
10-
Maintainers
11-
------------
12-
13-
* Mikail Duran <[email protected]>
149
* Anh Khoa Ngo Ho <[email protected]>
10+
* Charles-Henri Prat <[email protected]>
1511
* Guillaume Saës <[email protected]>
1612

17-
Contributors
18-
------------
13+
Past Contributors
14+
-----------------
1915

2016
* Hong-Lan Botterman
17+
* Nicolas Brunel
2118
* Firas Dakhli
19+
* Mikaïl Duran
2220
* Rima Hajou
23-
* Vianey Taquet
21+
* Thomas Morzadec

qolmat/benchmark/metrics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,8 +1022,8 @@ def distance_anticorr(df1: pd.DataFrame, df2: pd.DataFrame, df_mask: pd.DataFram
10221022
float
10231023
Distance correlation score
10241024
"""
1025-
df1 = df1[df_mask.any(axis=1)]
1026-
df2 = df2[df_mask.any(axis=1)]
1025+
df1 = df1.loc[df_mask.any(axis=1)]
1026+
df2 = df2.loc[df_mask.any(axis=1)]
10271027
return (1 - dcor.distance_correlation(df1.values, df2.values)) / 2
10281028

10291029

@@ -1059,8 +1059,8 @@ def pattern_based_weighted_mean_metric(
10591059
"""
10601060
scores = []
10611061
weights = []
1062-
df1 = df1[df_mask.any(axis=1)]
1063-
df2 = df2[df_mask.any(axis=1)]
1062+
df1 = df1.loc[df_mask.any(axis=1)]
1063+
df2 = df2.loc[df_mask.any(axis=1)]
10641064
df_nan = df1.notna()
10651065
max_num_row = 0
10661066
for tup_pattern, df_nan_pattern in df_nan.groupby(df_nan.columns.tolist()):

setup.py

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,31 @@
1313
LICENSE = "new BSD"
1414
AUTHORS = """
1515
Hong-Lan Botterman,
16-
Julien Roussel,
17-
Guillaume Saës,
18-
Thomas Morzadec,
19-
Rima Hajou,
2016
Firas Dakhli,
17+
Rima Hajou,
18+
Thomas Morzadec,
2119
Anh Khoa Ngo Ho,
2220
Charles-Henri Prat
21+
Julien Roussel,
22+
Guillaume Saës,
2323
"""
2424
AUTHORS_EMAIL = """
2525
26-
27-
28-
29-
3026
27+
28+
3129
3230
31+
32+
3333
"""
34+
MAINTAINER = "Julien ROUSSEL, Anh Khoa NGO HO, Charles-Henri PRAT, Guillaume SAËS"
35+
MAINTAINER_EMAIL = (
36+
37+
38+
39+
40+
)
3441
URL = "https://github.com/Quantmetry/qolmat"
3542
DOWNLOAD_URL = "https://pypi.org/project/qolmat/#files"
3643
PROJECT_URLS = {

0 commit comments

Comments
 (0)