Changeset: c833d3c16218 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c833d3c16218
Modified Files:
monetdb5/extras/rdf/rdfschema.c
Branch: rdf
Log Message:
Get back the former performance metric
diffs (12 lines):
diff --git a/monetdb5/extras/rdf/rdfschema.c b/monetdb5/extras/rdf/rdfschema.c
--- a/monetdb5/extras/rdf/rdfschema.c
+++ b/monetdb5/extras/rdf/rdfschema.c
@@ -8934,7 +8934,7 @@ Pscore computeMetricsQ(CSset *freqCSset)
tblIdx++;
fillRatio[tblIdx] = (float) cs.numFill
/((float)cs.numProp * cs.support);
refRatio[tblIdx] = (float) cs.numInRef /
freqCSset->totalInRef;
- weight[tblIdx] = (float) cs.coverage *
fillRatio[tblIdx] + refRatio[tblIdx];
+ weight[tblIdx] = (float) cs.coverage *
(fillRatio[tblIdx] + refRatio[tblIdx]);
//weight[tblIdx] = (float) cs.coverage * (
fillRatio[tblIdx]); //If do not consider reference ratio
totalCov += cs.coverage;
totalPrecision += fillRatio[tblIdx];
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list