Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions python/pyspark/ml/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,14 @@ def numInstances(self):
"""
return self._call_java("numInstances")

@property
@since("2.2.0")
def degreesOfFreedom(self):
"""
Degrees of freedom.
"""
return self._call_java("degreesOfFreedom")

@property
@since("2.0.0")
def devianceResiduals(self):
Expand Down Expand Up @@ -1565,6 +1573,14 @@ def predictionCol(self):
"""
return self._call_java("predictionCol")

@property
@since("2.2.0")
def numInstances(self):
"""
Number of instances in DataFrame predictions.
"""
return self._call_java("numInstances")

@property
@since("2.0.0")
def rank(self):
Expand Down