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

[SPARK-9657] Fix return type of getMaxPatternLength

mengxr

Author: Feynman Liang <fliang@databricks.com>

Closes #7974 from feynmanliang/SPARK-9657 and squashes the following commits:

7ca533f [Feynman Liang] Fix return type of getMaxPatternLength
parent f9c2a2af
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ class PrefixSpan private ( ...@@ -82,7 +82,7 @@ class PrefixSpan private (
/** /**
* Gets the maximal pattern length (i.e. the length of the longest sequential pattern to consider. * Gets the maximal pattern length (i.e. the length of the longest sequential pattern to consider.
*/ */
def getMaxPatternLength: Double = maxPatternLength def getMaxPatternLength: Int = maxPatternLength
/** /**
* Sets maximal pattern length (default: `10`). * Sets maximal pattern length (default: `10`).
......
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