531f6e363943c6a900446f05e40417acb5f19024,clairvoyante/train.py,,TrainAll,#Any#Any#Any#,35

Before Change


                top2Count += 1
            if sortPredictV[np.argmax(annotateV)] == 1:
                top2Count += 1
        logging.info("all/top1/top2: %d/%d/%d" % (allBaseCount, top1Count, top2Count))
        logging.info("Version 2 model, evaluation on Zygosity:")
        ed = np.zeros( (2,2), dtype=np.int )
        for predictV, annotateV in zip(zs, YArray[:,4:6]):
            ed[np.argmax(annotateV)][np.argmax(predictV)] += 1

After Change


                top2Count += 1
            elif np.argmax(annotateV) == sortPredictV[1]:
                top2Count += 1
        logging.info("all/top1/top2/top1p/top2p: %d/%d/%d/%.2f/%.2f" % (allBaseCount, top1Count, top2Count, float(top1Count)/allBaseCount*100, float(top2Count)/allBaseCount*100))
        logging.info("Version 1 model, evaluation on variant type:")
        ed = np.zeros( (5,5), dtype=np.int )
        for predictV, annotateV in zip(ts, YArray[:,4:9]):
            ed[np.argmax(annotateV)][np.argmax(predictV)] += 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: aquaskyline/Clairvoyante
Commit Name: 531f6e363943c6a900446f05e40417acb5f19024
Time: 2017-08-12
Author: rluo5@jhu.edu@schatz-bigmem.cm.cluster
File Name: clairvoyante/train.py
Class Name:
Method Name: TrainAll


Project Name: jsalt18-sentence-repl/jiant
Commit Name: 4c9c125a1ee6eb3165ffab1b1c8b5c86010f1884
Time: 2018-07-18
Author: paxia@jhu.edu
File Name: src/trainer.py
Class Name: SamplingMultiTaskTrainer
Method Name: train


Project Name: aquaskyline/Clairvoyante
Commit Name: 531f6e363943c6a900446f05e40417acb5f19024
Time: 2017-08-12
Author: rluo5@jhu.edu@schatz-bigmem.cm.cluster
File Name: clairvoyante/predictCompare.py
Class Name:
Method Name: Test


Project Name: jsalt18-sentence-repl/jiant
Commit Name: f19c1f5c3f185850b9db83fb85dc12c797e65b90
Time: 2018-07-18
Author: paxia@jhu.edu
File Name: src/trainer.py
Class Name: SamplingMultiTaskTrainer
Method Name: train