blob: 12e18914b7150354ef8ad18de8d9cb4f7134eaa7 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>GeneralizedLinearRegressionTrainingSummary &#8212; PySpark 3.4.3 documentation</title>
<link rel="stylesheet" href="../../_static/css/index.73d71520a4ca3b99cfee5594769eaaae.css">
<link rel="stylesheet"
href="../../_static/vendor/fontawesome/5.13.0/css/all.min.css">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="../../_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="../../_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2">
<link rel="stylesheet"
href="../../_static/vendor/open-sans_all/1.44.1/index.css">
<link rel="stylesheet"
href="../../_static/vendor/lato_latin-ext/1.44.1/index.css">
<link rel="stylesheet" href="../../_static/basic.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css" />
<link rel="stylesheet" type="text/css" href="../../_static/css/pyspark.css" />
<link rel="preload" as="script" href="../../_static/js/index.3da636dd464baa7582d2.js">
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
<script src="../../_static/jquery.js"></script>
<script src="../../_static/underscore.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/language_data.js"></script>
<script src="../../_static/clipboard.min.js"></script>
<script src="../../_static/copybutton.js"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">MathJax.Hub.Config({"tex2jax": {"inlineMath": [["$", "$"], ["\\(", "\\)"]], "processEscapes": true, "ignoreClass": "document", "processClass": "math|output_area"}})</script>
<link rel="canonical" href="https://spark.apache.org/docs/latest/api/python/reference/api/pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="IsotonicRegression" href="pyspark.ml.regression.IsotonicRegression.html" />
<link rel="prev" title="GeneralizedLinearRegressionSummary" href="pyspark.ml.regression.GeneralizedLinearRegressionSummary.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="en" />
</head>
<body data-spy="scroll" data-target="#bd-toc-nav" data-offset="80">
<nav class="navbar navbar-light navbar-expand-lg bg-light fixed-top bd-navbar" id="navbar-main">
<div class="container-xl">
<a class="navbar-brand" href="../../index.html">
<img src="../../_static/spark-logo-reverse.png" class="logo" alt="logo" />
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-menu" aria-controls="navbar-menu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar-menu" class="col-lg-9 collapse navbar-collapse">
<ul id="navbar-main-elements" class="navbar-nav mr-auto">
<li class="nav-item ">
<a class="nav-link" href="../../index.html">Overview</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="../../getting_started/index.html">Getting Started</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="../../user_guide/index.html">User Guides</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="../index.html">API Reference</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="../../development/index.html">Development</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="../../migration_guide/index.html">Migration Guides</a>
</li>
</ul>
<ul class="navbar-nav">
</ul>
</div>
</div>
</nav>
<div class="container-xl">
<div class="row">
<div class="col-12 col-md-3 bd-sidebar"><form class="bd-search d-flex align-items-center" action="../../search.html" method="get">
<i class="icon fas fa-search"></i>
<input type="search" class="form-control" name="q" id="search-input" placeholder="Search the docs ..." aria-label="Search the docs ..." autocomplete="off" >
</form>
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation">
<div class="bd-toc-item active">
<ul class="nav bd-sidenav">
<li class="">
<a href="../pyspark.sql/index.html">Spark SQL</a>
</li>
<li class="">
<a href="../pyspark.pandas/index.html">Pandas API on Spark</a>
</li>
<li class="">
<a href="../pyspark.ss/index.html">Structured Streaming</a>
</li>
<li class="active">
<a href="../pyspark.ml.html">MLlib (DataFrame-based)</a>
</li>
<li class="">
<a href="../pyspark.streaming.html">Spark Streaming (Legacy)</a>
</li>
<li class="">
<a href="../pyspark.mllib.html">MLlib (RDD-based)</a>
</li>
<li class="">
<a href="../pyspark.html">Spark Core</a>
</li>
<li class="">
<a href="../pyspark.resource.html">Resource Management</a>
</li>
<li class="">
<a href="../pyspark.errors.html">Errors</a>
</li>
</ul>
</nav>
</div>
<div class="d-none d-xl-block col-xl-2 bd-toc">
<nav id="bd-toc-nav">
<ul class="nav section-nav flex-column">
</ul>
</nav>
</div>
<main class="col-12 col-md-9 col-xl-7 py-md-5 pl-md-5 pr-md-4 bd-content" role="main">
<div>
<div class="section" id="generalizedlinearregressiontrainingsummary">
<h1>GeneralizedLinearRegressionTrainingSummary<a class="headerlink" href="#generalizedlinearregressiontrainingsummary" title="Permalink to this headline"></a></h1>
<dl class="py class">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary">
<em class="property">class </em><code class="sig-prename descclassname">pyspark.ml.regression.</code><code class="sig-name descname">GeneralizedLinearRegressionTrainingSummary</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">java_obj</span><span class="p">:</span> <span class="n">Optional<span class="p">[</span>JavaObject<span class="p">]</span></span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/pyspark/ml/regression.html#GeneralizedLinearRegressionTrainingSummary"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary" title="Permalink to this definition"></a></dt>
<dd><p>Generalized linear regression training results.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
<p class="rubric">Methods</p>
<table class="longtable table autosummary">
<colgroup>
<col style="width: 10%" />
<col style="width: 90%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residuals" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residuals"><code class="xref py py-obj docutils literal notranslate"><span class="pre">residuals</span></code></a>([residualsType])</p></td>
<td><p>Get the residuals of the fitted model by type.</p></td>
</tr>
</tbody>
</table>
<p class="rubric">Attributes</p>
<table class="longtable table autosummary">
<colgroup>
<col style="width: 10%" />
<col style="width: 90%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.aic" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.aic"><code class="xref py py-obj docutils literal notranslate"><span class="pre">aic</span></code></a></p></td>
<td><p>Akaike’s “An Information Criterion”(AIC) for the fitted model.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.coefficientStandardErrors" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.coefficientStandardErrors"><code class="xref py py-obj docutils literal notranslate"><span class="pre">coefficientStandardErrors</span></code></a></p></td>
<td><p>Standard error of estimated coefficients and intercept.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.degreesOfFreedom" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.degreesOfFreedom"><code class="xref py py-obj docutils literal notranslate"><span class="pre">degreesOfFreedom</span></code></a></p></td>
<td><p>Degrees of freedom.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.deviance" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.deviance"><code class="xref py py-obj docutils literal notranslate"><span class="pre">deviance</span></code></a></p></td>
<td><p>The deviance for the fitted model.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.dispersion" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.dispersion"><code class="xref py py-obj docutils literal notranslate"><span class="pre">dispersion</span></code></a></p></td>
<td><p>The dispersion of the fitted model.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.nullDeviance" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.nullDeviance"><code class="xref py py-obj docutils literal notranslate"><span class="pre">nullDeviance</span></code></a></p></td>
<td><p>The deviance for the null model.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.numInstances" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.numInstances"><code class="xref py py-obj docutils literal notranslate"><span class="pre">numInstances</span></code></a></p></td>
<td><p>Number of instances in DataFrame predictions.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.numIterations" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.numIterations"><code class="xref py py-obj docutils literal notranslate"><span class="pre">numIterations</span></code></a></p></td>
<td><p>Number of training iterations.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.pValues" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.pValues"><code class="xref py py-obj docutils literal notranslate"><span class="pre">pValues</span></code></a></p></td>
<td><p>Two-sided p-value of estimated coefficients and intercept.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictionCol" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictionCol"><code class="xref py py-obj docutils literal notranslate"><span class="pre">predictionCol</span></code></a></p></td>
<td><p>Field in <a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictions" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictions"><code class="xref py py-attr docutils literal notranslate"><span class="pre">predictions</span></code></a> which gives the predicted value of each instance.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictions" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">predictions</span></code></a></p></td>
<td><p>Predictions output by the model’s <cite>transform</cite> method.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.rank" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.rank"><code class="xref py py-obj docutils literal notranslate"><span class="pre">rank</span></code></a></p></td>
<td><p>The numeric rank of the fitted linear model.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residualDegreeOfFreedom" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residualDegreeOfFreedom"><code class="xref py py-obj docutils literal notranslate"><span class="pre">residualDegreeOfFreedom</span></code></a></p></td>
<td><p>The residual degrees of freedom.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residualDegreeOfFreedomNull" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residualDegreeOfFreedomNull"><code class="xref py py-obj docutils literal notranslate"><span class="pre">residualDegreeOfFreedomNull</span></code></a></p></td>
<td><p>The residual degrees of freedom for the null model.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.solver" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.solver"><code class="xref py py-obj docutils literal notranslate"><span class="pre">solver</span></code></a></p></td>
<td><p>The numeric solver used for training.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.tValues" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.tValues"><code class="xref py py-obj docutils literal notranslate"><span class="pre">tValues</span></code></a></p></td>
<td><p>T-statistic of estimated coefficients and intercept.</p></td>
</tr>
</tbody>
</table>
<p class="rubric">Methods Documentation</p>
<dl class="py method">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residuals">
<code class="sig-name descname">residuals</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">residualsType</span><span class="p">:</span> <span class="n">str</span> <span class="o">=</span> <span class="default_value">'deviance'</span></em><span class="sig-paren">)</span> &#x2192; pyspark.sql.dataframe.DataFrame<a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residuals" title="Permalink to this definition"></a></dt>
<dd><p>Get the residuals of the fitted model by type.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><dl class="simple">
<dt><strong>residualsType</strong><span class="classifier">str, optional</span></dt><dd><p>The type of residuals which should be returned.
Supported options: deviance (default), pearson, working, and response.</p>
</dd>
</dl>
</dd>
</dl>
</dd></dl>
<p class="rubric">Attributes Documentation</p>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.aic">
<code class="sig-name descname">aic</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.aic" title="Permalink to this definition"></a></dt>
<dd><p>Akaike’s “An Information Criterion”(AIC) for the fitted model.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.coefficientStandardErrors">
<code class="sig-name descname">coefficientStandardErrors</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.coefficientStandardErrors" title="Permalink to this definition"></a></dt>
<dd><p>Standard error of estimated coefficients and intercept.</p>
<p>If <a class="reference internal" href="pyspark.ml.regression.GeneralizedLinearRegression.html#pyspark.ml.regression.GeneralizedLinearRegression.fitIntercept" title="pyspark.ml.regression.GeneralizedLinearRegression.fitIntercept"><code class="xref py py-attr docutils literal notranslate"><span class="pre">GeneralizedLinearRegression.fitIntercept</span></code></a> is set to True,
then the last element returned corresponds to the intercept.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.degreesOfFreedom">
<code class="sig-name descname">degreesOfFreedom</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.degreesOfFreedom" title="Permalink to this definition"></a></dt>
<dd><p>Degrees of freedom.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.deviance">
<code class="sig-name descname">deviance</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.deviance" title="Permalink to this definition"></a></dt>
<dd><p>The deviance for the fitted model.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.dispersion">
<code class="sig-name descname">dispersion</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.dispersion" title="Permalink to this definition"></a></dt>
<dd><p>The dispersion of the fitted model.
It is taken as 1.0 for the “binomial” and “poisson” families, and otherwise
estimated by the residual Pearson’s Chi-Squared statistic (which is defined as
sum of the squares of the Pearson residuals) divided by the residual degrees of freedom.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.nullDeviance">
<code class="sig-name descname">nullDeviance</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.nullDeviance" title="Permalink to this definition"></a></dt>
<dd><p>The deviance for the null model.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.numInstances">
<code class="sig-name descname">numInstances</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.numInstances" title="Permalink to this definition"></a></dt>
<dd><p>Number of instances in DataFrame predictions.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.2.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.numIterations">
<code class="sig-name descname">numIterations</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.numIterations" title="Permalink to this definition"></a></dt>
<dd><p>Number of training iterations.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.pValues">
<code class="sig-name descname">pValues</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.pValues" title="Permalink to this definition"></a></dt>
<dd><p>Two-sided p-value of estimated coefficients and intercept.</p>
<p>If <a class="reference internal" href="pyspark.ml.regression.GeneralizedLinearRegression.html#pyspark.ml.regression.GeneralizedLinearRegression.fitIntercept" title="pyspark.ml.regression.GeneralizedLinearRegression.fitIntercept"><code class="xref py py-attr docutils literal notranslate"><span class="pre">GeneralizedLinearRegression.fitIntercept</span></code></a> is set to True,
then the last element returned corresponds to the intercept.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictionCol">
<code class="sig-name descname">predictionCol</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictionCol" title="Permalink to this definition"></a></dt>
<dd><p>Field in <a class="reference internal" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictions" title="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictions"><code class="xref py py-attr docutils literal notranslate"><span class="pre">predictions</span></code></a> which gives the predicted value of each instance.
This is set to a new column name if the original model’s <cite>predictionCol</cite> is not set.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictions">
<code class="sig-name descname">predictions</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.predictions" title="Permalink to this definition"></a></dt>
<dd><p>Predictions output by the model’s <cite>transform</cite> method.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.rank">
<code class="sig-name descname">rank</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.rank" title="Permalink to this definition"></a></dt>
<dd><p>The numeric rank of the fitted linear model.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residualDegreeOfFreedom">
<code class="sig-name descname">residualDegreeOfFreedom</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residualDegreeOfFreedom" title="Permalink to this definition"></a></dt>
<dd><p>The residual degrees of freedom.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residualDegreeOfFreedomNull">
<code class="sig-name descname">residualDegreeOfFreedomNull</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.residualDegreeOfFreedomNull" title="Permalink to this definition"></a></dt>
<dd><p>The residual degrees of freedom for the null model.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.solver">
<code class="sig-name descname">solver</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.solver" title="Permalink to this definition"></a></dt>
<dd><p>The numeric solver used for training.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
<dl class="py attribute">
<dt id="pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.tValues">
<code class="sig-name descname">tValues</code><a class="headerlink" href="#pyspark.ml.regression.GeneralizedLinearRegressionTrainingSummary.tValues" title="Permalink to this definition"></a></dt>
<dd><p>T-statistic of estimated coefficients and intercept.</p>
<p>If <a class="reference internal" href="pyspark.ml.regression.GeneralizedLinearRegression.html#pyspark.ml.regression.GeneralizedLinearRegression.fitIntercept" title="pyspark.ml.regression.GeneralizedLinearRegression.fitIntercept"><code class="xref py py-attr docutils literal notranslate"><span class="pre">GeneralizedLinearRegression.fitIntercept</span></code></a> is set to True,
then the last element returned corresponds to the intercept.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.0.0.</span></p>
</div>
</dd></dl>
</dd></dl>
</div>
</div>
<div class='prev-next-bottom'>
<a class='left-prev' id="prev-link" href="pyspark.ml.regression.GeneralizedLinearRegressionSummary.html" title="previous page">GeneralizedLinearRegressionSummary</a>
<a class='right-next' id="next-link" href="pyspark.ml.regression.IsotonicRegression.html" title="next page">IsotonicRegression</a>
</div>
</main>
</div>
</div>
<script src="../../_static/js/index.3da636dd464baa7582d2.js"></script>
<footer class="footer mt-5 mt-md-0">
<div class="container">
<p>
&copy; Copyright .<br/>
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 3.0.4.<br/>
</p>
</div>
</footer>
</body>
</html>