Skip to content

Commit

Permalink
log quantileProbabilities.size
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengruifeng authored Jan 13, 2017
1 parent e6b4615 commit 7f00d36
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ class AFTSurvivalRegression @Since("1.6.0") (@Since("1.6.0") override val uid: S

val instr = Instrumentation.create(this, dataset)
instr.logParams(labelCol, featuresCol, censorCol, predictionCol, quantilesCol,
quantileProbabilities, fitIntercept, maxIter, tol, aggregationDepth)
fitIntercept, maxIter, tol, aggregationDepth)
instr.logNamedValue("quantileProbabilities.size", $(quantileProbabilities).length)
instr.logNumFeatures(numFeatures)

if (!$(fitIntercept) && (0 until numFeatures).exists { i =>
Expand Down

0 comments on commit 7f00d36

Please sign in to comment.