Skip to content
Snippets Groups Projects
Commit c8149ef2 authored by Eric Liang's avatar Eric Liang Committed by Xiangrui Meng
Browse files

[MINOR] [ML] override toString of AttributeGroup

This makes equality test failures much more readable.

mengxr

Author: Eric Liang <ekl@databricks.com>
Author: Eric Liang <ekhliang@gmail.com>

Closes #8826 from ericl/attrgroupstr.
parent 8074208f
No related branches found
No related tags found
No related merge requests found
......@@ -183,6 +183,8 @@ class AttributeGroup private (
sum = 37 * sum + attributes.map(_.toSeq).hashCode
sum
}
override def toString: String = toMetadata.toString
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment