robert 2.0.1__tar.gz → 2.0.2__tar.gz
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.
- {robert-2.0.1 → robert-2.0.2}/PKG-INFO +5 -2
- {robert-2.0.1 → robert-2.0.2}/robert/aqme.py +1 -1
- {robert-2.0.1 → robert-2.0.2}/robert/curate.py +2 -2
- {robert-2.0.1 → robert-2.0.2}/robert/utils.py +3 -2
- {robert-2.0.1 → robert-2.0.2}/robert.egg-info/PKG-INFO +5 -2
- {robert-2.0.1 → robert-2.0.2}/robert.egg-info/requires.txt +1 -0
- {robert-2.0.1 → robert-2.0.2}/setup.py +5 -2
- {robert-2.0.1 → robert-2.0.2}/tests/test_2generate.py +1 -1
- {robert-2.0.1 → robert-2.0.2}/LICENSE +0 -0
- {robert-2.0.1 → robert-2.0.2}/README.md +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/__init__.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/__main__.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/argument_parser.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/evaluate.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/generate.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/generate_utils.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/icons/Robert_icon.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/icons/Robert_logo.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/icons/Robert_logo_transparent.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/icons/info_icon.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/icons/pdf_icon.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/icons/play_icon.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/icons/stop_icon.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/model_params/ADAB_params.yaml +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/model_params/GB_params.yaml +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/model_params/GP_params.yaml +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/model_params/MVL_params.yaml +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/model_params/NN_params.yaml +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/model_params/RF_params.yaml +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/model_params/VR_params.yaml +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/predict.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/predict_utils.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/Robert_icon.ico +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/Robert_logo.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/Robert_logo1.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/abbrev.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/adv_anal.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/features.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/generate.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/outliers.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/pred.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/repro.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_0.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_1.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_10.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_2.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_3.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_4.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_5.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_6.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_7.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_8.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_9.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_w_1_0.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_w_1_1.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_w_2_0.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_w_2_1.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_w_2_2.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_w_3_0.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_w_3_1.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_w_3_2.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/score_w_3_3.jpg +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/transpa.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report/y_distrib.png +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/report_utils.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/robert.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert/verify.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert.egg-info/SOURCES.txt +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert.egg-info/dependency_links.txt +0 -0
- {robert-2.0.1 → robert-2.0.2}/robert.egg-info/top_level.txt +0 -0
- {robert-2.0.1 → robert-2.0.2}/setup.cfg +0 -0
- {robert-2.0.1 → robert-2.0.2}/tests/test_1curate.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/tests/test_3verify.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/tests/test_4predict.py +0 -0
- {robert-2.0.1 → robert-2.0.2}/tests/test_5aqme_n_full.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robert
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: Refiner and Optimizer of a Bunch of Existing Regression Tools
|
|
5
5
|
Home-page: https://github.com/jvalegre/robert
|
|
6
|
-
Download-URL: https://github.com/jvalegre/robert/archive/refs/tags/2.0.
|
|
6
|
+
Download-URL: https://github.com/jvalegre/robert/archive/refs/tags/2.0.2.tar.gz
|
|
7
7
|
Author: Juan V. Alegre Requena, David Dalmau
|
|
8
8
|
Author-email: jv.alegre@csic.es
|
|
9
9
|
License: MIT
|
|
@@ -16,6 +16,8 @@ Classifier: Programming Language :: Python :: 3.7
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.8
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.9
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
21
|
Requires-Python: >=3.10
|
|
20
22
|
Description-Content-Type: text/markdown
|
|
21
23
|
License-File: LICENSE
|
|
@@ -34,5 +36,6 @@ Requires-Dist: weasyprint==63.1
|
|
|
34
36
|
Requires-Dist: PySide6
|
|
35
37
|
Requires-Dist: PyMuPDF
|
|
36
38
|
Requires-Dist: ansi2html
|
|
39
|
+
Requires-Dist: rdkit==2024.3.3
|
|
37
40
|
|
|
38
41
|
Documentation in Read The Docs: https://robert.readthedocs.io
|
|
@@ -125,7 +125,7 @@ class aqme:
|
|
|
125
125
|
aqme_indv_name = f'AQME_indiv_{smi_suffix}'
|
|
126
126
|
|
|
127
127
|
# run AQME-QDESCP to generate descriptors
|
|
128
|
-
cmd_qdescp = ['python', '-m', 'aqme', '--qdescp', '--input', f'{aqme_indv_name}.csv', '--program', 'xtb', '--csv_name', f'{aqme_indv_name}.csv', '--nprocs', f'{self.args.nprocs}', '--robert']
|
|
128
|
+
cmd_qdescp = ['python','-u', '-m', 'aqme', '--qdescp', '--input', f'{aqme_indv_name}.csv', '--program', 'xtb', '--csv_name', f'{aqme_indv_name}.csv', '--nprocs', f'{self.args.nprocs}', '--robert']
|
|
129
129
|
_ = self.run_aqme(cmd_qdescp, self.args.qdescp_keywords)
|
|
130
130
|
|
|
131
131
|
if smi_suffix is not None:
|
|
@@ -8,10 +8,10 @@ Parameters
|
|
|
8
8
|
Name of the column containing the response variable in the input CSV file (i.e. 'solubility').
|
|
9
9
|
discard : list, default=[]
|
|
10
10
|
List containing the columns of the input CSV file that will not be included as descriptors
|
|
11
|
-
in the curated CSV file (i.e. ['name','SMILES']).
|
|
11
|
+
in the curated CSV file (i.e. "['name','SMILES']").
|
|
12
12
|
ignore : list, default=[]
|
|
13
13
|
List containing the columns of the input CSV file that will be ignored during the curation process
|
|
14
|
-
(i.e. ['name','SMILES']). The descriptors will be included in the curated CSV file. The y value
|
|
14
|
+
(i.e. "['name','SMILES']"). The descriptors will be included in the curated CSV file. The y value
|
|
15
15
|
is automatically ignored.
|
|
16
16
|
names : str, default=''
|
|
17
17
|
Column of the names for each datapoint. Names are used to print outliers.
|
|
@@ -58,7 +58,7 @@ import warnings # this avoids warnings from sklearn
|
|
|
58
58
|
warnings.filterwarnings("ignore")
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
robert_version = "2.0.
|
|
61
|
+
robert_version = "2.0.2"
|
|
62
62
|
time_run = time.strftime("%Y/%m/%d %H:%M:%S", time.localtime())
|
|
63
63
|
robert_ref = "Dalmau, D.; Alegre Requena, J. V. WIREs Comput Mol Sci. 2024, 14, e1733."
|
|
64
64
|
|
|
@@ -2597,7 +2597,7 @@ def prepare_sets(self,csv_df,csv_X,csv_y,test_points,column_names,csv_external_d
|
|
|
2597
2597
|
self.args.log.write(f'\nx WARNING! The test_set option was set to {self.args.test_set}, this value will be raised to 0.2 to include a meaningful amount of points in the test set. You can bypass this option and include less test points with "--auto_test False".')
|
|
2598
2598
|
|
|
2599
2599
|
if self.args.test_set > 0:
|
|
2600
|
-
self.args.log.write(f'\no Before
|
|
2600
|
+
self.args.log.write(f'\no Before hyperoptimization, {int(self.args.test_set*100)}% of the data (or 4 points at least) was separated as test set, using an even distribution of data points across the range of y values.')
|
|
2601
2601
|
try:
|
|
2602
2602
|
test_points = test_select(self,X_scaled_df,csv_y)
|
|
2603
2603
|
except TypeError:
|
|
@@ -2624,6 +2624,7 @@ def load_dfs(self,folder_model,module,sanity_check=False,print_info=True):
|
|
|
2624
2624
|
path_db = f"{Path(os.getcwd()).joinpath(folder_model)}"
|
|
2625
2625
|
if os.path.exists(path_db):
|
|
2626
2626
|
csv_files = glob.glob(f'{Path(path_db).joinpath("*.csv")}')
|
|
2627
|
+
csv_files.sort(key=lambda f: f.endswith('_db.csv')) # sort the database file to be the last one, depending on the OS was taking first the dabatase and then the parameters
|
|
2627
2628
|
for csv_file in csv_files:
|
|
2628
2629
|
if csv_file.endswith('_db.csv'):
|
|
2629
2630
|
if not sanity_check:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robert
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: Refiner and Optimizer of a Bunch of Existing Regression Tools
|
|
5
5
|
Home-page: https://github.com/jvalegre/robert
|
|
6
|
-
Download-URL: https://github.com/jvalegre/robert/archive/refs/tags/2.0.
|
|
6
|
+
Download-URL: https://github.com/jvalegre/robert/archive/refs/tags/2.0.2.tar.gz
|
|
7
7
|
Author: Juan V. Alegre Requena, David Dalmau
|
|
8
8
|
Author-email: jv.alegre@csic.es
|
|
9
9
|
License: MIT
|
|
@@ -16,6 +16,8 @@ Classifier: Programming Language :: Python :: 3.7
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.8
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.9
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
21
|
Requires-Python: >=3.10
|
|
20
22
|
Description-Content-Type: text/markdown
|
|
21
23
|
License-File: LICENSE
|
|
@@ -34,5 +36,6 @@ Requires-Dist: weasyprint==63.1
|
|
|
34
36
|
Requires-Dist: PySide6
|
|
35
37
|
Requires-Dist: PyMuPDF
|
|
36
38
|
Requires-Dist: ansi2html
|
|
39
|
+
Requires-Dist: rdkit==2024.3.3
|
|
37
40
|
|
|
38
41
|
Documentation in Read The Docs: https://robert.readthedocs.io
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
|
-
version="2.0.
|
|
2
|
+
version="2.0.2"
|
|
3
3
|
setup(
|
|
4
4
|
name="robert",
|
|
5
5
|
packages=find_packages(exclude=["tests"]),
|
|
@@ -30,6 +30,8 @@ setup(
|
|
|
30
30
|
"Programming Language :: Python :: 3.8",
|
|
31
31
|
"Programming Language :: Python :: 3.9",
|
|
32
32
|
"Programming Language :: Python :: 3.10",
|
|
33
|
+
"Programming Language :: Python :: 3.11",
|
|
34
|
+
"Programming Language :: Python :: 3.12",
|
|
33
35
|
],
|
|
34
36
|
install_requires=[
|
|
35
37
|
"PyYAML==6.0.2",
|
|
@@ -46,7 +48,8 @@ setup(
|
|
|
46
48
|
"weasyprint==63.1",
|
|
47
49
|
"PySide6",
|
|
48
50
|
"PyMuPDF",
|
|
49
|
-
"ansi2html"
|
|
51
|
+
"ansi2html",
|
|
52
|
+
"rdkit==2024.3.3"
|
|
50
53
|
],
|
|
51
54
|
python_requires=">=3.10",
|
|
52
55
|
include_package_data=True,
|
|
@@ -130,7 +130,7 @@ def test_GENERATE(test_job):
|
|
|
130
130
|
finding_line += 1
|
|
131
131
|
elif f"2. 50% = RMSE from the bottom or top (worst performing) fold in a sorted 5-fold CV (extrapolation)" in line:
|
|
132
132
|
finding_line += 1
|
|
133
|
-
elif f"o Before
|
|
133
|
+
elif f"o Before hyperoptimization, 20% of the data (or 4 points at least) was separated as test set, using an even distribution of data points across the range of y values." in line:
|
|
134
134
|
finding_line += 0.5 # it appears two times, in PFI and no PFI
|
|
135
135
|
# this elif adds 4 points to the standard test (0.5*2(PFI and no PFI)*4(models)
|
|
136
136
|
elif f"o Best combined RMSE (target) found in BO for RF (no PFI filter): 0.53" in line:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|