@property
@since('2.0.0')
def explainedVariance(self):
    '\n        Returns the explained variance regression score.\n        explainedVariance = :math:`1 - \\frac{variance(y - \\hat{y})}{variance(y)}`\n\n        .. seealso:: `Wikipedia explain variation\n            <http://en.wikipedia.org/wiki/Explained_variation>`_\n\n        .. note:: This ignores instance weights (setting all to 1.0) from\n            `LinearRegression.weightCol`. This will change in later Spark\n            versions.\n        '
    return self._call_java('explainedVariance')
Returns the explained variance regression score.
explainedVariance = :math:`1 - \frac{variance(y - \hat{y})}{variance(y)}`

.. seealso:: `Wikipedia explain variation
    <http://en.wikipedia.org/wiki/Explained_variation>`_

.. note:: This ignores instance weights (setting all to 1.0) from
    `LinearRegression.weightCol`. This will change in later Spark
    versions.
@property
@since('2.0.0')
def explainedVariance(self):
    '\n        Returns the explained variance regression score.\n        explainedVariance = :math:`1 - \\frac{variance(y - \\hat{y})}{variance(y)}`\n\n        .. seealso:: `Wikipedia explain variation\n            <http://en.wikipedia.org/wiki/Explained_variation>`_\n\n        .. note:: This ignores instance weights (setting all to 1.0) from\n            `LinearRegression.weightCol`. This will change in later Spark\n            versions.\n        '
    return self._call_java('explainedVariance')