Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maria Karanasou
spark-iforest
Commits
1de4e31f
Commit
1de4e31f
authored
Apr 10, 2019
by
titicaca
Browse files
remove property annotator for threshold api
parent
32efbf3d
Changes
1
Show whitespace changes
Inline
Side-by-side
python/pyspark_iforest/ml/iforest.py
View file @
1de4e31f
...
...
@@ -138,7 +138,6 @@ class IForestModel(JavaModel, JavaMLWritable, CustomizedJavaMLReadable):
raise
RuntimeError
(
"No training summary available for this %s"
%
self
.
__class__
.
__name__
)
@
property
@
since
(
"2.4.0"
)
def
setThreshold
(
self
,
value
):
"""
...
...
@@ -146,7 +145,6 @@ class IForestModel(JavaModel, JavaMLWritable, CustomizedJavaMLReadable):
"""
self
.
_call_java
(
"setThreshold"
,
value
)
@
property
@
since
(
"2.4.0"
)
def
getThreshold
(
self
):
"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment