aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/compatibility/src/test
diff options
context:
space:
mode:
authorTimothy Hunter <timhunter@databricks.com>2016-04-13 11:06:42 -0700
committerJoseph K. Bradley <joseph@databricks.com>2016-04-13 11:06:42 -0700
commit1018a1c1eb33eefbfb9025fac7a1cdafc5cbf8f8 (patch)
tree3edcb71e82e7b2c2bdc5428bf9b7817434635a97 /sql/hive/compatibility/src/test
parent323e7390a5c123c48cc7d6d9be44bee3a7eecd99 (diff)
downloadspark-1018a1c1eb33eefbfb9025fac7a1cdafc5cbf8f8.tar.gz
spark-1018a1c1eb33eefbfb9025fac7a1cdafc5cbf8f8.tar.bz2
spark-1018a1c1eb33eefbfb9025fac7a1cdafc5cbf8f8.zip
[SPARK-14568][ML] Instrumentation framework for logistic regression
## What changes were proposed in this pull request? This adds extra logging information about a `LogisticRegression` estimator when being fit on a dataset. With this PR, you see the following extra lines when running the example in the documentation: ``` 16/04/13 07:19:00 INFO Instrumentation: Instrumentation(LogisticRegression-logreg_55dd3c09f164-1230977381-1): training: numPartitions=1 storageLevel=StorageLevel(disk=true, memory=true, offheap=false, deserialized=true, replication=1) 16/04/13 07:19:00 INFO Instrumentation: Instrumentation(LogisticRegression-logreg_55dd3c09f164-1230977381-1): {"regParam":0.3,"elasticNetParam":0.8,"maxIter":10} ... 16/04/12 11:48:07 INFO Instrumentation: Instrumentation(LogisticRegression-logreg_a89eb23cb386-358781145):numClasses=2 16/04/12 11:48:07 INFO Instrumentation: Instrumentation(LogisticRegression-logreg_a89eb23cb386-358781145):numFeatures=692 ... 16/04/13 07:19:01 INFO Instrumentation: Instrumentation(LogisticRegression-logreg_55dd3c09f164-1230977381-1): training finished ``` ## How was this patch tested? This PR was manually tested. Author: Timothy Hunter <timhunter@databricks.com> Closes #12331 from thunterdb/1604-instrumentation.
Diffstat (limited to 'sql/hive/compatibility/src/test')
0 files changed, 0 insertions, 0 deletions