Closed qle2 closed 4 years ago
Hello @qle2! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
core/analysis.py
:Line 146:57: E127 continuation line over-indented for visual indent Line 146:80: E501 line too long (119 > 79 characters) Line 147:80: E501 line too long (97 > 79 characters) Line 148:80: E501 line too long (104 > 79 characters) Line 149:80: E501 line too long (107 > 79 characters) Line 150:80: E501 line too long (89 > 79 characters) Line 179:80: E501 line too long (92 > 79 characters)
core/models.py
:Line 32:80: E501 line too long (94 > 79 characters)
core/neo4j/make_query.py
:Line 156:1: W293 blank line contains whitespace
core/neo4j/nodes_to_neo4j.py
:Line 137:80: E501 line too long (118 > 79 characters)
core/neo4j/rel_to_neo4j.py
:Line 34:80: E501 line too long (97 > 79 characters) Line 93:80: E501 line too long (106 > 79 characters) Line 93:107: W291 trailing whitespace Line 104:80: E501 line too long (92 > 79 characters)
core/regressors.py
:Line 181:80: E501 line too long (113 > 79 characters)
main.py
:Line 20:41: E231 missing whitespace after ',' Line 73:80: E501 line too long (110 > 79 characters)
tests/test_keras.py
:Line 9:80: E501 line too long (116 > 79 characters) Line 16:80: E501 line too long (115 > 79 characters)
This PR:
Adds a function that produces learning curves graphs
Adds values gathered from skopt during hyperparameter tuning to ontology. Specifically, turn them into properties of the
TUNED_WITH
relationshipGets dictionary of hyperparameter tuning related value as self.cv_results
Gets a scoring function instant from BayesSearchCV as a model instance. Since regression and classification uses different scoring function, I think this is necessary to add. This scoring function was also put in as a property of
TuningAlg
node.