[SPARK-23946] Fix 2.3.0 ScalaDocs are linked to the wrong source code
[spark-website.git] / site / docs / 2.3.0 / api / scala / org / apache / spark / ml / feature / RFormulaModel.html
1 <!DOCTYPE html >
2 <html>
3 <head>
4 <title>RFormulaModel - Spark 2.3.0 ScalaDoc - org.apache.spark.ml.feature.RFormulaModel</title>
5 <meta name="description" content="RFormulaModel - Spark 2.3.0 ScalaDoc - org.apache.spark.ml.feature.RFormulaModel" />
6 <meta name="keywords" content="RFormulaModel Spark 2.3.0 ScalaDoc org.apache.spark.ml.feature.RFormulaModel" />
7 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
9 <link href="../../../../../lib/template.css" media="screen" type="text/css" rel="stylesheet" />
10 <link href="../../../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css" />
11 <script type="text/javascript" src="../../../../../lib/jquery.js" id="jquery-js"></script>
12 <script type="text/javascript" src="../../../../../lib/jquery-ui.js"></script>
13 <script type="text/javascript" src="../../../../../lib/template.js"></script>
14 <script type="text/javascript" src="../../../../../lib/tools.tooltip.js"></script>
15
16 <script type="text/javascript">
17 if(top === self) {
18 var url = '../../../../../index.html';
19 var hash = 'org.apache.spark.ml.feature.RFormulaModel';
20 var anchor = window.location.hash;
21 var anchor_opt = '';
22 if (anchor.length >= 1)
23 anchor_opt = '@' + anchor.substring(1);
24 window.location.href = url + '#' + hash + anchor_opt;
25 }
26 </script>
27
28 </head>
29 <body class="type">
30 <div id="definition">
31 <a href="RFormulaModel$.html" title="See companion object"><img alt="Class/Object" src="../../../../../lib/class_to_object_big.png" /></a>
32 <p id="owner"><a href="../../../../package.html" class="extype" name="org">org</a>.<a href="../../../package.html" class="extype" name="org.apache">apache</a>.<a href="../../package.html" class="extype" name="org.apache.spark">spark</a>.<a href="../package.html" class="extype" name="org.apache.spark.ml">ml</a>.<a href="package.html" class="extype" name="org.apache.spark.ml.feature">feature</a></p>
33 <h1><a href="RFormulaModel$.html" title="See companion object">RFormulaModel</a></h1><h3><span class="morelinks"><div>
34 Related Docs:
35 <a href="RFormulaModel$.html" title="See companion object">object RFormulaModel</a>
36 | <a href="package.html" class="extype" name="org.apache.spark.ml.feature">package feature</a>
37 </div></span></h3><span class="permalink">
38 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel" title="Permalink" target="_top">
39 <img src="../../../../../lib/permalink.png" alt="Permalink" />
40 </a>
41 </span>
42 </div>
43
44 <h4 id="signature" class="signature">
45 <span class="modifier_kind">
46 <span class="modifier"></span>
47 <span class="kind">class</span>
48 </span>
49 <span class="symbol">
50 <span class="name">RFormulaModel</span><span class="result"> extends <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>] with <span class="extype" name="org.apache.spark.ml.feature.RFormulaBase">RFormulaBase</span> with <a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a></span>
51 </span>
52 </h4>
53
54 <div id="comment" class="fullcommenttop"><div class="comment cmt"><p>:: Experimental ::
55 Model fitted by <a href="RFormula.html" class="extype" name="org.apache.spark.ml.feature.RFormula">RFormula</a>. Fitting is required to determine the factor levels of
56 formula terms.
57 </p></div><dl class="attributes block"> <dt>Annotations</dt><dd>
58 <span class="name">@Experimental</span><span class="args">()</span>
59
60 <span class="name">@Since</span><span class="args">(<span>
61
62 <span class="symbol">&quot;1.5.0&quot;</span>
63 </span>)</span>
64
65 </dd><dt>Source</dt><dd><a href="https://github.com/apache/spark/tree/v2.3.0/mllib/src/main/scala/org/apache/spark/ml/feature/RFormula.scala" target="_blank">RFormula.scala</a></dd></dl><div class="toggleContainer block">
66 <span class="toggle">Linear Supertypes</span>
67 <div class="superTypes hiddenContent"><a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a>, <span class="extype" name="org.apache.spark.ml.feature.RFormulaBase">RFormulaBase</span>, <a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a>, <a href="../param/shared/HasLabelCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasLabelCol">HasLabelCol</a>, <a href="../param/shared/HasFeaturesCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasFeaturesCol">HasFeaturesCol</a>, <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>], <a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a>, <a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a>, <a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a>, <a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a>, <span class="extype" name="scala.Serializable">Serializable</span>, <span class="extype" name="java.io.Serializable">Serializable</span>, <a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a>, <span class="extype" name="scala.AnyRef">AnyRef</span>, <span class="extype" name="scala.Any">Any</span></div>
68 </div></div>
69
70
71 <div id="mbrsel">
72 <div id="textfilter"><span class="pre"></span><span class="input"><input id="mbrsel-input" type="text" accesskey="/" /></span><span class="post"></span></div>
73 <div id="order">
74 <span class="filtertype">Ordering</span>
75 <ol>
76 <li class="group out"><span>Grouped</span></li>
77 <li class="alpha in"><span>Alphabetic</span></li>
78 <li class="inherit out"><span>By Inheritance</span></li>
79 </ol>
80 </div>
81 <div id="ancestors">
82 <span class="filtertype">Inherited<br />
83 </span>
84 <ol id="linearization">
85 <li class="in" name="org.apache.spark.ml.feature.RFormulaModel"><span>RFormulaModel</span></li><li class="in" name="org.apache.spark.ml.util.MLWritable"><span>MLWritable</span></li><li class="in" name="org.apache.spark.ml.feature.RFormulaBase"><span>RFormulaBase</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasHandleInvalid"><span>HasHandleInvalid</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasLabelCol"><span>HasLabelCol</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasFeaturesCol"><span>HasFeaturesCol</span></li><li class="in" name="org.apache.spark.ml.Model"><span>Model</span></li><li class="in" name="org.apache.spark.ml.Transformer"><span>Transformer</span></li><li class="in" name="org.apache.spark.ml.PipelineStage"><span>PipelineStage</span></li><li class="in" name="org.apache.spark.internal.Logging"><span>Logging</span></li><li class="in" name="org.apache.spark.ml.param.Params"><span>Params</span></li><li class="in" name="scala.Serializable"><span>Serializable</span></li><li class="in" name="java.io.Serializable"><span>Serializable</span></li><li class="in" name="org.apache.spark.ml.util.Identifiable"><span>Identifiable</span></li><li class="in" name="scala.AnyRef"><span>AnyRef</span></li><li class="in" name="scala.Any"><span>Any</span></li>
86 </ol>
87 </div><div id="ancestors">
88 <span class="filtertype"></span>
89 <ol>
90 <li class="hideall out"><span>Hide All</span></li>
91 <li class="showall in"><span>Show All</span></li>
92 </ol>
93 </div>
94 <div id="visbl">
95 <span class="filtertype">Visibility</span>
96 <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol>
97 </div>
98 </div>
99
100 <div id="template">
101 <div id="allMembers">
102
103
104
105
106
107
108 <div id="values" class="values members">
109 <h3>Value Members</h3>
110 <ol><li name="scala.AnyRef#!=" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
111 <a id="!=(x$1:Any):Boolean"></a>
112 <a id="!=(Any):Boolean"></a>
113 <h4 class="signature">
114 <span class="modifier_kind">
115 <span class="modifier">final </span>
116 <span class="kind">def</span>
117 </span>
118 <span class="symbol">
119 <span title="gt4s: $bang$eq" class="name">!=</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
120 </span>
121 </h4><span class="permalink">
122 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@!=(x$1:Any):Boolean" title="Permalink" target="_top">
123 <img src="../../../../../lib/permalink.png" alt="Permalink" />
124 </a>
125 </span>
126 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
127 </li><li name="scala.AnyRef###" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
128 <a id="##():Int"></a>
129 <a id="##():Int"></a>
130 <h4 class="signature">
131 <span class="modifier_kind">
132 <span class="modifier">final </span>
133 <span class="kind">def</span>
134 </span>
135 <span class="symbol">
136 <span title="gt4s: $hash$hash" class="name">##</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
137 </span>
138 </h4><span class="permalink">
139 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@##():Int" title="Permalink" target="_top">
140 <img src="../../../../../lib/permalink.png" alt="Permalink" />
141 </a>
142 </span>
143 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
144 </li><li name="org.apache.spark.ml.param.Params#$" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
145 <a id="$[T](param:org.apache.spark.ml.param.Param[T]):T"></a>
146 <a id="$[T](Param[T]):T"></a>
147 <h4 class="signature">
148 <span class="modifier_kind">
149 <span class="modifier">final </span>
150 <span class="kind">def</span>
151 </span>
152 <span class="symbol">
153 <span class="name">$</span><span class="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="org.apache.spark.ml.param.Params.$.T">T</span>]</span>)</span><span class="result">: <span class="extype" name="org.apache.spark.ml.param.Params.$.T">T</span></span>
154 </span>
155 </h4><span class="permalink">
156 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@$[T](param:org.apache.spark.ml.param.Param[T]):T" title="Permalink" target="_top">
157 <img src="../../../../../lib/permalink.png" alt="Permalink" />
158 </a>
159 </span>
160 <p class="shortcomment cmt">An alias for <code>getOrDefault()</code>.</p><div class="fullcomment"><div class="comment cmt"><p>An alias for <code>getOrDefault()</code>.
161 </p></div><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
162 </li><li name="scala.AnyRef#==" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
163 <a id="==(x$1:Any):Boolean"></a>
164 <a id="==(Any):Boolean"></a>
165 <h4 class="signature">
166 <span class="modifier_kind">
167 <span class="modifier">final </span>
168 <span class="kind">def</span>
169 </span>
170 <span class="symbol">
171 <span title="gt4s: $eq$eq" class="name">==</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
172 </span>
173 </h4><span class="permalink">
174 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@==(x$1:Any):Boolean" title="Permalink" target="_top">
175 <img src="../../../../../lib/permalink.png" alt="Permalink" />
176 </a>
177 </span>
178 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
179 </li><li name="scala.Any#asInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
180 <a id="asInstanceOf[T0]:T0"></a>
181 <a id="asInstanceOf[T0]:T0"></a>
182 <h4 class="signature">
183 <span class="modifier_kind">
184 <span class="modifier">final </span>
185 <span class="kind">def</span>
186 </span>
187 <span class="symbol">
188 <span class="name">asInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Any.asInstanceOf.T0">T0</span></span>
189 </span>
190 </h4><span class="permalink">
191 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@asInstanceOf[T0]:T0" title="Permalink" target="_top">
192 <img src="../../../../../lib/permalink.png" alt="Permalink" />
193 </a>
194 </span>
195 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
196 </li><li name="org.apache.spark.ml.param.Params#clear" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
197 <a id="clear(param:org.apache.spark.ml.param.Param[_]):Params.this.type"></a>
198 <a id="clear(Param[_]):RFormulaModel.this.type"></a>
199 <h4 class="signature">
200 <span class="modifier_kind">
201 <span class="modifier">final </span>
202 <span class="kind">def</span>
203 </span>
204 <span class="symbol">
205 <span class="name">clear</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[_]</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span>
206 </span>
207 </h4><span class="permalink">
208 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@clear(param:org.apache.spark.ml.param.Param[_]):Params.this.type" title="Permalink" target="_top">
209 <img src="../../../../../lib/permalink.png" alt="Permalink" />
210 </a>
211 </span>
212 <p class="shortcomment cmt">Clears the user-supplied value for the input param.</p><div class="fullcomment"><div class="comment cmt"><p>Clears the user-supplied value for the input param.
213 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
214 </li><li name="scala.AnyRef#clone" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
215 <a id="clone():Object"></a>
216 <a id="clone():AnyRef"></a>
217 <h4 class="signature">
218 <span class="modifier_kind">
219 <span class="modifier"></span>
220 <span class="kind">def</span>
221 </span>
222 <span class="symbol">
223 <span class="name">clone</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.AnyRef">AnyRef</span></span>
224 </span>
225 </h4><span class="permalink">
226 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@clone():Object" title="Permalink" target="_top">
227 <img src="../../../../../lib/permalink.png" alt="Permalink" />
228 </a>
229 </span>
230 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a href="../../../../../java$lang.html" class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
231 <span class="name">@throws</span><span class="args">(<span>
232
233 <span class="defval" name="classOf[java.lang.CloneNotSupportedException]">...</span>
234 </span>)</span>
235
236 </dd></dl></div>
237 </li><li name="org.apache.spark.ml.feature.RFormulaModel#copy" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
238 <a id="copy(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.feature.RFormulaModel"></a>
239 <a id="copy(ParamMap):RFormulaModel"></a>
240 <h4 class="signature">
241 <span class="modifier_kind">
242 <span class="modifier"></span>
243 <span class="kind">def</span>
244 </span>
245 <span class="symbol">
246 <span class="name">copy</span><span class="params">(<span name="extra">extra: <a href="../param/ParamMap.html" class="extype" name="org.apache.spark.ml.param.ParamMap">ParamMap</a></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a></span>
247 </span>
248 </h4><span class="permalink">
249 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@copy(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.feature.RFormulaModel" title="Permalink" target="_top">
250 <img src="../../../../../lib/permalink.png" alt="Permalink" />
251 </a>
252 </span>
253 <p class="shortcomment cmt">Creates a copy of this instance with the same UID and some extra params.</p><div class="fullcomment"><div class="comment cmt"><p>Creates a copy of this instance with the same UID and some extra params.
254 Subclasses should implement this method and set the return type properly.
255 See <code>defaultCopy()</code>.
256 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a><a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a><a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a><a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd><dt>Annotations</dt><dd>
257 <span class="name">@Since</span><span class="args">(<span>
258
259 <span class="symbol">&quot;1.5.0&quot;</span>
260 </span>)</span>
261
262 </dd></dl></div>
263 </li><li name="org.apache.spark.ml.param.Params#copyValues" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
264 <a id="copyValues[T&lt;:org.apache.spark.ml.param.Params](to:T,extra:org.apache.spark.ml.param.ParamMap):T"></a>
265 <a id="copyValues[T&lt;:Params](T,ParamMap):T"></a>
266 <h4 class="signature">
267 <span class="modifier_kind">
268 <span class="modifier"></span>
269 <span class="kind">def</span>
270 </span>
271 <span class="symbol">
272 <span class="name">copyValues</span><span class="tparams">[<span name="T">T &lt;: <a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></span>]</span><span class="params">(<span name="to">to: <span class="extype" name="org.apache.spark.ml.param.Params.copyValues.T">T</span></span>, <span name="extra">extra: <a href="../param/ParamMap.html" class="extype" name="org.apache.spark.ml.param.ParamMap">ParamMap</a> = <span class="symbol"><span class="name"><a href="../param/ParamMap$.html">ParamMap.empty</a></span></span></span>)</span><span class="result">: <span class="extype" name="org.apache.spark.ml.param.Params.copyValues.T">T</span></span>
273 </span>
274 </h4><span class="permalink">
275 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@copyValues[T&lt;:org.apache.spark.ml.param.Params](to:T,extra:org.apache.spark.ml.param.ParamMap):T" title="Permalink" target="_top">
276 <img src="../../../../../lib/permalink.png" alt="Permalink" />
277 </a>
278 </span>
279 <p class="shortcomment cmt">Copies param values from this instance to another instance for params shared by them.</p><div class="fullcomment"><div class="comment cmt"><p>Copies param values from this instance to another instance for params shared by them.</p><p>This handles default Params and explicitly set Params separately.
280 Default Params are copied from and to <code>defaultParamMap</code>, and explicitly set Params are
281 copied from and to <code>paramMap</code>.
282 Warning: This implicitly assumes that this <a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a> instance and the target instance
283 share the same set of default Params.
284 </p></div><dl class="paramcmts block"><dt class="param">to</dt><dd class="cmt"><p>the target instance, which should work with the same set of default Params as this
285 source instance</p></dd><dt class="param">extra</dt><dd class="cmt"><p>extra params to be copied to the target's <code>paramMap</code></p></dd><dt>returns</dt><dd class="cmt"><p>the target instance with param values copied</p></dd></dl><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
286 </li><li name="org.apache.spark.ml.param.Params#defaultCopy" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
287 <a id="defaultCopy[T&lt;:org.apache.spark.ml.param.Params](extra:org.apache.spark.ml.param.ParamMap):T"></a>
288 <a id="defaultCopy[T&lt;:Params](ParamMap):T"></a>
289 <h4 class="signature">
290 <span class="modifier_kind">
291 <span class="modifier">final </span>
292 <span class="kind">def</span>
293 </span>
294 <span class="symbol">
295 <span class="name">defaultCopy</span><span class="tparams">[<span name="T">T &lt;: <a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></span>]</span><span class="params">(<span name="extra">extra: <a href="../param/ParamMap.html" class="extype" name="org.apache.spark.ml.param.ParamMap">ParamMap</a></span>)</span><span class="result">: <span class="extype" name="org.apache.spark.ml.param.Params.defaultCopy.T">T</span></span>
296 </span>
297 </h4><span class="permalink">
298 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@defaultCopy[T&lt;:org.apache.spark.ml.param.Params](extra:org.apache.spark.ml.param.ParamMap):T" title="Permalink" target="_top">
299 <img src="../../../../../lib/permalink.png" alt="Permalink" />
300 </a>
301 </span>
302 <p class="shortcomment cmt">Default implementation of copy with extra params.</p><div class="fullcomment"><div class="comment cmt"><p>Default implementation of copy with extra params.
303 It tries to create a new instance with the same UID.
304 Then it copies the embedded and extra parameters over and returns the new instance.
305 </p></div><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
306 </li><li name="scala.AnyRef#eq" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
307 <a id="eq(x$1:AnyRef):Boolean"></a>
308 <a id="eq(AnyRef):Boolean"></a>
309 <h4 class="signature">
310 <span class="modifier_kind">
311 <span class="modifier">final </span>
312 <span class="kind">def</span>
313 </span>
314 <span class="symbol">
315 <span class="name">eq</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
316 </span>
317 </h4><span class="permalink">
318 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@eq(x$1:AnyRef):Boolean" title="Permalink" target="_top">
319 <img src="../../../../../lib/permalink.png" alt="Permalink" />
320 </a>
321 </span>
322 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
323 </li><li name="scala.AnyRef#equals" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
324 <a id="equals(x$1:Any):Boolean"></a>
325 <a id="equals(Any):Boolean"></a>
326 <h4 class="signature">
327 <span class="modifier_kind">
328 <span class="modifier"></span>
329 <span class="kind">def</span>
330 </span>
331 <span class="symbol">
332 <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
333 </span>
334 </h4><span class="permalink">
335 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@equals(x$1:Any):Boolean" title="Permalink" target="_top">
336 <img src="../../../../../lib/permalink.png" alt="Permalink" />
337 </a>
338 </span>
339 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
340 </li><li name="org.apache.spark.ml.param.Params#explainParam" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
341 <a id="explainParam(param:org.apache.spark.ml.param.Param[_]):String"></a>
342 <a id="explainParam(Param[_]):String"></a>
343 <h4 class="signature">
344 <span class="modifier_kind">
345 <span class="modifier"></span>
346 <span class="kind">def</span>
347 </span>
348 <span class="symbol">
349 <span class="name">explainParam</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[_]</span>)</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
350 </span>
351 </h4><span class="permalink">
352 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@explainParam(param:org.apache.spark.ml.param.Param[_]):String" title="Permalink" target="_top">
353 <img src="../../../../../lib/permalink.png" alt="Permalink" />
354 </a>
355 </span>
356 <p class="shortcomment cmt">Explains a param.</p><div class="fullcomment"><div class="comment cmt"><p>Explains a param.</p></div><dl class="paramcmts block"><dt class="param">param</dt><dd class="cmt"><p>input param, must belong to this instance.</p></dd><dt>returns</dt><dd class="cmt"><p>a string that contains the input param name, doc, and optionally its default value and
357 the user-supplied value</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
358 </li><li name="org.apache.spark.ml.param.Params#explainParams" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
359 <a id="explainParams():String"></a>
360 <a id="explainParams():String"></a>
361 <h4 class="signature">
362 <span class="modifier_kind">
363 <span class="modifier"></span>
364 <span class="kind">def</span>
365 </span>
366 <span class="symbol">
367 <span class="name">explainParams</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
368 </span>
369 </h4><span class="permalink">
370 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@explainParams():String" title="Permalink" target="_top">
371 <img src="../../../../../lib/permalink.png" alt="Permalink" />
372 </a>
373 </span>
374 <p class="shortcomment cmt">Explains all params of this instance.</p><div class="fullcomment"><div class="comment cmt"><p>Explains all params of this instance. See <code>explainParam()</code>.
375 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
376 </li><li name="org.apache.spark.ml.param.Params#extractParamMap" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
377 <a id="extractParamMap():org.apache.spark.ml.param.ParamMap"></a>
378 <a id="extractParamMap():ParamMap"></a>
379 <h4 class="signature">
380 <span class="modifier_kind">
381 <span class="modifier">final </span>
382 <span class="kind">def</span>
383 </span>
384 <span class="symbol">
385 <span class="name">extractParamMap</span><span class="params">()</span><span class="result">: <a href="../param/ParamMap.html" class="extype" name="org.apache.spark.ml.param.ParamMap">ParamMap</a></span>
386 </span>
387 </h4><span class="permalink">
388 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@extractParamMap():org.apache.spark.ml.param.ParamMap" title="Permalink" target="_top">
389 <img src="../../../../../lib/permalink.png" alt="Permalink" />
390 </a>
391 </span>
392 <p class="shortcomment cmt"><code>extractParamMap</code> with no extra values.</p><div class="fullcomment"><div class="comment cmt"><p><code>extractParamMap</code> with no extra values.
393 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
394 </li><li name="org.apache.spark.ml.param.Params#extractParamMap" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
395 <a id="extractParamMap(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.param.ParamMap"></a>
396 <a id="extractParamMap(ParamMap):ParamMap"></a>
397 <h4 class="signature">
398 <span class="modifier_kind">
399 <span class="modifier">final </span>
400 <span class="kind">def</span>
401 </span>
402 <span class="symbol">
403 <span class="name">extractParamMap</span><span class="params">(<span name="extra">extra: <a href="../param/ParamMap.html" class="extype" name="org.apache.spark.ml.param.ParamMap">ParamMap</a></span>)</span><span class="result">: <a href="../param/ParamMap.html" class="extype" name="org.apache.spark.ml.param.ParamMap">ParamMap</a></span>
404 </span>
405 </h4><span class="permalink">
406 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@extractParamMap(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.param.ParamMap" title="Permalink" target="_top">
407 <img src="../../../../../lib/permalink.png" alt="Permalink" />
408 </a>
409 </span>
410 <p class="shortcomment cmt">Extracts the embedded default param values and user-supplied values, and then merges them with
411 extra values from input into a flat param map, where the latter value is used if there exist
412 conflicts, i.e., with ordering:
413 default param values less than user-supplied values less than extra.</p><div class="fullcomment"><div class="comment cmt"><p>Extracts the embedded default param values and user-supplied values, and then merges them with
414 extra values from input into a flat param map, where the latter value is used if there exist
415 conflicts, i.e., with ordering:
416 default param values less than user-supplied values less than extra.
417 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
418 </li><li name="org.apache.spark.ml.param.shared.HasFeaturesCol#featuresCol" visbl="pub" data-isabs="false" fullComment="yes" group="param">
419 <a id="featuresCol:org.apache.spark.ml.param.Param[String]"></a>
420 <a id="featuresCol:Param[String]"></a>
421 <h4 class="signature">
422 <span class="modifier_kind">
423 <span class="modifier">final </span>
424 <span class="kind">val</span>
425 </span>
426 <span class="symbol">
427 <span class="name">featuresCol</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Predef.String">String</span>]</span>
428 </span>
429 </h4><span class="permalink">
430 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@featuresCol:org.apache.spark.ml.param.Param[String]" title="Permalink" target="_top">
431 <img src="../../../../../lib/permalink.png" alt="Permalink" />
432 </a>
433 </span>
434 <p class="shortcomment cmt">Param for features column name.</p><div class="fullcomment"><div class="comment cmt"><p>Param for features column name.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasFeaturesCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasFeaturesCol">HasFeaturesCol</a></dd></dl></div>
435 </li><li name="scala.AnyRef#finalize" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
436 <a id="finalize():Unit"></a>
437 <a id="finalize():Unit"></a>
438 <h4 class="signature">
439 <span class="modifier_kind">
440 <span class="modifier"></span>
441 <span class="kind">def</span>
442 </span>
443 <span class="symbol">
444 <span class="name">finalize</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
445 </span>
446 </h4><span class="permalink">
447 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@finalize():Unit" title="Permalink" target="_top">
448 <img src="../../../../../lib/permalink.png" alt="Permalink" />
449 </a>
450 </span>
451 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a href="../../../../../java$lang.html" class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
452 <span class="name">@throws</span><span class="args">(<span>
453
454 <span class="symbol">classOf[java.lang.Throwable]</span>
455 </span>)</span>
456
457 </dd></dl></div>
458 </li><li name="org.apache.spark.ml.feature.RFormulaBase#forceIndexLabel" visbl="pub" data-isabs="false" fullComment="yes" group="param">
459 <a id="forceIndexLabel:org.apache.spark.ml.param.BooleanParam"></a>
460 <a id="forceIndexLabel:BooleanParam"></a>
461 <h4 class="signature">
462 <span class="modifier_kind">
463 <span class="modifier"></span>
464 <span class="kind">val</span>
465 </span>
466 <span class="symbol">
467 <span class="name">forceIndexLabel</span><span class="result">: <a href="../param/BooleanParam.html" class="extype" name="org.apache.spark.ml.param.BooleanParam">BooleanParam</a></span>
468 </span>
469 </h4><span class="permalink">
470 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@forceIndexLabel:org.apache.spark.ml.param.BooleanParam" title="Permalink" target="_top">
471 <img src="../../../../../lib/permalink.png" alt="Permalink" />
472 </a>
473 </span>
474 <p class="shortcomment cmt">Force to index label whether it is numeric or string type.</p><div class="fullcomment"><div class="comment cmt"><p>Force to index label whether it is numeric or string type.
475 Usually we index label only when it is string type.
476 If the formula was used by classification algorithms,
477 we can force to index label even it is numeric type by setting this param with true.
478 Default: false.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd>
479 <span class="name">@Since</span><span class="args">(<span>
480
481 <span class="symbol">&quot;2.1.0&quot;</span>
482 </span>)</span>
483
484 </dd></dl></div>
485 </li><li name="org.apache.spark.ml.feature.RFormulaBase#formula" visbl="pub" data-isabs="false" fullComment="yes" group="param">
486 <a id="formula:org.apache.spark.ml.param.Param[String]"></a>
487 <a id="formula:Param[String]"></a>
488 <h4 class="signature">
489 <span class="modifier_kind">
490 <span class="modifier"></span>
491 <span class="kind">val</span>
492 </span>
493 <span class="symbol">
494 <span class="name">formula</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Predef.String">String</span>]</span>
495 </span>
496 </h4><span class="permalink">
497 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@formula:org.apache.spark.ml.param.Param[String]" title="Permalink" target="_top">
498 <img src="../../../../../lib/permalink.png" alt="Permalink" />
499 </a>
500 </span>
501 <p class="shortcomment cmt">R formula parameter.</p><div class="fullcomment"><div class="comment cmt"><p>R formula parameter. The formula is provided in string form.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd>
502 <span class="name">@Since</span><span class="args">(<span>
503
504 <span class="symbol">&quot;1.5.0&quot;</span>
505 </span>)</span>
506
507 </dd></dl></div>
508 </li><li name="org.apache.spark.ml.param.Params#get" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
509 <a id="get[T](param:org.apache.spark.ml.param.Param[T]):Option[T]"></a>
510 <a id="get[T](Param[T]):Option[T]"></a>
511 <h4 class="signature">
512 <span class="modifier_kind">
513 <span class="modifier">final </span>
514 <span class="kind">def</span>
515 </span>
516 <span class="symbol">
517 <span class="name">get</span><span class="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="org.apache.spark.ml.param.Params.get.T">T</span>]</span>)</span><span class="result">: <span class="extype" name="scala.Option">Option</span>[<span class="extype" name="org.apache.spark.ml.param.Params.get.T">T</span>]</span>
518 </span>
519 </h4><span class="permalink">
520 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@get[T](param:org.apache.spark.ml.param.Param[T]):Option[T]" title="Permalink" target="_top">
521 <img src="../../../../../lib/permalink.png" alt="Permalink" />
522 </a>
523 </span>
524 <p class="shortcomment cmt">Optionally returns the user-supplied value of a param.</p><div class="fullcomment"><div class="comment cmt"><p>Optionally returns the user-supplied value of a param.
525 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
526 </li><li name="scala.AnyRef#getClass" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
527 <a id="getClass():Class[_]"></a>
528 <a id="getClass():Class[_]"></a>
529 <h4 class="signature">
530 <span class="modifier_kind">
531 <span class="modifier">final </span>
532 <span class="kind">def</span>
533 </span>
534 <span class="symbol">
535 <span class="name">getClass</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.Class">Class</span>[_]</span>
536 </span>
537 </h4><span class="permalink">
538 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getClass():Class[_]" title="Permalink" target="_top">
539 <img src="../../../../../lib/permalink.png" alt="Permalink" />
540 </a>
541 </span>
542 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
543 </li><li name="org.apache.spark.ml.param.Params#getDefault" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
544 <a id="getDefault[T](param:org.apache.spark.ml.param.Param[T]):Option[T]"></a>
545 <a id="getDefault[T](Param[T]):Option[T]"></a>
546 <h4 class="signature">
547 <span class="modifier_kind">
548 <span class="modifier">final </span>
549 <span class="kind">def</span>
550 </span>
551 <span class="symbol">
552 <span class="name">getDefault</span><span class="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="org.apache.spark.ml.param.Params.getDefault.T">T</span>]</span>)</span><span class="result">: <span class="extype" name="scala.Option">Option</span>[<span class="extype" name="org.apache.spark.ml.param.Params.getDefault.T">T</span>]</span>
553 </span>
554 </h4><span class="permalink">
555 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getDefault[T](param:org.apache.spark.ml.param.Param[T]):Option[T]" title="Permalink" target="_top">
556 <img src="../../../../../lib/permalink.png" alt="Permalink" />
557 </a>
558 </span>
559 <p class="shortcomment cmt">Gets the default value of a parameter.</p><div class="fullcomment"><div class="comment cmt"><p>Gets the default value of a parameter.
560 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
561 </li><li name="org.apache.spark.ml.param.shared.HasFeaturesCol#getFeaturesCol" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
562 <a id="getFeaturesCol:String"></a>
563 <a id="getFeaturesCol:String"></a>
564 <h4 class="signature">
565 <span class="modifier_kind">
566 <span class="modifier">final </span>
567 <span class="kind">def</span>
568 </span>
569 <span class="symbol">
570 <span class="name">getFeaturesCol</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
571 </span>
572 </h4><span class="permalink">
573 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getFeaturesCol:String" title="Permalink" target="_top">
574 <img src="../../../../../lib/permalink.png" alt="Permalink" />
575 </a>
576 </span>
577 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasFeaturesCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasFeaturesCol">HasFeaturesCol</a></dd></dl></div>
578 </li><li name="org.apache.spark.ml.feature.RFormulaBase#getForceIndexLabel" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
579 <a id="getForceIndexLabel:Boolean"></a>
580 <a id="getForceIndexLabel:Boolean"></a>
581 <h4 class="signature">
582 <span class="modifier_kind">
583 <span class="modifier"></span>
584 <span class="kind">def</span>
585 </span>
586 <span class="symbol">
587 <span class="name">getForceIndexLabel</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
588 </span>
589 </h4><span class="permalink">
590 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getForceIndexLabel:Boolean" title="Permalink" target="_top">
591 <img src="../../../../../lib/permalink.png" alt="Permalink" />
592 </a>
593 </span>
594 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd>
595 <span class="name">@Since</span><span class="args">(<span>
596
597 <span class="symbol">&quot;2.1.0&quot;</span>
598 </span>)</span>
599
600 </dd></dl></div>
601 </li><li name="org.apache.spark.ml.feature.RFormulaBase#getFormula" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
602 <a id="getFormula:String"></a>
603 <a id="getFormula:String"></a>
604 <h4 class="signature">
605 <span class="modifier_kind">
606 <span class="modifier"></span>
607 <span class="kind">def</span>
608 </span>
609 <span class="symbol">
610 <span class="name">getFormula</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
611 </span>
612 </h4><span class="permalink">
613 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getFormula:String" title="Permalink" target="_top">
614 <img src="../../../../../lib/permalink.png" alt="Permalink" />
615 </a>
616 </span>
617 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd>
618 <span class="name">@Since</span><span class="args">(<span>
619
620 <span class="symbol">&quot;1.5.0&quot;</span>
621 </span>)</span>
622
623 </dd></dl></div>
624 </li><li name="org.apache.spark.ml.param.shared.HasHandleInvalid#getHandleInvalid" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
625 <a id="getHandleInvalid:String"></a>
626 <a id="getHandleInvalid:String"></a>
627 <h4 class="signature">
628 <span class="modifier_kind">
629 <span class="modifier">final </span>
630 <span class="kind">def</span>
631 </span>
632 <span class="symbol">
633 <span class="name">getHandleInvalid</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
634 </span>
635 </h4><span class="permalink">
636 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getHandleInvalid:String" title="Permalink" target="_top">
637 <img src="../../../../../lib/permalink.png" alt="Permalink" />
638 </a>
639 </span>
640 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a></dd></dl></div>
641 </li><li name="org.apache.spark.ml.param.shared.HasLabelCol#getLabelCol" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
642 <a id="getLabelCol:String"></a>
643 <a id="getLabelCol:String"></a>
644 <h4 class="signature">
645 <span class="modifier_kind">
646 <span class="modifier">final </span>
647 <span class="kind">def</span>
648 </span>
649 <span class="symbol">
650 <span class="name">getLabelCol</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
651 </span>
652 </h4><span class="permalink">
653 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getLabelCol:String" title="Permalink" target="_top">
654 <img src="../../../../../lib/permalink.png" alt="Permalink" />
655 </a>
656 </span>
657 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasLabelCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasLabelCol">HasLabelCol</a></dd></dl></div>
658 </li><li name="org.apache.spark.ml.param.Params#getOrDefault" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
659 <a id="getOrDefault[T](param:org.apache.spark.ml.param.Param[T]):T"></a>
660 <a id="getOrDefault[T](Param[T]):T"></a>
661 <h4 class="signature">
662 <span class="modifier_kind">
663 <span class="modifier">final </span>
664 <span class="kind">def</span>
665 </span>
666 <span class="symbol">
667 <span class="name">getOrDefault</span><span class="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="org.apache.spark.ml.param.Params.getOrDefault.T">T</span>]</span>)</span><span class="result">: <span class="extype" name="org.apache.spark.ml.param.Params.getOrDefault.T">T</span></span>
668 </span>
669 </h4><span class="permalink">
670 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getOrDefault[T](param:org.apache.spark.ml.param.Param[T]):T" title="Permalink" target="_top">
671 <img src="../../../../../lib/permalink.png" alt="Permalink" />
672 </a>
673 </span>
674 <p class="shortcomment cmt">Gets the value of a param in the embedded param map or its default value.</p><div class="fullcomment"><div class="comment cmt"><p>Gets the value of a param in the embedded param map or its default value. Throws an exception
675 if neither is set.
676 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
677 </li><li name="org.apache.spark.ml.param.Params#getParam" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
678 <a id="getParam(paramName:String):org.apache.spark.ml.param.Param[Any]"></a>
679 <a id="getParam(String):Param[Any]"></a>
680 <h4 class="signature">
681 <span class="modifier_kind">
682 <span class="modifier"></span>
683 <span class="kind">def</span>
684 </span>
685 <span class="symbol">
686 <span class="name">getParam</span><span class="params">(<span name="paramName">paramName: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Any">Any</span>]</span>
687 </span>
688 </h4><span class="permalink">
689 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getParam(paramName:String):org.apache.spark.ml.param.Param[Any]" title="Permalink" target="_top">
690 <img src="../../../../../lib/permalink.png" alt="Permalink" />
691 </a>
692 </span>
693 <p class="shortcomment cmt">Gets a param by its name.</p><div class="fullcomment"><div class="comment cmt"><p>Gets a param by its name.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
694 </li><li name="org.apache.spark.ml.feature.RFormulaBase#getStringIndexerOrderType" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
695 <a id="getStringIndexerOrderType:String"></a>
696 <a id="getStringIndexerOrderType:String"></a>
697 <h4 class="signature">
698 <span class="modifier_kind">
699 <span class="modifier"></span>
700 <span class="kind">def</span>
701 </span>
702 <span class="symbol">
703 <span class="name">getStringIndexerOrderType</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
704 </span>
705 </h4><span class="permalink">
706 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@getStringIndexerOrderType:String" title="Permalink" target="_top">
707 <img src="../../../../../lib/permalink.png" alt="Permalink" />
708 </a>
709 </span>
710 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd>
711 <span class="name">@Since</span><span class="args">(<span>
712
713 <span class="symbol">&quot;2.3.0&quot;</span>
714 </span>)</span>
715
716 </dd></dl></div>
717 </li><li name="org.apache.spark.ml.feature.RFormulaBase#handleInvalid" visbl="pub" data-isabs="false" fullComment="yes" group="param">
718 <a id="handleInvalid:org.apache.spark.ml.param.Param[String]"></a>
719 <a id="handleInvalid:Param[String]"></a>
720 <h4 class="signature">
721 <span class="modifier_kind">
722 <span class="modifier"></span>
723 <span class="kind">val</span>
724 </span>
725 <span class="symbol">
726 <span class="name">handleInvalid</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Predef.String">String</span>]</span>
727 </span>
728 </h4><span class="permalink">
729 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@handleInvalid:org.apache.spark.ml.param.Param[String]" title="Permalink" target="_top">
730 <img src="../../../../../lib/permalink.png" alt="Permalink" />
731 </a>
732 </span>
733 <p class="shortcomment cmt">Param for how to handle invalid data (unseen or NULL values) in features and label column
734 of string type.</p><div class="fullcomment"><div class="comment cmt"><p>Param for how to handle invalid data (unseen or NULL values) in features and label column
735 of string type. Options are 'skip' (filter out rows with invalid data),
736 'error' (throw an error), or 'keep' (put invalid data in a special additional
737 bucket, at index numLabels).
738 Default: &quot;error&quot;</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase → <a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a></dd><dt>Annotations</dt><dd>
739 <span class="name">@Since</span><span class="args">(<span>
740
741 <span class="symbol">&quot;2.3.0&quot;</span>
742 </span>)</span>
743
744 </dd></dl></div>
745 </li><li name="org.apache.spark.ml.param.Params#hasDefault" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
746 <a id="hasDefault[T](param:org.apache.spark.ml.param.Param[T]):Boolean"></a>
747 <a id="hasDefault[T](Param[T]):Boolean"></a>
748 <h4 class="signature">
749 <span class="modifier_kind">
750 <span class="modifier">final </span>
751 <span class="kind">def</span>
752 </span>
753 <span class="symbol">
754 <span class="name">hasDefault</span><span class="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="org.apache.spark.ml.param.Params.hasDefault.T">T</span>]</span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
755 </span>
756 </h4><span class="permalink">
757 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@hasDefault[T](param:org.apache.spark.ml.param.Param[T]):Boolean" title="Permalink" target="_top">
758 <img src="../../../../../lib/permalink.png" alt="Permalink" />
759 </a>
760 </span>
761 <p class="shortcomment cmt">Tests whether the input param has a default value set.</p><div class="fullcomment"><div class="comment cmt"><p>Tests whether the input param has a default value set.
762 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
763 </li><li name="org.apache.spark.ml.feature.RFormulaBase#hasLabelCol" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
764 <a id="hasLabelCol(schema:org.apache.spark.sql.types.StructType):Boolean"></a>
765 <a id="hasLabelCol(StructType):Boolean"></a>
766 <h4 class="signature">
767 <span class="modifier_kind">
768 <span class="modifier"></span>
769 <span class="kind">def</span>
770 </span>
771 <span class="symbol">
772 <span class="name">hasLabelCol</span><span class="params">(<span name="schema">schema: <a href="../../sql/types/StructType.html" class="extype" name="org.apache.spark.sql.types.StructType">StructType</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
773 </span>
774 </h4><span class="permalink">
775 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@hasLabelCol(schema:org.apache.spark.sql.types.StructType):Boolean" title="Permalink" target="_top">
776 <img src="../../../../../lib/permalink.png" alt="Permalink" />
777 </a>
778 </span>
779 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>RFormulaBase</dd></dl></div>
780 </li><li name="org.apache.spark.ml.param.Params#hasParam" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
781 <a id="hasParam(paramName:String):Boolean"></a>
782 <a id="hasParam(String):Boolean"></a>
783 <h4 class="signature">
784 <span class="modifier_kind">
785 <span class="modifier"></span>
786 <span class="kind">def</span>
787 </span>
788 <span class="symbol">
789 <span class="name">hasParam</span><span class="params">(<span name="paramName">paramName: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
790 </span>
791 </h4><span class="permalink">
792 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@hasParam(paramName:String):Boolean" title="Permalink" target="_top">
793 <img src="../../../../../lib/permalink.png" alt="Permalink" />
794 </a>
795 </span>
796 <p class="shortcomment cmt">Tests whether this instance contains a param with a given name.</p><div class="fullcomment"><div class="comment cmt"><p>Tests whether this instance contains a param with a given name.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
797 </li><li name="org.apache.spark.ml.Model#hasParent" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
798 <a id="hasParent:Boolean"></a>
799 <a id="hasParent:Boolean"></a>
800 <h4 class="signature">
801 <span class="modifier_kind">
802 <span class="modifier"></span>
803 <span class="kind">def</span>
804 </span>
805 <span class="symbol">
806 <span class="name">hasParent</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
807 </span>
808 </h4><span class="permalink">
809 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@hasParent:Boolean" title="Permalink" target="_top">
810 <img src="../../../../../lib/permalink.png" alt="Permalink" />
811 </a>
812 </span>
813 <p class="shortcomment cmt">Indicates whether this <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a> has a corresponding parent.</p><div class="fullcomment"><div class="comment cmt"><p>Indicates whether this <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a> has a corresponding parent.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a></dd></dl></div>
814 </li><li name="scala.AnyRef#hashCode" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
815 <a id="hashCode():Int"></a>
816 <a id="hashCode():Int"></a>
817 <h4 class="signature">
818 <span class="modifier_kind">
819 <span class="modifier"></span>
820 <span class="kind">def</span>
821 </span>
822 <span class="symbol">
823 <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
824 </span>
825 </h4><span class="permalink">
826 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@hashCode():Int" title="Permalink" target="_top">
827 <img src="../../../../../lib/permalink.png" alt="Permalink" />
828 </a>
829 </span>
830 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
831 </li><li name="org.apache.spark.internal.Logging#initializeLogIfNecessary" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
832 <a id="initializeLogIfNecessary(isInterpreter:Boolean,silent:Boolean):Boolean"></a>
833 <a id="initializeLogIfNecessary(Boolean,Boolean):Boolean"></a>
834 <h4 class="signature">
835 <span class="modifier_kind">
836 <span class="modifier"></span>
837 <span class="kind">def</span>
838 </span>
839 <span class="symbol">
840 <span class="name">initializeLogIfNecessary</span><span class="params">(<span name="isInterpreter">isInterpreter: <span class="extype" name="scala.Boolean">Boolean</span></span>, <span name="silent">silent: <span class="extype" name="scala.Boolean">Boolean</span> = <span class="symbol">false</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
841 </span>
842 </h4><span class="permalink">
843 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@initializeLogIfNecessary(isInterpreter:Boolean,silent:Boolean):Boolean" title="Permalink" target="_top">
844 <img src="../../../../../lib/permalink.png" alt="Permalink" />
845 </a>
846 </span>
847 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
848 </li><li name="org.apache.spark.internal.Logging#initializeLogIfNecessary" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
849 <a id="initializeLogIfNecessary(isInterpreter:Boolean):Unit"></a>
850 <a id="initializeLogIfNecessary(Boolean):Unit"></a>
851 <h4 class="signature">
852 <span class="modifier_kind">
853 <span class="modifier"></span>
854 <span class="kind">def</span>
855 </span>
856 <span class="symbol">
857 <span class="name">initializeLogIfNecessary</span><span class="params">(<span name="isInterpreter">isInterpreter: <span class="extype" name="scala.Boolean">Boolean</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
858 </span>
859 </h4><span class="permalink">
860 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@initializeLogIfNecessary(isInterpreter:Boolean):Unit" title="Permalink" target="_top">
861 <img src="../../../../../lib/permalink.png" alt="Permalink" />
862 </a>
863 </span>
864 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
865 </li><li name="org.apache.spark.ml.param.Params#isDefined" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
866 <a id="isDefined(param:org.apache.spark.ml.param.Param[_]):Boolean"></a>
867 <a id="isDefined(Param[_]):Boolean"></a>
868 <h4 class="signature">
869 <span class="modifier_kind">
870 <span class="modifier">final </span>
871 <span class="kind">def</span>
872 </span>
873 <span class="symbol">
874 <span class="name">isDefined</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[_]</span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
875 </span>
876 </h4><span class="permalink">
877 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@isDefined(param:org.apache.spark.ml.param.Param[_]):Boolean" title="Permalink" target="_top">
878 <img src="../../../../../lib/permalink.png" alt="Permalink" />
879 </a>
880 </span>
881 <p class="shortcomment cmt">Checks whether a param is explicitly set or has a default value.</p><div class="fullcomment"><div class="comment cmt"><p>Checks whether a param is explicitly set or has a default value.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
882 </li><li name="scala.Any#isInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
883 <a id="isInstanceOf[T0]:Boolean"></a>
884 <a id="isInstanceOf[T0]:Boolean"></a>
885 <h4 class="signature">
886 <span class="modifier_kind">
887 <span class="modifier">final </span>
888 <span class="kind">def</span>
889 </span>
890 <span class="symbol">
891 <span class="name">isInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
892 </span>
893 </h4><span class="permalink">
894 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@isInstanceOf[T0]:Boolean" title="Permalink" target="_top">
895 <img src="../../../../../lib/permalink.png" alt="Permalink" />
896 </a>
897 </span>
898 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
899 </li><li name="org.apache.spark.ml.param.Params#isSet" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
900 <a id="isSet(param:org.apache.spark.ml.param.Param[_]):Boolean"></a>
901 <a id="isSet(Param[_]):Boolean"></a>
902 <h4 class="signature">
903 <span class="modifier_kind">
904 <span class="modifier">final </span>
905 <span class="kind">def</span>
906 </span>
907 <span class="symbol">
908 <span class="name">isSet</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[_]</span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
909 </span>
910 </h4><span class="permalink">
911 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@isSet(param:org.apache.spark.ml.param.Param[_]):Boolean" title="Permalink" target="_top">
912 <img src="../../../../../lib/permalink.png" alt="Permalink" />
913 </a>
914 </span>
915 <p class="shortcomment cmt">Checks whether a param is explicitly set.</p><div class="fullcomment"><div class="comment cmt"><p>Checks whether a param is explicitly set.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
916 </li><li name="org.apache.spark.internal.Logging#isTraceEnabled" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
917 <a id="isTraceEnabled():Boolean"></a>
918 <a id="isTraceEnabled():Boolean"></a>
919 <h4 class="signature">
920 <span class="modifier_kind">
921 <span class="modifier"></span>
922 <span class="kind">def</span>
923 </span>
924 <span class="symbol">
925 <span class="name">isTraceEnabled</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
926 </span>
927 </h4><span class="permalink">
928 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@isTraceEnabled():Boolean" title="Permalink" target="_top">
929 <img src="../../../../../lib/permalink.png" alt="Permalink" />
930 </a>
931 </span>
932 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
933 </li><li name="org.apache.spark.ml.param.shared.HasLabelCol#labelCol" visbl="pub" data-isabs="false" fullComment="yes" group="param">
934 <a id="labelCol:org.apache.spark.ml.param.Param[String]"></a>
935 <a id="labelCol:Param[String]"></a>
936 <h4 class="signature">
937 <span class="modifier_kind">
938 <span class="modifier">final </span>
939 <span class="kind">val</span>
940 </span>
941 <span class="symbol">
942 <span class="name">labelCol</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Predef.String">String</span>]</span>
943 </span>
944 </h4><span class="permalink">
945 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@labelCol:org.apache.spark.ml.param.Param[String]" title="Permalink" target="_top">
946 <img src="../../../../../lib/permalink.png" alt="Permalink" />
947 </a>
948 </span>
949 <p class="shortcomment cmt">Param for label column name.</p><div class="fullcomment"><div class="comment cmt"><p>Param for label column name.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasLabelCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasLabelCol">HasLabelCol</a></dd></dl></div>
950 </li><li name="org.apache.spark.internal.Logging#log" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
951 <a id="log:org.slf4j.Logger"></a>
952 <a id="log:Logger"></a>
953 <h4 class="signature">
954 <span class="modifier_kind">
955 <span class="modifier"></span>
956 <span class="kind">def</span>
957 </span>
958 <span class="symbol">
959 <span class="name">log</span><span class="result">: <span class="extype" name="org.slf4j.Logger">Logger</span></span>
960 </span>
961 </h4><span class="permalink">
962 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@log:org.slf4j.Logger" title="Permalink" target="_top">
963 <img src="../../../../../lib/permalink.png" alt="Permalink" />
964 </a>
965 </span>
966 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
967 </li><li name="org.apache.spark.internal.Logging#logDebug" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
968 <a id="logDebug(msg:=&gt;String,throwable:Throwable):Unit"></a>
969 <a id="logDebug(⇒String,Throwable):Unit"></a>
970 <h4 class="signature">
971 <span class="modifier_kind">
972 <span class="modifier"></span>
973 <span class="kind">def</span>
974 </span>
975 <span class="symbol">
976 <span class="name">logDebug</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>, <span name="throwable">throwable: <span class="extype" name="scala.Throwable">Throwable</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
977 </span>
978 </h4><span class="permalink">
979 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logDebug(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
980 <img src="../../../../../lib/permalink.png" alt="Permalink" />
981 </a>
982 </span>
983 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
984 </li><li name="org.apache.spark.internal.Logging#logDebug" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
985 <a id="logDebug(msg:=&gt;String):Unit"></a>
986 <a id="logDebug(⇒String):Unit"></a>
987 <h4 class="signature">
988 <span class="modifier_kind">
989 <span class="modifier"></span>
990 <span class="kind">def</span>
991 </span>
992 <span class="symbol">
993 <span class="name">logDebug</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
994 </span>
995 </h4><span class="permalink">
996 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logDebug(msg:=&gt;String):Unit" title="Permalink" target="_top">
997 <img src="../../../../../lib/permalink.png" alt="Permalink" />
998 </a>
999 </span>
1000 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1001 </li><li name="org.apache.spark.internal.Logging#logError" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1002 <a id="logError(msg:=&gt;String,throwable:Throwable):Unit"></a>
1003 <a id="logError(⇒String,Throwable):Unit"></a>
1004 <h4 class="signature">
1005 <span class="modifier_kind">
1006 <span class="modifier"></span>
1007 <span class="kind">def</span>
1008 </span>
1009 <span class="symbol">
1010 <span class="name">logError</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>, <span name="throwable">throwable: <span class="extype" name="scala.Throwable">Throwable</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1011 </span>
1012 </h4><span class="permalink">
1013 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logError(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
1014 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1015 </a>
1016 </span>
1017 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1018 </li><li name="org.apache.spark.internal.Logging#logError" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1019 <a id="logError(msg:=&gt;String):Unit"></a>
1020 <a id="logError(⇒String):Unit"></a>
1021 <h4 class="signature">
1022 <span class="modifier_kind">
1023 <span class="modifier"></span>
1024 <span class="kind">def</span>
1025 </span>
1026 <span class="symbol">
1027 <span class="name">logError</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1028 </span>
1029 </h4><span class="permalink">
1030 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logError(msg:=&gt;String):Unit" title="Permalink" target="_top">
1031 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1032 </a>
1033 </span>
1034 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1035 </li><li name="org.apache.spark.internal.Logging#logInfo" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1036 <a id="logInfo(msg:=&gt;String,throwable:Throwable):Unit"></a>
1037 <a id="logInfo(⇒String,Throwable):Unit"></a>
1038 <h4 class="signature">
1039 <span class="modifier_kind">
1040 <span class="modifier"></span>
1041 <span class="kind">def</span>
1042 </span>
1043 <span class="symbol">
1044 <span class="name">logInfo</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>, <span name="throwable">throwable: <span class="extype" name="scala.Throwable">Throwable</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1045 </span>
1046 </h4><span class="permalink">
1047 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logInfo(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
1048 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1049 </a>
1050 </span>
1051 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1052 </li><li name="org.apache.spark.internal.Logging#logInfo" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1053 <a id="logInfo(msg:=&gt;String):Unit"></a>
1054 <a id="logInfo(⇒String):Unit"></a>
1055 <h4 class="signature">
1056 <span class="modifier_kind">
1057 <span class="modifier"></span>
1058 <span class="kind">def</span>
1059 </span>
1060 <span class="symbol">
1061 <span class="name">logInfo</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1062 </span>
1063 </h4><span class="permalink">
1064 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logInfo(msg:=&gt;String):Unit" title="Permalink" target="_top">
1065 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1066 </a>
1067 </span>
1068 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1069 </li><li name="org.apache.spark.internal.Logging#logName" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1070 <a id="logName:String"></a>
1071 <a id="logName:String"></a>
1072 <h4 class="signature">
1073 <span class="modifier_kind">
1074 <span class="modifier"></span>
1075 <span class="kind">def</span>
1076 </span>
1077 <span class="symbol">
1078 <span class="name">logName</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span>
1079 </span>
1080 </h4><span class="permalink">
1081 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logName:String" title="Permalink" target="_top">
1082 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1083 </a>
1084 </span>
1085 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1086 </li><li name="org.apache.spark.internal.Logging#logTrace" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1087 <a id="logTrace(msg:=&gt;String,throwable:Throwable):Unit"></a>
1088 <a id="logTrace(⇒String,Throwable):Unit"></a>
1089 <h4 class="signature">
1090 <span class="modifier_kind">
1091 <span class="modifier"></span>
1092 <span class="kind">def</span>
1093 </span>
1094 <span class="symbol">
1095 <span class="name">logTrace</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>, <span name="throwable">throwable: <span class="extype" name="scala.Throwable">Throwable</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1096 </span>
1097 </h4><span class="permalink">
1098 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logTrace(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
1099 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1100 </a>
1101 </span>
1102 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1103 </li><li name="org.apache.spark.internal.Logging#logTrace" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1104 <a id="logTrace(msg:=&gt;String):Unit"></a>
1105 <a id="logTrace(⇒String):Unit"></a>
1106 <h4 class="signature">
1107 <span class="modifier_kind">
1108 <span class="modifier"></span>
1109 <span class="kind">def</span>
1110 </span>
1111 <span class="symbol">
1112 <span class="name">logTrace</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1113 </span>
1114 </h4><span class="permalink">
1115 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logTrace(msg:=&gt;String):Unit" title="Permalink" target="_top">
1116 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1117 </a>
1118 </span>
1119 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1120 </li><li name="org.apache.spark.internal.Logging#logWarning" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1121 <a id="logWarning(msg:=&gt;String,throwable:Throwable):Unit"></a>
1122 <a id="logWarning(⇒String,Throwable):Unit"></a>
1123 <h4 class="signature">
1124 <span class="modifier_kind">
1125 <span class="modifier"></span>
1126 <span class="kind">def</span>
1127 </span>
1128 <span class="symbol">
1129 <span class="name">logWarning</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>, <span name="throwable">throwable: <span class="extype" name="scala.Throwable">Throwable</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1130 </span>
1131 </h4><span class="permalink">
1132 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logWarning(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
1133 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1134 </a>
1135 </span>
1136 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1137 </li><li name="org.apache.spark.internal.Logging#logWarning" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1138 <a id="logWarning(msg:=&gt;String):Unit"></a>
1139 <a id="logWarning(⇒String):Unit"></a>
1140 <h4 class="signature">
1141 <span class="modifier_kind">
1142 <span class="modifier"></span>
1143 <span class="kind">def</span>
1144 </span>
1145 <span class="symbol">
1146 <span class="name">logWarning</span><span class="params">(<span name="msg">msg: ⇒ <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1147 </span>
1148 </h4><span class="permalink">
1149 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@logWarning(msg:=&gt;String):Unit" title="Permalink" target="_top">
1150 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1151 </a>
1152 </span>
1153 <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></dd></dl></div>
1154 </li><li name="scala.AnyRef#ne" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1155 <a id="ne(x$1:AnyRef):Boolean"></a>
1156 <a id="ne(AnyRef):Boolean"></a>
1157 <h4 class="signature">
1158 <span class="modifier_kind">
1159 <span class="modifier">final </span>
1160 <span class="kind">def</span>
1161 </span>
1162 <span class="symbol">
1163 <span class="name">ne</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
1164 </span>
1165 </h4><span class="permalink">
1166 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@ne(x$1:AnyRef):Boolean" title="Permalink" target="_top">
1167 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1168 </a>
1169 </span>
1170 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
1171 </li><li name="scala.AnyRef#notify" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1172 <a id="notify():Unit"></a>
1173 <a id="notify():Unit"></a>
1174 <h4 class="signature">
1175 <span class="modifier_kind">
1176 <span class="modifier">final </span>
1177 <span class="kind">def</span>
1178 </span>
1179 <span class="symbol">
1180 <span class="name">notify</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1181 </span>
1182 </h4><span class="permalink">
1183 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@notify():Unit" title="Permalink" target="_top">
1184 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1185 </a>
1186 </span>
1187 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
1188 </li><li name="scala.AnyRef#notifyAll" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1189 <a id="notifyAll():Unit"></a>
1190 <a id="notifyAll():Unit"></a>
1191 <h4 class="signature">
1192 <span class="modifier_kind">
1193 <span class="modifier">final </span>
1194 <span class="kind">def</span>
1195 </span>
1196 <span class="symbol">
1197 <span class="name">notifyAll</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1198 </span>
1199 </h4><span class="permalink">
1200 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@notifyAll():Unit" title="Permalink" target="_top">
1201 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1202 </a>
1203 </span>
1204 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
1205 </li><li name="org.apache.spark.ml.param.Params#params" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1206 <a id="params:Array[org.apache.spark.ml.param.Param[_]]"></a>
1207 <a id="params:Array[Param[_]]"></a>
1208 <h4 class="signature">
1209 <span class="modifier_kind">
1210 <span class="modifier"></span>
1211 <span class="kind">lazy val</span>
1212 </span>
1213 <span class="symbol">
1214 <span class="name">params</span><span class="result">: <span class="extype" name="scala.Array">Array</span>[<a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[_]]</span>
1215 </span>
1216 </h4><span class="permalink">
1217 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@params:Array[org.apache.spark.ml.param.Param[_]]" title="Permalink" target="_top">
1218 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1219 </a>
1220 </span>
1221 <p class="shortcomment cmt">Returns all params sorted by their names.</p><div class="fullcomment"><div class="comment cmt"><p>Returns all params sorted by their names. The default implementation uses Java reflection to
1222 list all public methods that have no arguments and return <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>.
1223 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd><dt>Note</dt><dd><span class="cmt"><p>Developer should not use this method in constructor because we cannot guarantee that
1224 this variable gets initialized before other params.</p></span></dd></dl></div>
1225 </li><li name="org.apache.spark.ml.Model#parent" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1226 <a id="parent:org.apache.spark.ml.Estimator[M]"></a>
1227 <a id="parent:Estimator[RFormulaModel]"></a>
1228 <h4 class="signature">
1229 <span class="modifier_kind">
1230 <span class="modifier"></span>
1231 <span class="kind">var</span>
1232 </span>
1233 <span class="symbol">
1234 <span class="name">parent</span><span class="result">: <a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>]</span>
1235 </span>
1236 </h4><span class="permalink">
1237 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@parent:org.apache.spark.ml.Estimator[M]" title="Permalink" target="_top">
1238 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1239 </a>
1240 </span>
1241 <p class="shortcomment cmt">The parent estimator that produced this model.</p><div class="fullcomment"><div class="comment cmt"><p>The parent estimator that produced this model.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a></dd><dt>Note</dt><dd><span class="cmt"><p>For ensembles' component Models, this value can be null.</p></span></dd></dl></div>
1242 </li><li name="org.apache.spark.ml.util.MLWritable#save" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1243 <a id="save(path:String):Unit"></a>
1244 <a id="save(String):Unit"></a>
1245 <h4 class="signature">
1246 <span class="modifier_kind">
1247 <span class="modifier"></span>
1248 <span class="kind">def</span>
1249 </span>
1250 <span class="symbol">
1251 <span class="name">save</span><span class="params">(<span name="path">path: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1252 </span>
1253 </h4><span class="permalink">
1254 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@save(path:String):Unit" title="Permalink" target="_top">
1255 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1256 </a>
1257 </span>
1258 <p class="shortcomment cmt">Saves this ML instance to the input path, a shortcut of <code>write.save(path)</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Saves this ML instance to the input path, a shortcut of <code>write.save(path)</code>.
1259 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a></dd><dt>Annotations</dt><dd>
1260 <span class="name">@Since</span><span class="args">(<span>
1261
1262 <span class="symbol">&quot;1.6.0&quot;</span>
1263 </span>)</span>
1264
1265 <span class="name">@throws</span><span class="args">(<span>
1266
1267 <span class="defval" name="&quot;If the input path already exists but overwrite is not enabled.&quot;">...</span>
1268 </span>)</span>
1269
1270 </dd></dl></div>
1271 </li><li name="org.apache.spark.ml.param.Params#set" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1272 <a id="set(paramPair:org.apache.spark.ml.param.ParamPair[_]):Params.this.type"></a>
1273 <a id="set(ParamPair[_]):RFormulaModel.this.type"></a>
1274 <h4 class="signature">
1275 <span class="modifier_kind">
1276 <span class="modifier">final </span>
1277 <span class="kind">def</span>
1278 </span>
1279 <span class="symbol">
1280 <span class="name">set</span><span class="params">(<span name="paramPair">paramPair: <a href="../param/ParamPair.html" class="extype" name="org.apache.spark.ml.param.ParamPair">ParamPair</a>[_]</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span>
1281 </span>
1282 </h4><span class="permalink">
1283 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@set(paramPair:org.apache.spark.ml.param.ParamPair[_]):Params.this.type" title="Permalink" target="_top">
1284 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1285 </a>
1286 </span>
1287 <p class="shortcomment cmt">Sets a parameter in the embedded param map.</p><div class="fullcomment"><div class="comment cmt"><p>Sets a parameter in the embedded param map.
1288 </p></div><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
1289 </li><li name="org.apache.spark.ml.param.Params#set" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1290 <a id="set(param:String,value:Any):Params.this.type"></a>
1291 <a id="set(String,Any):RFormulaModel.this.type"></a>
1292 <h4 class="signature">
1293 <span class="modifier_kind">
1294 <span class="modifier">final </span>
1295 <span class="kind">def</span>
1296 </span>
1297 <span class="symbol">
1298 <span class="name">set</span><span class="params">(<span name="param">param: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="value">value: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span>
1299 </span>
1300 </h4><span class="permalink">
1301 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@set(param:String,value:Any):Params.this.type" title="Permalink" target="_top">
1302 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1303 </a>
1304 </span>
1305 <p class="shortcomment cmt">Sets a parameter (by name) in the embedded param map.</p><div class="fullcomment"><div class="comment cmt"><p>Sets a parameter (by name) in the embedded param map.
1306 </p></div><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
1307 </li><li name="org.apache.spark.ml.param.Params#set" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1308 <a id="set[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type"></a>
1309 <a id="set[T](Param[T],T):RFormulaModel.this.type"></a>
1310 <h4 class="signature">
1311 <span class="modifier_kind">
1312 <span class="modifier">final </span>
1313 <span class="kind">def</span>
1314 </span>
1315 <span class="symbol">
1316 <span class="name">set</span><span class="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="org.apache.spark.ml.param.Params.set.T">T</span>]</span>, <span name="value">value: <span class="extype" name="org.apache.spark.ml.param.Params.set.T">T</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span>
1317 </span>
1318 </h4><span class="permalink">
1319 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@set[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type" title="Permalink" target="_top">
1320 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1321 </a>
1322 </span>
1323 <p class="shortcomment cmt">Sets a parameter in the embedded param map.</p><div class="fullcomment"><div class="comment cmt"><p>Sets a parameter in the embedded param map.
1324 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
1325 </li><li name="org.apache.spark.ml.param.Params#setDefault" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1326 <a id="setDefault(paramPairs:org.apache.spark.ml.param.ParamPair[_]*):Params.this.type"></a>
1327 <a id="setDefault(ParamPair[_]*):RFormulaModel.this.type"></a>
1328 <h4 class="signature">
1329 <span class="modifier_kind">
1330 <span class="modifier">final </span>
1331 <span class="kind">def</span>
1332 </span>
1333 <span class="symbol">
1334 <span class="name">setDefault</span><span class="params">(<span name="paramPairs">paramPairs: <a href="../param/ParamPair.html" class="extype" name="org.apache.spark.ml.param.ParamPair">ParamPair</a>[_]*</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span>
1335 </span>
1336 </h4><span class="permalink">
1337 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@setDefault(paramPairs:org.apache.spark.ml.param.ParamPair[_]*):Params.this.type" title="Permalink" target="_top">
1338 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1339 </a>
1340 </span>
1341 <p class="shortcomment cmt">Sets default values for a list of params.</p><div class="fullcomment"><div class="comment cmt"><p>Sets default values for a list of params.</p><p>Note: Java developers should use the single-parameter <code>setDefault</code>.
1342 Annotating this with varargs can cause compilation failures due to a Scala compiler bug.
1343 See SPARK-9268.
1344 </p></div><dl class="paramcmts block"><dt class="param">paramPairs</dt><dd class="cmt"><p>a list of param pairs that specify params and their default values to set
1345 respectively. Make sure that the params are initialized before this method
1346 gets called.</p></dd></dl><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
1347 </li><li name="org.apache.spark.ml.param.Params#setDefault" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1348 <a id="setDefault[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type"></a>
1349 <a id="setDefault[T](Param[T],T):RFormulaModel.this.type"></a>
1350 <h4 class="signature">
1351 <span class="modifier_kind">
1352 <span class="modifier">final </span>
1353 <span class="kind">def</span>
1354 </span>
1355 <span class="symbol">
1356 <span class="name">setDefault</span><span class="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="org.apache.spark.ml.param.Params.setDefault.T">T</span>]</span>, <span name="value">value: <span class="extype" name="org.apache.spark.ml.param.Params.setDefault.T">T</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span>
1357 </span>
1358 </h4><span class="permalink">
1359 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@setDefault[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type" title="Permalink" target="_top">
1360 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1361 </a>
1362 </span>
1363 <p class="shortcomment cmt">Sets a default value for a param.</p><div class="fullcomment"><div class="comment cmt"><p>Sets a default value for a param.</p></div><dl class="paramcmts block"><dt class="param">param</dt><dd class="cmt"><p>param to set the default value. Make sure that this param is initialized before
1364 this method gets called.</p></dd><dt class="param">value</dt><dd class="cmt"><p>the default value</p></dd></dl><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd></dl></div>
1365 </li><li name="org.apache.spark.ml.Model#setParent" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1366 <a id="setParent(parent:org.apache.spark.ml.Estimator[M]):M"></a>
1367 <a id="setParent(Estimator[RFormulaModel]):RFormulaModel"></a>
1368 <h4 class="signature">
1369 <span class="modifier_kind">
1370 <span class="modifier"></span>
1371 <span class="kind">def</span>
1372 </span>
1373 <span class="symbol">
1374 <span class="name">setParent</span><span class="params">(<span name="parent">parent: <a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>]</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a></span>
1375 </span>
1376 </h4><span class="permalink">
1377 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@setParent(parent:org.apache.spark.ml.Estimator[M]):M" title="Permalink" target="_top">
1378 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1379 </a>
1380 </span>
1381 <p class="shortcomment cmt">Sets the parent of this model (Java API).</p><div class="fullcomment"><div class="comment cmt"><p>Sets the parent of this model (Java API).
1382 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a></dd></dl></div>
1383 </li><li name="org.apache.spark.ml.feature.RFormulaBase#stringIndexerOrderType" visbl="pub" data-isabs="false" fullComment="yes" group="param">
1384 <a id="stringIndexerOrderType:org.apache.spark.ml.param.Param[String]"></a>
1385 <a id="stringIndexerOrderType:Param[String]"></a>
1386 <h4 class="signature">
1387 <span class="modifier_kind">
1388 <span class="modifier">final </span>
1389 <span class="kind">val</span>
1390 </span>
1391 <span class="symbol">
1392 <span class="name">stringIndexerOrderType</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Predef.String">String</span>]</span>
1393 </span>
1394 </h4><span class="permalink">
1395 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@stringIndexerOrderType:org.apache.spark.ml.param.Param[String]" title="Permalink" target="_top">
1396 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1397 </a>
1398 </span>
1399 <p class="shortcomment cmt">Param for how to order categories of a string FEATURE column used by <code>StringIndexer</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Param for how to order categories of a string FEATURE column used by <code>StringIndexer</code>.
1400 The last category after ordering is dropped when encoding strings.
1401 Supported options: 'frequencyDesc', 'frequencyAsc', 'alphabetDesc', 'alphabetAsc'.
1402 The default value is 'frequencyDesc'. When the ordering is set to 'alphabetDesc', <code>RFormula</code>
1403 drops the same category as R when encoding strings.</p><p>The options are explained using an example <code>'b', 'a', 'b', 'a', 'c', 'b'</code>:</p><pre>+-----------------+---------------------------------------+----------------------------------+
1404 | <span class="std">Option</span> | Category mapped to <span class="num">0</span> by StringIndexer | Category dropped by RFormula |
1405 +-----------------+---------------------------------------+----------------------------------+
1406 | 'frequencyDesc' | most frequent category (<span class="lit">'b'</span>) | least frequent category (<span class="lit">'c'</span>) |
1407 | 'frequencyAsc' | least frequent category (<span class="lit">'c'</span>) | most frequent category (<span class="lit">'b'</span>) |
1408 | 'alphabetDesc' | last alphabetical category (<span class="lit">'c'</span>) | first alphabetical category (<span class="lit">'a'</span>)|
1409 | 'alphabetAsc' | first alphabetical category (<span class="lit">'a'</span>) | last alphabetical category (<span class="lit">'c'</span>) |
1410 +-----------------+---------------------------------------+----------------------------------+</pre><p>Note that this ordering option is NOT used for the label column. When the label column is
1411 indexed, it uses the default descending frequency ordering in <code>StringIndexer</code>.
1412 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd>
1413 <span class="name">@Since</span><span class="args">(<span>
1414
1415 <span class="symbol">&quot;2.3.0&quot;</span>
1416 </span>)</span>
1417
1418 </dd></dl></div>
1419 </li><li name="scala.AnyRef#synchronized" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1420 <a id="synchronized[T0](x$1:=&gt;T0):T0"></a>
1421 <a id="synchronized[T0](⇒T0):T0"></a>
1422 <h4 class="signature">
1423 <span class="modifier_kind">
1424 <span class="modifier">final </span>
1425 <span class="kind">def</span>
1426 </span>
1427 <span class="symbol">
1428 <span class="name">synchronized</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="params">(<span name="arg0">arg0: ⇒ <span class="extype" name="java.lang.AnyRef.synchronized.T0">T0</span></span>)</span><span class="result">: <span class="extype" name="java.lang.AnyRef.synchronized.T0">T0</span></span>
1429 </span>
1430 </h4><span class="permalink">
1431 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@synchronized[T0](x$1:=&gt;T0):T0" title="Permalink" target="_top">
1432 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1433 </a>
1434 </span>
1435 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
1436 </li><li name="org.apache.spark.ml.feature.RFormulaModel#toString" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1437 <a id="toString():String"></a>
1438 <a id="toString():String"></a>
1439 <h4 class="signature">
1440 <span class="modifier_kind">
1441 <span class="modifier"></span>
1442 <span class="kind">def</span>
1443 </span>
1444 <span class="symbol">
1445 <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
1446 </span>
1447 </h4><span class="permalink">
1448 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@toString():String" title="Permalink" target="_top">
1449 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1450 </a>
1451 </span>
1452 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a><a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a> → AnyRef → Any</dd><dt>Annotations</dt><dd>
1453 <span class="name">@Since</span><span class="args">(<span>
1454
1455 <span class="symbol">&quot;2.0.0&quot;</span>
1456 </span>)</span>
1457
1458 </dd></dl></div>
1459 </li><li name="org.apache.spark.ml.feature.RFormulaModel#transform" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1460 <a id="transform(dataset:org.apache.spark.sql.Dataset[_]):org.apache.spark.sql.DataFrame"></a>
1461 <a id="transform(Dataset[_]):DataFrame"></a>
1462 <h4 class="signature">
1463 <span class="modifier_kind">
1464 <span class="modifier"></span>
1465 <span class="kind">def</span>
1466 </span>
1467 <span class="symbol">
1468 <span class="name">transform</span><span class="params">(<span name="dataset">dataset: <a href="../../sql/Dataset.html" class="extype" name="org.apache.spark.sql.Dataset">Dataset</a>[_]</span>)</span><span class="result">: <a href="../../sql/package.html#DataFrame=org.apache.spark.sql.Dataset[org.apache.spark.sql.Row]" class="extmbr" name="org.apache.spark.sql.DataFrame">DataFrame</a></span>
1469 </span>
1470 </h4><span class="permalink">
1471 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@transform(dataset:org.apache.spark.sql.Dataset[_]):org.apache.spark.sql.DataFrame" title="Permalink" target="_top">
1472 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1473 </a>
1474 </span>
1475 <p class="shortcomment cmt">Transforms the input dataset.</p><div class="fullcomment"><div class="comment cmt"><p>Transforms the input dataset.
1476 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a><a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a></dd><dt>Annotations</dt><dd>
1477 <span class="name">@Since</span><span class="args">(<span>
1478
1479 <span class="symbol">&quot;2.0.0&quot;</span>
1480 </span>)</span>
1481
1482 </dd></dl></div>
1483 </li><li name="org.apache.spark.ml.Transformer#transform" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1484 <a id="transform(dataset:org.apache.spark.sql.Dataset[_],paramMap:org.apache.spark.ml.param.ParamMap):org.apache.spark.sql.DataFrame"></a>
1485 <a id="transform(Dataset[_],ParamMap):DataFrame"></a>
1486 <h4 class="signature">
1487 <span class="modifier_kind">
1488 <span class="modifier"></span>
1489 <span class="kind">def</span>
1490 </span>
1491 <span class="symbol">
1492 <span class="name">transform</span><span class="params">(<span name="dataset">dataset: <a href="../../sql/Dataset.html" class="extype" name="org.apache.spark.sql.Dataset">Dataset</a>[_]</span>, <span name="paramMap">paramMap: <a href="../param/ParamMap.html" class="extype" name="org.apache.spark.ml.param.ParamMap">ParamMap</a></span>)</span><span class="result">: <a href="../../sql/package.html#DataFrame=org.apache.spark.sql.Dataset[org.apache.spark.sql.Row]" class="extmbr" name="org.apache.spark.sql.DataFrame">DataFrame</a></span>
1493 </span>
1494 </h4><span class="permalink">
1495 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@transform(dataset:org.apache.spark.sql.Dataset[_],paramMap:org.apache.spark.ml.param.ParamMap):org.apache.spark.sql.DataFrame" title="Permalink" target="_top">
1496 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1497 </a>
1498 </span>
1499 <p class="shortcomment cmt">Transforms the dataset with provided parameter map as additional parameters.</p><div class="fullcomment"><div class="comment cmt"><p>Transforms the dataset with provided parameter map as additional parameters.</p></div><dl class="paramcmts block"><dt class="param">dataset</dt><dd class="cmt"><p>input dataset</p></dd><dt class="param">paramMap</dt><dd class="cmt"><p>additional parameters, overwrite embedded params</p></dd><dt>returns</dt><dd class="cmt"><p>transformed dataset</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a></dd><dt>Annotations</dt><dd>
1500 <span class="name">@Since</span><span class="args">(<span>
1501
1502 <span class="symbol">&quot;2.0.0&quot;</span>
1503 </span>)</span>
1504
1505 </dd></dl></div>
1506 </li><li name="org.apache.spark.ml.Transformer#transform" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1507 <a id="transform(dataset:org.apache.spark.sql.Dataset[_],firstParamPair:org.apache.spark.ml.param.ParamPair[_],otherParamPairs:org.apache.spark.ml.param.ParamPair[_]*):org.apache.spark.sql.DataFrame"></a>
1508 <a id="transform(Dataset[_],ParamPair[_],ParamPair[_]*):DataFrame"></a>
1509 <h4 class="signature">
1510 <span class="modifier_kind">
1511 <span class="modifier"></span>
1512 <span class="kind">def</span>
1513 </span>
1514 <span class="symbol">
1515 <span class="name">transform</span><span class="params">(<span name="dataset">dataset: <a href="../../sql/Dataset.html" class="extype" name="org.apache.spark.sql.Dataset">Dataset</a>[_]</span>, <span name="firstParamPair">firstParamPair: <a href="../param/ParamPair.html" class="extype" name="org.apache.spark.ml.param.ParamPair">ParamPair</a>[_]</span>, <span name="otherParamPairs">otherParamPairs: <a href="../param/ParamPair.html" class="extype" name="org.apache.spark.ml.param.ParamPair">ParamPair</a>[_]*</span>)</span><span class="result">: <a href="../../sql/package.html#DataFrame=org.apache.spark.sql.Dataset[org.apache.spark.sql.Row]" class="extmbr" name="org.apache.spark.sql.DataFrame">DataFrame</a></span>
1516 </span>
1517 </h4><span class="permalink">
1518 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@transform(dataset:org.apache.spark.sql.Dataset[_],firstParamPair:org.apache.spark.ml.param.ParamPair[_],otherParamPairs:org.apache.spark.ml.param.ParamPair[_]*):org.apache.spark.sql.DataFrame" title="Permalink" target="_top">
1519 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1520 </a>
1521 </span>
1522 <p class="shortcomment cmt">Transforms the dataset with optional parameters</p><div class="fullcomment"><div class="comment cmt"><p>Transforms the dataset with optional parameters</p></div><dl class="paramcmts block"><dt class="param">dataset</dt><dd class="cmt"><p>input dataset</p></dd><dt class="param">firstParamPair</dt><dd class="cmt"><p>the first param pair, overwrite embedded params</p></dd><dt class="param">otherParamPairs</dt><dd class="cmt"><p>other param pairs, overwrite embedded params</p></dd><dt>returns</dt><dd class="cmt"><p>transformed dataset</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a></dd><dt>Annotations</dt><dd>
1523 <span class="name">@Since</span><span class="args">(<span>
1524
1525 <span class="symbol">&quot;2.0.0&quot;</span>
1526 </span>)</span>
1527
1528 <span class="name">@varargs</span><span class="args">()</span>
1529
1530 </dd></dl></div>
1531 </li><li name="org.apache.spark.ml.feature.RFormulaModel#transformSchema" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1532 <a id="transformSchema(schema:org.apache.spark.sql.types.StructType):org.apache.spark.sql.types.StructType"></a>
1533 <a id="transformSchema(StructType):StructType"></a>
1534 <h4 class="signature">
1535 <span class="modifier_kind">
1536 <span class="modifier"></span>
1537 <span class="kind">def</span>
1538 </span>
1539 <span class="symbol">
1540 <span class="name">transformSchema</span><span class="params">(<span name="schema">schema: <a href="../../sql/types/StructType.html" class="extype" name="org.apache.spark.sql.types.StructType">StructType</a></span>)</span><span class="result">: <a href="../../sql/types/StructType.html" class="extype" name="org.apache.spark.sql.types.StructType">StructType</a></span>
1541 </span>
1542 </h4><span class="permalink">
1543 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@transformSchema(schema:org.apache.spark.sql.types.StructType):org.apache.spark.sql.types.StructType" title="Permalink" target="_top">
1544 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1545 </a>
1546 </span>
1547 <p class="shortcomment cmt">:: DeveloperApi ::</p><div class="fullcomment"><div class="comment cmt"><p>:: DeveloperApi ::</p><p>Check transform validity and derive the output schema from the input schema.</p><p>We check validity for interactions between parameters during <code>transformSchema</code> and
1548 raise an exception if any parameter value is invalid. Parameter value checks which
1549 do not depend on other parameters are handled by <code>Param.validate()</code>.</p><p>Typical implementation should first conduct verification on schema change and parameter
1550 validity, including complex parameter interaction checks.
1551 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a><a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a></dd><dt>Annotations</dt><dd>
1552 <span class="name">@Since</span><span class="args">(<span>
1553
1554 <span class="symbol">&quot;1.5.0&quot;</span>
1555 </span>)</span>
1556
1557 </dd></dl></div>
1558 </li><li name="org.apache.spark.ml.PipelineStage#transformSchema" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1559 <a id="transformSchema(schema:org.apache.spark.sql.types.StructType,logging:Boolean):org.apache.spark.sql.types.StructType"></a>
1560 <a id="transformSchema(StructType,Boolean):StructType"></a>
1561 <h4 class="signature">
1562 <span class="modifier_kind">
1563 <span class="modifier"></span>
1564 <span class="kind">def</span>
1565 </span>
1566 <span class="symbol">
1567 <span class="name">transformSchema</span><span class="params">(<span name="schema">schema: <a href="../../sql/types/StructType.html" class="extype" name="org.apache.spark.sql.types.StructType">StructType</a></span>, <span name="logging">logging: <span class="extype" name="scala.Boolean">Boolean</span></span>)</span><span class="result">: <a href="../../sql/types/StructType.html" class="extype" name="org.apache.spark.sql.types.StructType">StructType</a></span>
1568 </span>
1569 </h4><span class="permalink">
1570 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@transformSchema(schema:org.apache.spark.sql.types.StructType,logging:Boolean):org.apache.spark.sql.types.StructType" title="Permalink" target="_top">
1571 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1572 </a>
1573 </span>
1574 <p class="shortcomment cmt">:: DeveloperApi ::</p><div class="fullcomment"><div class="comment cmt"><p>:: DeveloperApi ::</p><p>Derives the output schema from the input schema and parameters, optionally with logging.</p><p>This should be optimistic. If it is unclear whether the schema will be valid, then it should
1575 be assumed valid until proven otherwise.
1576 </p></div><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a></dd><dt>Annotations</dt><dd>
1577 <span class="name">@DeveloperApi</span><span class="args">()</span>
1578
1579 </dd></dl></div>
1580 </li><li name="org.apache.spark.ml.feature.RFormulaModel#uid" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1581 <a id="uid:String"></a>
1582 <a id="uid:String"></a>
1583 <h4 class="signature">
1584 <span class="modifier_kind">
1585 <span class="modifier"></span>
1586 <span class="kind">val</span>
1587 </span>
1588 <span class="symbol">
1589 <span class="name">uid</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
1590 </span>
1591 </h4><span class="permalink">
1592 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@uid:String" title="Permalink" target="_top">
1593 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1594 </a>
1595 </span>
1596 <p class="shortcomment cmt">An immutable unique ID for the object and its derivatives.</p><div class="fullcomment"><div class="comment cmt"><p>An immutable unique ID for the object and its derivatives.
1597 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a><a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a></dd><dt>Annotations</dt><dd>
1598 <span class="name">@Since</span><span class="args">(<span>
1599
1600 <span class="symbol">&quot;1.5.0&quot;</span>
1601 </span>)</span>
1602
1603 </dd></dl></div>
1604 </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1605 <a id="wait():Unit"></a>
1606 <a id="wait():Unit"></a>
1607 <h4 class="signature">
1608 <span class="modifier_kind">
1609 <span class="modifier">final </span>
1610 <span class="kind">def</span>
1611 </span>
1612 <span class="symbol">
1613 <span class="name">wait</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1614 </span>
1615 </h4><span class="permalink">
1616 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@wait():Unit" title="Permalink" target="_top">
1617 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1618 </a>
1619 </span>
1620 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
1621 <span class="name">@throws</span><span class="args">(<span>
1622
1623 <span class="defval" name="classOf[java.lang.InterruptedException]">...</span>
1624 </span>)</span>
1625
1626 </dd></dl></div>
1627 </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1628 <a id="wait(x$1:Long,x$2:Int):Unit"></a>
1629 <a id="wait(Long,Int):Unit"></a>
1630 <h4 class="signature">
1631 <span class="modifier_kind">
1632 <span class="modifier">final </span>
1633 <span class="kind">def</span>
1634 </span>
1635 <span class="symbol">
1636 <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>, <span name="arg1">arg1: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1637 </span>
1638 </h4><span class="permalink">
1639 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@wait(x$1:Long,x$2:Int):Unit" title="Permalink" target="_top">
1640 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1641 </a>
1642 </span>
1643 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
1644 <span class="name">@throws</span><span class="args">(<span>
1645
1646 <span class="defval" name="classOf[java.lang.InterruptedException]">...</span>
1647 </span>)</span>
1648
1649 </dd></dl></div>
1650 </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1651 <a id="wait(x$1:Long):Unit"></a>
1652 <a id="wait(Long):Unit"></a>
1653 <h4 class="signature">
1654 <span class="modifier_kind">
1655 <span class="modifier">final </span>
1656 <span class="kind">def</span>
1657 </span>
1658 <span class="symbol">
1659 <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1660 </span>
1661 </h4><span class="permalink">
1662 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@wait(x$1:Long):Unit" title="Permalink" target="_top">
1663 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1664 </a>
1665 </span>
1666 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
1667 <span class="name">@throws</span><span class="args">(<span>
1668
1669 <span class="defval" name="classOf[java.lang.InterruptedException]">...</span>
1670 </span>)</span>
1671
1672 </dd></dl></div>
1673 </li><li name="org.apache.spark.ml.feature.RFormulaModel#write" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1674 <a id="write:org.apache.spark.ml.util.MLWriter"></a>
1675 <a id="write:MLWriter"></a>
1676 <h4 class="signature">
1677 <span class="modifier_kind">
1678 <span class="modifier"></span>
1679 <span class="kind">def</span>
1680 </span>
1681 <span class="symbol">
1682 <span class="name">write</span><span class="result">: <a href="../util/MLWriter.html" class="extype" name="org.apache.spark.ml.util.MLWriter">MLWriter</a></span>
1683 </span>
1684 </h4><span class="permalink">
1685 <a href="../../../../../index.html#org.apache.spark.ml.feature.RFormulaModel@write:org.apache.spark.ml.util.MLWriter" title="Permalink" target="_top">
1686 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1687 </a>
1688 </span>
1689 <p class="shortcomment cmt">Returns an <code>MLWriter</code> instance for this ML instance.</p><div class="fullcomment"><div class="comment cmt"><p>Returns an <code>MLWriter</code> instance for this ML instance.
1690 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a><a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a></dd><dt>Annotations</dt><dd>
1691 <span class="name">@Since</span><span class="args">(<span>
1692
1693 <span class="symbol">&quot;2.0.0&quot;</span>
1694 </span>)</span>
1695
1696 </dd></dl></div>
1697 </li></ol>
1698 </div>
1699
1700
1701
1702
1703 </div>
1704
1705 <div id="inheritedMembers">
1706 <div class="parent" name="org.apache.spark.ml.util.MLWritable">
1707 <h3>Inherited from <a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a></h3>
1708 </div><div class="parent" name="org.apache.spark.ml.feature.RFormulaBase">
1709 <h3>Inherited from <span class="extype" name="org.apache.spark.ml.feature.RFormulaBase">RFormulaBase</span></h3>
1710 </div><div class="parent" name="org.apache.spark.ml.param.shared.HasHandleInvalid">
1711 <h3>Inherited from <a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a></h3>
1712 </div><div class="parent" name="org.apache.spark.ml.param.shared.HasLabelCol">
1713 <h3>Inherited from <a href="../param/shared/HasLabelCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasLabelCol">HasLabelCol</a></h3>
1714 </div><div class="parent" name="org.apache.spark.ml.param.shared.HasFeaturesCol">
1715 <h3>Inherited from <a href="../param/shared/HasFeaturesCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasFeaturesCol">HasFeaturesCol</a></h3>
1716 </div><div class="parent" name="org.apache.spark.ml.Model">
1717 <h3>Inherited from <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>]</h3>
1718 </div><div class="parent" name="org.apache.spark.ml.Transformer">
1719 <h3>Inherited from <a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a></h3>
1720 </div><div class="parent" name="org.apache.spark.ml.PipelineStage">
1721 <h3>Inherited from <a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a></h3>
1722 </div><div class="parent" name="org.apache.spark.internal.Logging">
1723 <h3>Inherited from <a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></h3>
1724 </div><div class="parent" name="org.apache.spark.ml.param.Params">
1725 <h3>Inherited from <a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></h3>
1726 </div><div class="parent" name="scala.Serializable">
1727 <h3>Inherited from <span class="extype" name="scala.Serializable">Serializable</span></h3>
1728 </div><div class="parent" name="java.io.Serializable">
1729 <h3>Inherited from <span class="extype" name="java.io.Serializable">Serializable</span></h3>
1730 </div><div class="parent" name="org.apache.spark.ml.util.Identifiable">
1731 <h3>Inherited from <a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a></h3>
1732 </div><div class="parent" name="scala.AnyRef">
1733 <h3>Inherited from <span class="extype" name="scala.AnyRef">AnyRef</span></h3>
1734 </div><div class="parent" name="scala.Any">
1735 <h3>Inherited from <span class="extype" name="scala.Any">Any</span></h3>
1736 </div>
1737
1738 </div>
1739
1740 <div id="groupedMembers">
1741 <div class="group" name="param">
1742 <h3>Parameters</h3>
1743 <div class="comment cmt"><p>A list of (hyper-)parameter keys this algorithm can take. Users can set and get
1744 the parameter values through setters and getters, respectively.</p></div>
1745 </div><div class="group" name="Ungrouped">
1746 <h3>Members</h3>
1747
1748 </div><div class="group" name="getParam">
1749 <h3>Parameter getters</h3>
1750
1751 </div>
1752 </div>
1753
1754 </div>
1755
1756 <div id="tooltip"></div>
1757
1758 <div id="footer"> </div>
1759
1760
1761 </body>
1762 </html>