You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Miss intercept in predict method of LRModel. Does this only consider the rank tasks?
overridedefpredict(dataSet: DataBlock[LabeledData]):DataBlock[PredictResult] = {
valstart=System.currentTimeMillis()
valwVector= weight.getRow(0)
valcost=System.currentTimeMillis() - start
LOG.info(s"pull LR Model from PS cost $cost ms.")
valpredict=newMemoryDataBlock[PredictResult](-1)
dataSet.resetReadIndex()
for (idx: Int<-0 until dataSet.size) {
valinstance= dataSet.read
valid= instance.getY
valdot= wVector.dot(instance.getX)
valsig=Maths.sigmoid(dot)
predict.put(newLRPredictResult(id, dot, sig))
}
predict
}
}
The text was updated successfully, but these errors were encountered:
qf6101
changed the title
Some candidate bugs in logistic regression of classification package
Possible bugs in logistic regression of classification package
Apr 20, 2018
qf6101
changed the title
Possible bugs in logistic regression of classification package
Possible bug in logistic regression of classification package
Apr 20, 2018
Miss intercept in predict method of LRModel. Does this only consider the rank tasks?
The text was updated successfully, but these errors were encountered: