Skip to content

Commit 21b80b7

Browse files
authored
Merge pull request #84 from grahamWroberts/main
merged 2602_ORNL from unistgov
2 parents bebca81 + 98e7065 commit 21b80b7

File tree

2 files changed

+849
-1
lines changed

2 files changed

+849
-1
lines changed

AFL/double_agent/data/classification_pipeline_log.json

Lines changed: 847 additions & 0 deletions
Large diffs are not rendered by default.

tests/test_classifier_pipeline.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def test_classifier_load(self):
8686
assert isinstance(P[1].classifier.left.entity, SVC)
8787
assert isinstance(P[1].classifier.right.entity, SVC)
8888

89+
#TEST TEMPORARILY REMOVED (TreePipeline.ClassificationPipeline no longer takes log10, will update reference pipeline for coorect value)
8990
@pytest.mark.unit
9091
@pytest.mark.skipif(
9192
not TREEHIERARCHY_AVAILABLE,
@@ -97,7 +98,7 @@ def test_classifier_load(self):
9798
### data = load_dataset("classification_data")
9899
### classification_def = json.loads(open(os.path.join(get_data_dir(), "classification_tree.json"), 'r').read())
99100
### pipe = tp.ClassificationPipeline("log_sas_curves", "predicted_labels", classification_def)
100-
save_path = os.path.join(get_data_dir(), "classification_pipeline.json")
101+
save_path = os.path.join(get_data_dir(), "classification_pipeline_log.json")
101102
data = load_dataset("example_classification_data")
102103
ref = load_dataset("reference_predictions")
103104
with Pipeline.read_json(str(save_path)) as P:

0 commit comments

Comments
 (0)