| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_402) on Mon Apr 15 02:02:02 UTC 2024 --> |
| <title>GeneralizedLinearRegressionBase (Spark 3.4.3 JavaDoc)</title> |
| <meta name="date" content="2024-04-15"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="GeneralizedLinearRegressionBase (Spark 3.4.3 JavaDoc)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegression.Tweedie$.html" title="class in org.apache.spark.ml.regression"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionModel.html" title="class in org.apache.spark.ml.regression"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html" target="_top">Frames</a></li> |
| <li><a href="GeneralizedLinearRegressionBase.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.spark.ml.regression</div> |
| <h2 title="Interface GeneralizedLinearRegressionBase" class="title">Interface GeneralizedLinearRegressionBase</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><a href="../../../../../org/apache/spark/ml/param/shared/HasAggregationDepth.html" title="interface in org.apache.spark.ml.param.shared">HasAggregationDepth</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasFeaturesCol.html" title="interface in org.apache.spark.ml.param.shared">HasFeaturesCol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasFitIntercept.html" title="interface in org.apache.spark.ml.param.shared">HasFitIntercept</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasLabelCol.html" title="interface in org.apache.spark.ml.param.shared">HasLabelCol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasMaxIter.html" title="interface in org.apache.spark.ml.param.shared">HasMaxIter</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasPredictionCol.html" title="interface in org.apache.spark.ml.param.shared">HasPredictionCol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasRegParam.html" title="interface in org.apache.spark.ml.param.shared">HasRegParam</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasSolver.html" title="interface in org.apache.spark.ml.param.shared">HasSolver</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasTol.html" title="interface in org.apache.spark.ml.param.shared">HasTol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasWeightCol.html" title="interface in org.apache.spark.ml.param.shared">HasWeightCol</a>, <a href="../../../../../org/apache/spark/ml/util/Identifiable.html" title="interface in org.apache.spark.ml.util">Identifiable</a>, org.apache.spark.internal.Logging, <a href="../../../../../org/apache/spark/ml/param/Params.html" title="interface in org.apache.spark.ml.param">Params</a>, <a href="../../../../../org/apache/spark/ml/PredictorParams.html" title="interface in org.apache.spark.ml">PredictorParams</a>, java.io.Serializable</dd> |
| </dl> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegression.html" title="class in org.apache.spark.ml.regression">GeneralizedLinearRegression</a>, <a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionModel.html" title="class in org.apache.spark.ml.regression">GeneralizedLinearRegressionModel</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">GeneralizedLinearRegressionBase</span> |
| extends <a href="../../../../../org/apache/spark/ml/PredictorParams.html" title="interface in org.apache.spark.ml">PredictorParams</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasFitIntercept.html" title="interface in org.apache.spark.ml.param.shared">HasFitIntercept</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasMaxIter.html" title="interface in org.apache.spark.ml.param.shared">HasMaxIter</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasTol.html" title="interface in org.apache.spark.ml.param.shared">HasTol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasRegParam.html" title="interface in org.apache.spark.ml.param.shared">HasRegParam</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasWeightCol.html" title="interface in org.apache.spark.ml.param.shared">HasWeightCol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasSolver.html" title="interface in org.apache.spark.ml.param.shared">HasSolver</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasAggregationDepth.html" title="interface in org.apache.spark.ml.param.shared">HasAggregationDepth</a>, org.apache.spark.internal.Logging</pre> |
| <div class="block">Params for Generalized Linear Regression.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.spark.internal.Logging"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.spark.internal.Logging</h3> |
| <code>org.apache.spark.internal.Logging.SparkShellLoggingFilter</code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#family--">family</a></span>()</code> |
| <div class="block">Param for the name of family which is a description of the error distribution |
| to be used in the model.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#getFamily--">getFamily</a></span>()</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#getLink--">getLink</a></span>()</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#getLinkPower--">getLinkPower</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#getLinkPredictionCol--">getLinkPredictionCol</a></span>()</code> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#getOffsetCol--">getOffsetCol</a></span>()</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#getVariancePower--">getVariancePower</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#hasLinkPredictionCol--">hasLinkPredictionCol</a></span>()</code> |
| <div class="block">Checks whether we should output link prediction.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#hasOffsetCol--">hasOffsetCol</a></span>()</code> |
| <div class="block">Checks whether offset column is set and nonempty.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#hasWeightCol--">hasWeightCol</a></span>()</code> |
| <div class="block">Checks whether weight column is set and nonempty.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#link--">link</a></span>()</code> |
| <div class="block">Param for the name of link function which provides the relationship |
| between the linear predictor and the mean of the distribution function.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/spark/ml/param/DoubleParam.html" title="class in org.apache.spark.ml.param">DoubleParam</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#linkPower--">linkPower</a></span>()</code> |
| <div class="block">Param for the index in the power link function.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#linkPredictionCol--">linkPredictionCol</a></span>()</code> |
| <div class="block">Param for link prediction (linear predictor) column name.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#offsetCol--">offsetCol</a></span>()</code> |
| <div class="block">Param for offset column name.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#solver--">solver</a></span>()</code> |
| <div class="block">The solver algorithm for optimization.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/spark/sql/types/StructType.html" title="class in org.apache.spark.sql.types">StructType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#validateAndTransformSchema-org.apache.spark.sql.types.StructType-boolean-org.apache.spark.sql.types.DataType-">validateAndTransformSchema</a></span>(<a href="../../../../../org/apache/spark/sql/types/StructType.html" title="class in org.apache.spark.sql.types">StructType</a> schema, |
| boolean fitting, |
| <a href="../../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> featuresDataType)</code> |
| <div class="block">Validates and transforms the input schema with the provided param map.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/spark/ml/param/DoubleParam.html" title="class in org.apache.spark.ml.param">DoubleParam</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html#variancePower--">variancePower</a></span>()</code> |
| <div class="block">Param for the power in the variance function of the Tweedie distribution which provides |
| the relationship between the variance and mean of the distribution.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasLabelCol"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasLabelCol.html" title="interface in org.apache.spark.ml.param.shared">HasLabelCol</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasLabelCol.html#getLabelCol--">getLabelCol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasLabelCol.html#labelCol--">labelCol</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasFeaturesCol"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasFeaturesCol.html" title="interface in org.apache.spark.ml.param.shared">HasFeaturesCol</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasFeaturesCol.html#featuresCol--">featuresCol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasFeaturesCol.html#getFeaturesCol--">getFeaturesCol</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasPredictionCol"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasPredictionCol.html" title="interface in org.apache.spark.ml.param.shared">HasPredictionCol</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasPredictionCol.html#getPredictionCol--">getPredictionCol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasPredictionCol.html#predictionCol--">predictionCol</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.Params"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.<a href="../../../../../org/apache/spark/ml/param/Params.html" title="interface in org.apache.spark.ml.param">Params</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/Params.html#clear-org.apache.spark.ml.param.Param-">clear</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#copy-org.apache.spark.ml.param.ParamMap-">copy</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#copyValues-T-org.apache.spark.ml.param.ParamMap-">copyValues</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#defaultCopy-org.apache.spark.ml.param.ParamMap-">defaultCopy</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#defaultParamMap--">defaultParamMap</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#explainParam-org.apache.spark.ml.param.Param-">explainParam</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#explainParams--">explainParams</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#extractParamMap--">extractParamMap</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#extractParamMap-org.apache.spark.ml.param.ParamMap-">extractParamMap</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#get-org.apache.spark.ml.param.Param-">get</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#getDefault-org.apache.spark.ml.param.Param-">getDefault</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#getOrDefault-org.apache.spark.ml.param.Param-">getOrDefault</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#getParam-java.lang.String-">getParam</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#hasDefault-org.apache.spark.ml.param.Param-">hasDefault</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#hasParam-java.lang.String-">hasParam</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#isDefined-org.apache.spark.ml.param.Param-">isDefined</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#isSet-org.apache.spark.ml.param.Param-">isSet</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#onParamChange-org.apache.spark.ml.param.Param-">onParamChange</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#paramMap--">paramMap</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#params--">params</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#set-org.apache.spark.ml.param.Param-T-">set</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#set-org.apache.spark.ml.param.ParamPair-">set</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#set-java.lang.String-java.lang.Object-">set</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#setDefault-org.apache.spark.ml.param.Param-T-">setDefault</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#setDefault-scala.collection.Seq-">setDefault</a>, <a href="../../../../../org/apache/spark/ml/param/Params.html#shouldOwn-org.apache.spark.ml.param.Param-">shouldOwn</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.util.Identifiable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.util.<a href="../../../../../org/apache/spark/ml/util/Identifiable.html" title="interface in org.apache.spark.ml.util">Identifiable</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/util/Identifiable.html#toString--">toString</a>, <a href="../../../../../org/apache/spark/ml/util/Identifiable.html#uid--">uid</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasFitIntercept"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasFitIntercept.html" title="interface in org.apache.spark.ml.param.shared">HasFitIntercept</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasFitIntercept.html#fitIntercept--">fitIntercept</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasFitIntercept.html#getFitIntercept--">getFitIntercept</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasMaxIter"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasMaxIter.html" title="interface in org.apache.spark.ml.param.shared">HasMaxIter</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasMaxIter.html#getMaxIter--">getMaxIter</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasMaxIter.html#maxIter--">maxIter</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasTol"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasTol.html" title="interface in org.apache.spark.ml.param.shared">HasTol</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasTol.html#getTol--">getTol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasTol.html#tol--">tol</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasRegParam"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasRegParam.html" title="interface in org.apache.spark.ml.param.shared">HasRegParam</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasRegParam.html#getRegParam--">getRegParam</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasRegParam.html#regParam--">regParam</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasWeightCol"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasWeightCol.html" title="interface in org.apache.spark.ml.param.shared">HasWeightCol</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasWeightCol.html#getWeightCol--">getWeightCol</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasWeightCol.html#weightCol--">weightCol</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasSolver"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasSolver.html" title="interface in org.apache.spark.ml.param.shared">HasSolver</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasSolver.html#getSolver--">getSolver</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.ml.param.shared.HasAggregationDepth"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.ml.param.shared.<a href="../../../../../org/apache/spark/ml/param/shared/HasAggregationDepth.html" title="interface in org.apache.spark.ml.param.shared">HasAggregationDepth</a></h3> |
| <code><a href="../../../../../org/apache/spark/ml/param/shared/HasAggregationDepth.html#aggregationDepth--">aggregationDepth</a>, <a href="../../../../../org/apache/spark/ml/param/shared/HasAggregationDepth.html#getAggregationDepth--">getAggregationDepth</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.internal.Logging"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.spark.internal.Logging</h3> |
| <code>$init$, initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, initLock, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$internal$Logging$$log_, uninitialize</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="family--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>family</h4> |
| <pre><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String> family()</pre> |
| <div class="block">Param for the name of family which is a description of the error distribution |
| to be used in the model. |
| Supported options: "gaussian", "binomial", "poisson", "gamma" and "tweedie". |
| Default is "gaussian". |
| <p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>(undocumented)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamily--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamily</h4> |
| <pre>String getFamily()</pre> |
| </li> |
| </ul> |
| <a name="getLink--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLink</h4> |
| <pre>String getLink()</pre> |
| </li> |
| </ul> |
| <a name="getLinkPower--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLinkPower</h4> |
| <pre>double getLinkPower()</pre> |
| </li> |
| </ul> |
| <a name="getLinkPredictionCol--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLinkPredictionCol</h4> |
| <pre>String getLinkPredictionCol()</pre> |
| </li> |
| </ul> |
| <a name="getOffsetCol--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOffsetCol</h4> |
| <pre>String getOffsetCol()</pre> |
| </li> |
| </ul> |
| <a name="getVariancePower--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVariancePower</h4> |
| <pre>double getVariancePower()</pre> |
| </li> |
| </ul> |
| <a name="hasLinkPredictionCol--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasLinkPredictionCol</h4> |
| <pre>boolean hasLinkPredictionCol()</pre> |
| <div class="block">Checks whether we should output link prediction.</div> |
| </li> |
| </ul> |
| <a name="hasOffsetCol--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasOffsetCol</h4> |
| <pre>boolean hasOffsetCol()</pre> |
| <div class="block">Checks whether offset column is set and nonempty.</div> |
| </li> |
| </ul> |
| <a name="hasWeightCol--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasWeightCol</h4> |
| <pre>boolean hasWeightCol()</pre> |
| <div class="block">Checks whether weight column is set and nonempty.</div> |
| </li> |
| </ul> |
| <a name="link--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>link</h4> |
| <pre><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String> link()</pre> |
| <div class="block">Param for the name of link function which provides the relationship |
| between the linear predictor and the mean of the distribution function. |
| Supported options: "identity", "log", "inverse", "logit", "probit", "cloglog" and "sqrt". |
| This is used only when family is not "tweedie". The link function for the "tweedie" family |
| must be specified through <code>linkPower</code>. |
| <p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>(undocumented)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="linkPower--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>linkPower</h4> |
| <pre><a href="../../../../../org/apache/spark/ml/param/DoubleParam.html" title="class in org.apache.spark.ml.param">DoubleParam</a> linkPower()</pre> |
| <div class="block">Param for the index in the power link function. Only applicable to the Tweedie family. |
| Note that link power 0, 1, -1 or 0.5 corresponds to the Log, Identity, Inverse or Sqrt |
| link, respectively. |
| When not set, this value defaults to 1 - <code>variancePower</code>, which matches the R "statmod" |
| package. |
| <p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>(undocumented)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="linkPredictionCol--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>linkPredictionCol</h4> |
| <pre><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String> linkPredictionCol()</pre> |
| <div class="block">Param for link prediction (linear predictor) column name. |
| Default is not set, which means we do not output link prediction. |
| <p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>(undocumented)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="offsetCol--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offsetCol</h4> |
| <pre><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String> offsetCol()</pre> |
| <div class="block">Param for offset column name. If this is not set or empty, we treat all instance offsets |
| as 0.0. The feature specified as offset has a constant coefficient of 1.0. |
| <p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>(undocumented)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="solver--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>solver</h4> |
| <pre><a href="../../../../../org/apache/spark/ml/param/Param.html" title="class in org.apache.spark.ml.param">Param</a><String> solver()</pre> |
| <div class="block">The solver algorithm for optimization. |
| Supported options: "irls" (iteratively reweighted least squares). |
| Default: "irls" |
| <p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/spark/ml/param/shared/HasSolver.html#solver--">solver</a></code> in interface <code><a href="../../../../../org/apache/spark/ml/param/shared/HasSolver.html" title="interface in org.apache.spark.ml.param.shared">HasSolver</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>(undocumented)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="validateAndTransformSchema-org.apache.spark.sql.types.StructType-boolean-org.apache.spark.sql.types.DataType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>validateAndTransformSchema</h4> |
| <pre><a href="../../../../../org/apache/spark/sql/types/StructType.html" title="class in org.apache.spark.sql.types">StructType</a> validateAndTransformSchema(<a href="../../../../../org/apache/spark/sql/types/StructType.html" title="class in org.apache.spark.sql.types">StructType</a> schema, |
| boolean fitting, |
| <a href="../../../../../org/apache/spark/sql/types/DataType.html" title="class in org.apache.spark.sql.types">DataType</a> featuresDataType)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/spark/ml/PredictorParams.html#validateAndTransformSchema-org.apache.spark.sql.types.StructType-boolean-org.apache.spark.sql.types.DataType-">PredictorParams</a></code></span></div> |
| <div class="block">Validates and transforms the input schema with the provided param map. |
| <p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/spark/ml/PredictorParams.html#validateAndTransformSchema-org.apache.spark.sql.types.StructType-boolean-org.apache.spark.sql.types.DataType-">validateAndTransformSchema</a></code> in interface <code><a href="../../../../../org/apache/spark/ml/PredictorParams.html" title="interface in org.apache.spark.ml">PredictorParams</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>schema</code> - input schema</dd> |
| <dd><code>fitting</code> - whether this is in fitting</dd> |
| <dd><code>featuresDataType</code> - SQL DataType for FeaturesType. |
| E.g., <code>VectorUDT</code> for vector features.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>output schema</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="variancePower--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>variancePower</h4> |
| <pre><a href="../../../../../org/apache/spark/ml/param/DoubleParam.html" title="class in org.apache.spark.ml.param">DoubleParam</a> variancePower()</pre> |
| <div class="block">Param for the power in the variance function of the Tweedie distribution which provides |
| the relationship between the variance and mean of the distribution. |
| Only applicable to the Tweedie family. |
| (see <a href="https://en.wikipedia.org/wiki/Tweedie_distribution"> |
| Tweedie Distribution (Wikipedia)</a>) |
| Supported values: 0 and [1, Inf). |
| Note that variance power 0, 1, or 2 corresponds to the Gaussian, Poisson or Gamma |
| family, respectively. |
| <p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>(undocumented)</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegression.Tweedie$.html" title="class in org.apache.spark.ml.regression"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/spark/ml/regression/GeneralizedLinearRegressionModel.html" title="class in org.apache.spark.ml.regression"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/spark/ml/regression/GeneralizedLinearRegressionBase.html" target="_top">Frames</a></li> |
| <li><a href="GeneralizedLinearRegressionBase.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <script defer="defer" type="text/javascript" src="../../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../../lib/api-javadocs.js"></script></body> |
| </html> |