Commit 1de4e31f authored by titicaca's avatar titicaca
Browse files

remove property annotator for threshold api

parent 32efbf3d
...@@ -138,7 +138,6 @@ class IForestModel(JavaModel, JavaMLWritable, CustomizedJavaMLReadable): ...@@ -138,7 +138,6 @@ class IForestModel(JavaModel, JavaMLWritable, CustomizedJavaMLReadable):
raise RuntimeError("No training summary available for this %s" % raise RuntimeError("No training summary available for this %s" %
self.__class__.__name__) self.__class__.__name__)
@property
@since("2.4.0") @since("2.4.0")
def setThreshold(self, value): def setThreshold(self, value):
""" """
...@@ -146,7 +145,6 @@ class IForestModel(JavaModel, JavaMLWritable, CustomizedJavaMLReadable): ...@@ -146,7 +145,6 @@ class IForestModel(JavaModel, JavaMLWritable, CustomizedJavaMLReadable):
""" """
self._call_java("setThreshold", value) self._call_java("setThreshold", value)
@property
@since("2.4.0") @since("2.4.0")
def getThreshold(self): def getThreshold(self):
""" """
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment