Saicharan commited on
Commit
25849a9
·
1 Parent(s): ccc7c99

Commented metrics

Browse files
Files changed (1) hide show
  1. 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
- # 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
 
 
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