Spaces:
Sleeping
Sleeping
Saicharan
commited on
Commit
·
25849a9
1
Parent(s):
ccc7c99
Commented metrics
Browse files- molgenevalmetric.py +4 -4
molgenevalmetric.py
CHANGED
@@ -518,10 +518,10 @@ class molgenevalmetric(evaluate.Metric):
|
|
518 |
def _compute(self, gensmi, trainsmi):
|
519 |
|
520 |
metrics = {}
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
# metrics['FCD'] = fcd_metric(gen = gensmi, train = trainsmi)
|
526 |
# metrics['Oracles'] = oracles(gen = gensmi, train = trainsmi)
|
527 |
|
|
|
518 |
def _compute(self, gensmi, trainsmi):
|
519 |
|
520 |
metrics = {}
|
521 |
+
metrics['novelty'] = novelty(gen = gensmi, train = trainsmi)
|
522 |
+
metrics['valid'] = fraction_valid(gen=gensmi)
|
523 |
+
metrics['unique'] = fraction_unique(gen=gensmi)
|
524 |
+
metrics['IntDiv'] = internal_diversity(gen=gensmi)
|
525 |
# metrics['FCD'] = fcd_metric(gen = gensmi, train = trainsmi)
|
526 |
# metrics['Oracles'] = oracles(gen = gensmi, train = trainsmi)
|
527 |
|