[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 / QuantileDiscretizer.html
1 <!DOCTYPE html >
2 <html>
3 <head>
4 <title>QuantileDiscretizer - Spark 2.3.0 ScalaDoc - org.apache.spark.ml.feature.QuantileDiscretizer</title>
5 <meta name="description" content="QuantileDiscretizer - Spark 2.3.0 ScalaDoc - org.apache.spark.ml.feature.QuantileDiscretizer" />
6 <meta name="keywords" content="QuantileDiscretizer Spark 2.3.0 ScalaDoc org.apache.spark.ml.feature.QuantileDiscretizer" />
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.QuantileDiscretizer';
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="QuantileDiscretizer$.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="QuantileDiscretizer$.html" title="See companion object">QuantileDiscretizer</a></h1><h3><span class="morelinks"><div>
34 Related Docs:
35 <a href="QuantileDiscretizer$.html" title="See companion object">object QuantileDiscretizer</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.QuantileDiscretizer" 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">final </span>
47 <span class="kind">class</span>
48 </span>
49 <span class="symbol">
50 <span class="name">QuantileDiscretizer</span><span class="result"> extends <a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a>[<a href="Bucketizer.html" class="extype" name="org.apache.spark.ml.feature.Bucketizer">Bucketizer</a>] with <span class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizerBase">QuantileDiscretizerBase</span> with <a href="../util/DefaultParamsWritable.html" class="extype" name="org.apache.spark.ml.util.DefaultParamsWritable">DefaultParamsWritable</a> with <a href="../param/shared/HasInputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasInputCols">HasInputCols</a> with <a href="../param/shared/HasOutputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasOutputCols">HasOutputCols</a></span>
51 </span>
52 </h4>
53
54 <div id="comment" class="fullcommenttop"><div class="comment cmt"><p><code>QuantileDiscretizer</code> takes a column with continuous features and outputs a column with binned
55 categorical features. The number of bins can be set using the <code>numBuckets</code> parameter. It is
56 possible that the number of buckets used will be smaller than this value, for example, if there
57 are too few distinct values of the input to create enough distinct quantiles.
58 Since 2.3.0, <code>QuantileDiscretizer</code> can map multiple columns at once by setting the <code>inputCols</code>
59 parameter. If both of the <code>inputCol</code> and <code>inputCols</code> parameters are set, an Exception will be
60 thrown. To specify the number of buckets for each column, the <code>numBucketsArray</code> parameter can
61 be set, or if the number of buckets should be the same across columns, <code>numBuckets</code> can be
62 set as a convenience.</p><p>NaN handling:
63 null and NaN values will be ignored from the column during <code>QuantileDiscretizer</code> fitting. This
64 will produce a <code>Bucketizer</code> model for making predictions. During the transformation,
65 <code>Bucketizer</code> will raise an error when it finds NaN values in the dataset, but the user can
66 also choose to either keep or remove NaN values within the dataset by setting <code>handleInvalid</code>.
67 If the user chooses to keep NaN values, they will be handled specially and placed into their own
68 bucket, for example, if 4 buckets are used, then non-NaN data will be put into buckets[0-3],
69 but NaNs will be counted in a special bucket[4].</p><p>Algorithm: The bin ranges are chosen using an approximate algorithm (see the documentation for
70 <code>org.apache.spark.sql.DataFrameStatFunctions.approxQuantile</code>
71 for a detailed description). The precision of the approximation can be controlled with the
72 <code>relativeError</code> parameter. The lower and upper bin bounds will be <code>-Infinity</code> and <code>+Infinity</code>,
73 covering all real values.
74 </p></div><dl class="attributes block"> <dt>Annotations</dt><dd>
75 <span class="name">@Since</span><span class="args">(<span>
76
77 <span class="symbol">&quot;1.6.0&quot;</span>
78 </span>)</span>
79
80 </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/QuantileDiscretizer.scala" target="_blank">QuantileDiscretizer.scala</a></dd></dl><div class="toggleContainer block">
81 <span class="toggle">Linear Supertypes</span>
82 <div class="superTypes hiddenContent"><a href="../param/shared/HasOutputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasOutputCols">HasOutputCols</a>, <a href="../param/shared/HasInputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasInputCols">HasInputCols</a>, <a href="../util/DefaultParamsWritable.html" class="extype" name="org.apache.spark.ml.util.DefaultParamsWritable">DefaultParamsWritable</a>, <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.QuantileDiscretizerBase">QuantileDiscretizerBase</span>, <a href="../param/shared/HasOutputCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasOutputCol">HasOutputCol</a>, <a href="../param/shared/HasInputCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasInputCol">HasInputCol</a>, <a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a>, <a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a>[<a href="Bucketizer.html" class="extype" name="org.apache.spark.ml.feature.Bucketizer">Bucketizer</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>
83 </div></div>
84
85
86 <div id="mbrsel">
87 <div id="textfilter"><span class="pre"></span><span class="input"><input id="mbrsel-input" type="text" accesskey="/" /></span><span class="post"></span></div>
88 <div id="order">
89 <span class="filtertype">Ordering</span>
90 <ol>
91 <li class="group out"><span>Grouped</span></li>
92 <li class="alpha in"><span>Alphabetic</span></li>
93 <li class="inherit out"><span>By Inheritance</span></li>
94 </ol>
95 </div>
96 <div id="ancestors">
97 <span class="filtertype">Inherited<br />
98 </span>
99 <ol id="linearization">
100 <li class="in" name="org.apache.spark.ml.feature.QuantileDiscretizer"><span>QuantileDiscretizer</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasOutputCols"><span>HasOutputCols</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasInputCols"><span>HasInputCols</span></li><li class="in" name="org.apache.spark.ml.util.DefaultParamsWritable"><span>DefaultParamsWritable</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.QuantileDiscretizerBase"><span>QuantileDiscretizerBase</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasOutputCol"><span>HasOutputCol</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasInputCol"><span>HasInputCol</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.Estimator"><span>Estimator</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>
101 </ol>
102 </div><div id="ancestors">
103 <span class="filtertype"></span>
104 <ol>
105 <li class="hideall out"><span>Hide All</span></li>
106 <li class="showall in"><span>Show All</span></li>
107 </ol>
108 </div>
109 <div id="visbl">
110 <span class="filtertype">Visibility</span>
111 <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol>
112 </div>
113 </div>
114
115 <div id="template">
116 <div id="allMembers">
117 <div id="constructors" class="members">
118 <h3>Instance Constructors</h3>
119 <ol><li name="org.apache.spark.ml.feature.QuantileDiscretizer#&lt;init&gt;" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
120 <a id="&lt;init&gt;():org.apache.spark.ml.feature.QuantileDiscretizer"></a>
121 <a id="&lt;init&gt;:QuantileDiscretizer"></a>
122 <h4 class="signature">
123 <span class="modifier_kind">
124 <span class="modifier"></span>
125 <span class="kind">new</span>
126 </span>
127 <span class="symbol">
128 <span class="name">QuantileDiscretizer</span><span class="params">()</span>
129 </span>
130 </h4><span class="permalink">
131 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@&lt;init&gt;():org.apache.spark.ml.feature.QuantileDiscretizer" title="Permalink" target="_top">
132 <img src="../../../../../lib/permalink.png" alt="Permalink" />
133 </a>
134 </span>
135 <div class="fullcomment"><dl class="attributes block"> <dt>Annotations</dt><dd>
136 <span class="name">@Since</span><span class="args">(<span>
137
138 <span class="symbol">&quot;1.6.0&quot;</span>
139 </span>)</span>
140
141 </dd></dl></div>
142 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#&lt;init&gt;" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
143 <a id="&lt;init&gt;(uid:String):org.apache.spark.ml.feature.QuantileDiscretizer"></a>
144 <a id="&lt;init&gt;:QuantileDiscretizer"></a>
145 <h4 class="signature">
146 <span class="modifier_kind">
147 <span class="modifier"></span>
148 <span class="kind">new</span>
149 </span>
150 <span class="symbol">
151 <span class="name">QuantileDiscretizer</span><span class="params">(<span name="uid">uid: <span class="extype" name="scala.Predef.String">String</span></span>)</span>
152 </span>
153 </h4><span class="permalink">
154 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@&lt;init&gt;(uid:String):org.apache.spark.ml.feature.QuantileDiscretizer" title="Permalink" target="_top">
155 <img src="../../../../../lib/permalink.png" alt="Permalink" />
156 </a>
157 </span>
158 <div class="fullcomment"><dl class="attributes block"> <dt>Annotations</dt><dd>
159 <span class="name">@Since</span><span class="args">(<span>
160
161 <span class="symbol">&quot;1.6.0&quot;</span>
162 </span>)</span>
163
164 </dd></dl></div>
165 </li></ol>
166 </div>
167
168
169
170
171
172 <div id="values" class="values members">
173 <h3>Value Members</h3>
174 <ol><li name="scala.AnyRef#!=" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
175 <a id="!=(x$1:Any):Boolean"></a>
176 <a id="!=(Any):Boolean"></a>
177 <h4 class="signature">
178 <span class="modifier_kind">
179 <span class="modifier">final </span>
180 <span class="kind">def</span>
181 </span>
182 <span class="symbol">
183 <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>
184 </span>
185 </h4><span class="permalink">
186 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@!=(x$1:Any):Boolean" title="Permalink" target="_top">
187 <img src="../../../../../lib/permalink.png" alt="Permalink" />
188 </a>
189 </span>
190 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
191 </li><li name="scala.AnyRef###" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
192 <a id="##():Int"></a>
193 <a id="##():Int"></a>
194 <h4 class="signature">
195 <span class="modifier_kind">
196 <span class="modifier">final </span>
197 <span class="kind">def</span>
198 </span>
199 <span class="symbol">
200 <span title="gt4s: $hash$hash" class="name">##</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
201 </span>
202 </h4><span class="permalink">
203 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@##():Int" title="Permalink" target="_top">
204 <img src="../../../../../lib/permalink.png" alt="Permalink" />
205 </a>
206 </span>
207 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
208 </li><li name="org.apache.spark.ml.param.Params#$" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
209 <a id="$[T](param:org.apache.spark.ml.param.Param[T]):T"></a>
210 <a id="$[T](Param[T]):T"></a>
211 <h4 class="signature">
212 <span class="modifier_kind">
213 <span class="modifier">final </span>
214 <span class="kind">def</span>
215 </span>
216 <span class="symbol">
217 <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>
218 </span>
219 </h4><span class="permalink">
220 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@$[T](param:org.apache.spark.ml.param.Param[T]):T" title="Permalink" target="_top">
221 <img src="../../../../../lib/permalink.png" alt="Permalink" />
222 </a>
223 </span>
224 <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>.
225 </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>
226 </li><li name="scala.AnyRef#==" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
227 <a id="==(x$1:Any):Boolean"></a>
228 <a id="==(Any):Boolean"></a>
229 <h4 class="signature">
230 <span class="modifier_kind">
231 <span class="modifier">final </span>
232 <span class="kind">def</span>
233 </span>
234 <span class="symbol">
235 <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>
236 </span>
237 </h4><span class="permalink">
238 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@==(x$1:Any):Boolean" title="Permalink" target="_top">
239 <img src="../../../../../lib/permalink.png" alt="Permalink" />
240 </a>
241 </span>
242 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
243 </li><li name="scala.Any#asInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
244 <a id="asInstanceOf[T0]:T0"></a>
245 <a id="asInstanceOf[T0]:T0"></a>
246 <h4 class="signature">
247 <span class="modifier_kind">
248 <span class="modifier">final </span>
249 <span class="kind">def</span>
250 </span>
251 <span class="symbol">
252 <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>
253 </span>
254 </h4><span class="permalink">
255 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@asInstanceOf[T0]:T0" title="Permalink" target="_top">
256 <img src="../../../../../lib/permalink.png" alt="Permalink" />
257 </a>
258 </span>
259 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
260 </li><li name="org.apache.spark.ml.param.Params#clear" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
261 <a id="clear(param:org.apache.spark.ml.param.Param[_]):Params.this.type"></a>
262 <a id="clear(Param[_]):QuantileDiscretizer.this.type"></a>
263 <h4 class="signature">
264 <span class="modifier_kind">
265 <span class="modifier">final </span>
266 <span class="kind">def</span>
267 </span>
268 <span class="symbol">
269 <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.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
270 </span>
271 </h4><span class="permalink">
272 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@clear(param:org.apache.spark.ml.param.Param[_]):Params.this.type" title="Permalink" target="_top">
273 <img src="../../../../../lib/permalink.png" alt="Permalink" />
274 </a>
275 </span>
276 <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.
277 </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>
278 </li><li name="scala.AnyRef#clone" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
279 <a id="clone():Object"></a>
280 <a id="clone():AnyRef"></a>
281 <h4 class="signature">
282 <span class="modifier_kind">
283 <span class="modifier"></span>
284 <span class="kind">def</span>
285 </span>
286 <span class="symbol">
287 <span class="name">clone</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.AnyRef">AnyRef</span></span>
288 </span>
289 </h4><span class="permalink">
290 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@clone():Object" title="Permalink" target="_top">
291 <img src="../../../../../lib/permalink.png" alt="Permalink" />
292 </a>
293 </span>
294 <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>
295 <span class="name">@throws</span><span class="args">(<span>
296
297 <span class="defval" name="classOf[java.lang.CloneNotSupportedException]">...</span>
298 </span>)</span>
299
300 </dd></dl></div>
301 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#copy" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
302 <a id="copy(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.feature.QuantileDiscretizer"></a>
303 <a id="copy(ParamMap):QuantileDiscretizer"></a>
304 <h4 class="signature">
305 <span class="modifier_kind">
306 <span class="modifier"></span>
307 <span class="kind">def</span>
308 </span>
309 <span class="symbol">
310 <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.QuantileDiscretizer">QuantileDiscretizer</a></span>
311 </span>
312 </h4><span class="permalink">
313 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@copy(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.feature.QuantileDiscretizer" title="Permalink" target="_top">
314 <img src="../../../../../lib/permalink.png" alt="Permalink" />
315 </a>
316 </span>
317 <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.
318 Subclasses should implement this method and set the return type properly.
319 See <code>defaultCopy()</code>.
320 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a><a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</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>
321 <span class="name">@Since</span><span class="args">(<span>
322
323 <span class="symbol">&quot;1.6.0&quot;</span>
324 </span>)</span>
325
326 </dd></dl></div>
327 </li><li name="org.apache.spark.ml.param.Params#copyValues" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
328 <a id="copyValues[T&lt;:org.apache.spark.ml.param.Params](to:T,extra:org.apache.spark.ml.param.ParamMap):T"></a>
329 <a id="copyValues[T&lt;:Params](T,ParamMap):T"></a>
330 <h4 class="signature">
331 <span class="modifier_kind">
332 <span class="modifier"></span>
333 <span class="kind">def</span>
334 </span>
335 <span class="symbol">
336 <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>
337 </span>
338 </h4><span class="permalink">
339 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@copyValues[T&lt;:org.apache.spark.ml.param.Params](to:T,extra:org.apache.spark.ml.param.ParamMap):T" title="Permalink" target="_top">
340 <img src="../../../../../lib/permalink.png" alt="Permalink" />
341 </a>
342 </span>
343 <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.
344 Default Params are copied from and to <code>defaultParamMap</code>, and explicitly set Params are
345 copied from and to <code>paramMap</code>.
346 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
347 share the same set of default Params.
348 </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
349 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>
350 </li><li name="org.apache.spark.ml.param.Params#defaultCopy" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
351 <a id="defaultCopy[T&lt;:org.apache.spark.ml.param.Params](extra:org.apache.spark.ml.param.ParamMap):T"></a>
352 <a id="defaultCopy[T&lt;:Params](ParamMap):T"></a>
353 <h4 class="signature">
354 <span class="modifier_kind">
355 <span class="modifier">final </span>
356 <span class="kind">def</span>
357 </span>
358 <span class="symbol">
359 <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>
360 </span>
361 </h4><span class="permalink">
362 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@defaultCopy[T&lt;:org.apache.spark.ml.param.Params](extra:org.apache.spark.ml.param.ParamMap):T" title="Permalink" target="_top">
363 <img src="../../../../../lib/permalink.png" alt="Permalink" />
364 </a>
365 </span>
366 <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.
367 It tries to create a new instance with the same UID.
368 Then it copies the embedded and extra parameters over and returns the new instance.
369 </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>
370 </li><li name="scala.AnyRef#eq" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
371 <a id="eq(x$1:AnyRef):Boolean"></a>
372 <a id="eq(AnyRef):Boolean"></a>
373 <h4 class="signature">
374 <span class="modifier_kind">
375 <span class="modifier">final </span>
376 <span class="kind">def</span>
377 </span>
378 <span class="symbol">
379 <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>
380 </span>
381 </h4><span class="permalink">
382 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@eq(x$1:AnyRef):Boolean" title="Permalink" target="_top">
383 <img src="../../../../../lib/permalink.png" alt="Permalink" />
384 </a>
385 </span>
386 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
387 </li><li name="scala.AnyRef#equals" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
388 <a id="equals(x$1:Any):Boolean"></a>
389 <a id="equals(Any):Boolean"></a>
390 <h4 class="signature">
391 <span class="modifier_kind">
392 <span class="modifier"></span>
393 <span class="kind">def</span>
394 </span>
395 <span class="symbol">
396 <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>
397 </span>
398 </h4><span class="permalink">
399 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@equals(x$1:Any):Boolean" title="Permalink" target="_top">
400 <img src="../../../../../lib/permalink.png" alt="Permalink" />
401 </a>
402 </span>
403 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
404 </li><li name="org.apache.spark.ml.param.Params#explainParam" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
405 <a id="explainParam(param:org.apache.spark.ml.param.Param[_]):String"></a>
406 <a id="explainParam(Param[_]):String"></a>
407 <h4 class="signature">
408 <span class="modifier_kind">
409 <span class="modifier"></span>
410 <span class="kind">def</span>
411 </span>
412 <span class="symbol">
413 <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>
414 </span>
415 </h4><span class="permalink">
416 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@explainParam(param:org.apache.spark.ml.param.Param[_]):String" title="Permalink" target="_top">
417 <img src="../../../../../lib/permalink.png" alt="Permalink" />
418 </a>
419 </span>
420 <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
421 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>
422 </li><li name="org.apache.spark.ml.param.Params#explainParams" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
423 <a id="explainParams():String"></a>
424 <a id="explainParams():String"></a>
425 <h4 class="signature">
426 <span class="modifier_kind">
427 <span class="modifier"></span>
428 <span class="kind">def</span>
429 </span>
430 <span class="symbol">
431 <span class="name">explainParams</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
432 </span>
433 </h4><span class="permalink">
434 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@explainParams():String" title="Permalink" target="_top">
435 <img src="../../../../../lib/permalink.png" alt="Permalink" />
436 </a>
437 </span>
438 <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>.
439 </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>
440 </li><li name="org.apache.spark.ml.param.Params#extractParamMap" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
441 <a id="extractParamMap():org.apache.spark.ml.param.ParamMap"></a>
442 <a id="extractParamMap():ParamMap"></a>
443 <h4 class="signature">
444 <span class="modifier_kind">
445 <span class="modifier">final </span>
446 <span class="kind">def</span>
447 </span>
448 <span class="symbol">
449 <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>
450 </span>
451 </h4><span class="permalink">
452 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@extractParamMap():org.apache.spark.ml.param.ParamMap" title="Permalink" target="_top">
453 <img src="../../../../../lib/permalink.png" alt="Permalink" />
454 </a>
455 </span>
456 <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.
457 </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>
458 </li><li name="org.apache.spark.ml.param.Params#extractParamMap" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
459 <a id="extractParamMap(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.param.ParamMap"></a>
460 <a id="extractParamMap(ParamMap):ParamMap"></a>
461 <h4 class="signature">
462 <span class="modifier_kind">
463 <span class="modifier">final </span>
464 <span class="kind">def</span>
465 </span>
466 <span class="symbol">
467 <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>
468 </span>
469 </h4><span class="permalink">
470 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@extractParamMap(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.param.ParamMap" title="Permalink" target="_top">
471 <img src="../../../../../lib/permalink.png" alt="Permalink" />
472 </a>
473 </span>
474 <p class="shortcomment cmt">Extracts the embedded default param values and user-supplied values, and then merges them with
475 extra values from input into a flat param map, where the latter value is used if there exist
476 conflicts, i.e., with ordering:
477 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
478 extra values from input into a flat param map, where the latter value is used if there exist
479 conflicts, i.e., with ordering:
480 default param values less than user-supplied values less than extra.
481 </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>
482 </li><li name="scala.AnyRef#finalize" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
483 <a id="finalize():Unit"></a>
484 <a id="finalize():Unit"></a>
485 <h4 class="signature">
486 <span class="modifier_kind">
487 <span class="modifier"></span>
488 <span class="kind">def</span>
489 </span>
490 <span class="symbol">
491 <span class="name">finalize</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
492 </span>
493 </h4><span class="permalink">
494 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@finalize():Unit" title="Permalink" target="_top">
495 <img src="../../../../../lib/permalink.png" alt="Permalink" />
496 </a>
497 </span>
498 <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>
499 <span class="name">@throws</span><span class="args">(<span>
500
501 <span class="symbol">classOf[java.lang.Throwable]</span>
502 </span>)</span>
503
504 </dd></dl></div>
505 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#fit" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
506 <a id="fit(dataset:org.apache.spark.sql.Dataset[_]):org.apache.spark.ml.feature.Bucketizer"></a>
507 <a id="fit(Dataset[_]):Bucketizer"></a>
508 <h4 class="signature">
509 <span class="modifier_kind">
510 <span class="modifier"></span>
511 <span class="kind">def</span>
512 </span>
513 <span class="symbol">
514 <span class="name">fit</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="Bucketizer.html" class="extype" name="org.apache.spark.ml.feature.Bucketizer">Bucketizer</a></span>
515 </span>
516 </h4><span class="permalink">
517 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@fit(dataset:org.apache.spark.sql.Dataset[_]):org.apache.spark.ml.feature.Bucketizer" title="Permalink" target="_top">
518 <img src="../../../../../lib/permalink.png" alt="Permalink" />
519 </a>
520 </span>
521 <p class="shortcomment cmt">Fits a model to the input data.</p><div class="fullcomment"><div class="comment cmt"><p>Fits a model to the input data.
522 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a><a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a></dd><dt>Annotations</dt><dd>
523 <span class="name">@Since</span><span class="args">(<span>
524
525 <span class="symbol">&quot;2.0.0&quot;</span>
526 </span>)</span>
527
528 </dd></dl></div>
529 </li><li name="org.apache.spark.ml.Estimator#fit" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
530 <a id="fit(dataset:org.apache.spark.sql.Dataset[_],paramMaps:Array[org.apache.spark.ml.param.ParamMap]):Seq[M]"></a>
531 <a id="fit(Dataset[_],Array[ParamMap]):Seq[Bucketizer]"></a>
532 <h4 class="signature">
533 <span class="modifier_kind">
534 <span class="modifier"></span>
535 <span class="kind">def</span>
536 </span>
537 <span class="symbol">
538 <span class="name">fit</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="paramMaps">paramMaps: <span class="extype" name="scala.Array">Array</span>[<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="scala.Seq">Seq</span>[<a href="Bucketizer.html" class="extype" name="org.apache.spark.ml.feature.Bucketizer">Bucketizer</a>]</span>
539 </span>
540 </h4><span class="permalink">
541 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@fit(dataset:org.apache.spark.sql.Dataset[_],paramMaps:Array[org.apache.spark.ml.param.ParamMap]):Seq[M]" title="Permalink" target="_top">
542 <img src="../../../../../lib/permalink.png" alt="Permalink" />
543 </a>
544 </span>
545 <p class="shortcomment cmt">Fits multiple models to the input data with multiple sets of parameters.</p><div class="fullcomment"><div class="comment cmt"><p>Fits multiple models to the input data with multiple sets of parameters.
546 The default implementation uses a for loop on each parameter map.
547 Subclasses could override this to optimize multi-model training.
548 </p></div><dl class="paramcmts block"><dt class="param">dataset</dt><dd class="cmt"><p>input dataset</p></dd><dt class="param">paramMaps</dt><dd class="cmt"><p>An array of parameter maps.
549 These values override any specified in this Estimator's embedded ParamMap.</p></dd><dt>returns</dt><dd class="cmt"><p>fitted models, matching the input parameter maps</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a></dd><dt>Annotations</dt><dd>
550 <span class="name">@Since</span><span class="args">(<span>
551
552 <span class="symbol">&quot;2.0.0&quot;</span>
553 </span>)</span>
554
555 </dd></dl></div>
556 </li><li name="org.apache.spark.ml.Estimator#fit" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
557 <a id="fit(dataset:org.apache.spark.sql.Dataset[_],paramMap:org.apache.spark.ml.param.ParamMap):M"></a>
558 <a id="fit(Dataset[_],ParamMap):Bucketizer"></a>
559 <h4 class="signature">
560 <span class="modifier_kind">
561 <span class="modifier"></span>
562 <span class="kind">def</span>
563 </span>
564 <span class="symbol">
565 <span class="name">fit</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="Bucketizer.html" class="extype" name="org.apache.spark.ml.feature.Bucketizer">Bucketizer</a></span>
566 </span>
567 </h4><span class="permalink">
568 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@fit(dataset:org.apache.spark.sql.Dataset[_],paramMap:org.apache.spark.ml.param.ParamMap):M" title="Permalink" target="_top">
569 <img src="../../../../../lib/permalink.png" alt="Permalink" />
570 </a>
571 </span>
572 <p class="shortcomment cmt">Fits a single model to the input data with provided parameter map.</p><div class="fullcomment"><div class="comment cmt"><p>Fits a single model to the input data with provided parameter map.
573 </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>Parameter map.
574 These values override any specified in this Estimator's embedded ParamMap.</p></dd><dt>returns</dt><dd class="cmt"><p>fitted model</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a></dd><dt>Annotations</dt><dd>
575 <span class="name">@Since</span><span class="args">(<span>
576
577 <span class="symbol">&quot;2.0.0&quot;</span>
578 </span>)</span>
579
580 </dd></dl></div>
581 </li><li name="org.apache.spark.ml.Estimator#fit" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
582 <a id="fit(dataset:org.apache.spark.sql.Dataset[_],firstParamPair:org.apache.spark.ml.param.ParamPair[_],otherParamPairs:org.apache.spark.ml.param.ParamPair[_]*):M"></a>
583 <a id="fit(Dataset[_],ParamPair[_],ParamPair[_]*):Bucketizer"></a>
584 <h4 class="signature">
585 <span class="modifier_kind">
586 <span class="modifier"></span>
587 <span class="kind">def</span>
588 </span>
589 <span class="symbol">
590 <span class="name">fit</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="Bucketizer.html" class="extype" name="org.apache.spark.ml.feature.Bucketizer">Bucketizer</a></span>
591 </span>
592 </h4><span class="permalink">
593 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@fit(dataset:org.apache.spark.sql.Dataset[_],firstParamPair:org.apache.spark.ml.param.ParamPair[_],otherParamPairs:org.apache.spark.ml.param.ParamPair[_]*):M" title="Permalink" target="_top">
594 <img src="../../../../../lib/permalink.png" alt="Permalink" />
595 </a>
596 </span>
597 <p class="shortcomment cmt">Fits a single model to the input data with optional parameters.</p><div class="fullcomment"><div class="comment cmt"><p>Fits a single model to the input data with optional parameters.
598 </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, overrides embedded params</p></dd><dt class="param">otherParamPairs</dt><dd class="cmt"><p>other param pairs. These values override any specified in this
599 Estimator's embedded ParamMap.</p></dd><dt>returns</dt><dd class="cmt"><p>fitted model</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a></dd><dt>Annotations</dt><dd>
600 <span class="name">@Since</span><span class="args">(<span>
601
602 <span class="symbol">&quot;2.0.0&quot;</span>
603 </span>)</span>
604
605 <span class="name">@varargs</span><span class="args">()</span>
606
607 </dd></dl></div>
608 </li><li name="org.apache.spark.ml.param.Params#get" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
609 <a id="get[T](param:org.apache.spark.ml.param.Param[T]):Option[T]"></a>
610 <a id="get[T](Param[T]):Option[T]"></a>
611 <h4 class="signature">
612 <span class="modifier_kind">
613 <span class="modifier">final </span>
614 <span class="kind">def</span>
615 </span>
616 <span class="symbol">
617 <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>
618 </span>
619 </h4><span class="permalink">
620 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@get[T](param:org.apache.spark.ml.param.Param[T]):Option[T]" title="Permalink" target="_top">
621 <img src="../../../../../lib/permalink.png" alt="Permalink" />
622 </a>
623 </span>
624 <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.
625 </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>
626 </li><li name="scala.AnyRef#getClass" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
627 <a id="getClass():Class[_]"></a>
628 <a id="getClass():Class[_]"></a>
629 <h4 class="signature">
630 <span class="modifier_kind">
631 <span class="modifier">final </span>
632 <span class="kind">def</span>
633 </span>
634 <span class="symbol">
635 <span class="name">getClass</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.Class">Class</span>[_]</span>
636 </span>
637 </h4><span class="permalink">
638 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getClass():Class[_]" title="Permalink" target="_top">
639 <img src="../../../../../lib/permalink.png" alt="Permalink" />
640 </a>
641 </span>
642 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
643 </li><li name="org.apache.spark.ml.param.Params#getDefault" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
644 <a id="getDefault[T](param:org.apache.spark.ml.param.Param[T]):Option[T]"></a>
645 <a id="getDefault[T](Param[T]):Option[T]"></a>
646 <h4 class="signature">
647 <span class="modifier_kind">
648 <span class="modifier">final </span>
649 <span class="kind">def</span>
650 </span>
651 <span class="symbol">
652 <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>
653 </span>
654 </h4><span class="permalink">
655 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getDefault[T](param:org.apache.spark.ml.param.Param[T]):Option[T]" title="Permalink" target="_top">
656 <img src="../../../../../lib/permalink.png" alt="Permalink" />
657 </a>
658 </span>
659 <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.
660 </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>
661 </li><li name="org.apache.spark.ml.param.shared.HasHandleInvalid#getHandleInvalid" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
662 <a id="getHandleInvalid:String"></a>
663 <a id="getHandleInvalid:String"></a>
664 <h4 class="signature">
665 <span class="modifier_kind">
666 <span class="modifier">final </span>
667 <span class="kind">def</span>
668 </span>
669 <span class="symbol">
670 <span class="name">getHandleInvalid</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
671 </span>
672 </h4><span class="permalink">
673 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getHandleInvalid:String" title="Permalink" target="_top">
674 <img src="../../../../../lib/permalink.png" alt="Permalink" />
675 </a>
676 </span>
677 <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>
678 </li><li name="org.apache.spark.ml.param.shared.HasInputCol#getInputCol" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
679 <a id="getInputCol:String"></a>
680 <a id="getInputCol:String"></a>
681 <h4 class="signature">
682 <span class="modifier_kind">
683 <span class="modifier">final </span>
684 <span class="kind">def</span>
685 </span>
686 <span class="symbol">
687 <span class="name">getInputCol</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
688 </span>
689 </h4><span class="permalink">
690 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getInputCol:String" title="Permalink" target="_top">
691 <img src="../../../../../lib/permalink.png" alt="Permalink" />
692 </a>
693 </span>
694 <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/HasInputCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasInputCol">HasInputCol</a></dd></dl></div>
695 </li><li name="org.apache.spark.ml.param.shared.HasInputCols#getInputCols" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
696 <a id="getInputCols:Array[String]"></a>
697 <a id="getInputCols:Array[String]"></a>
698 <h4 class="signature">
699 <span class="modifier_kind">
700 <span class="modifier">final </span>
701 <span class="kind">def</span>
702 </span>
703 <span class="symbol">
704 <span class="name">getInputCols</span><span class="result">: <span class="extype" name="scala.Array">Array</span>[<span class="extype" name="scala.Predef.String">String</span>]</span>
705 </span>
706 </h4><span class="permalink">
707 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getInputCols:Array[String]" title="Permalink" target="_top">
708 <img src="../../../../../lib/permalink.png" alt="Permalink" />
709 </a>
710 </span>
711 <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/HasInputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasInputCols">HasInputCols</a></dd></dl></div>
712 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizerBase#getNumBuckets" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
713 <a id="getNumBuckets:Int"></a>
714 <a id="getNumBuckets:Int"></a>
715 <h4 class="signature">
716 <span class="modifier_kind">
717 <span class="modifier"></span>
718 <span class="kind">def</span>
719 </span>
720 <span class="symbol">
721 <span class="name">getNumBuckets</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
722 </span>
723 </h4><span class="permalink">
724 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getNumBuckets:Int" title="Permalink" target="_top">
725 <img src="../../../../../lib/permalink.png" alt="Permalink" />
726 </a>
727 </span>
728 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>QuantileDiscretizerBase</dd></dl></div>
729 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizerBase#getNumBucketsArray" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
730 <a id="getNumBucketsArray:Array[Int]"></a>
731 <a id="getNumBucketsArray:Array[Int]"></a>
732 <h4 class="signature">
733 <span class="modifier_kind">
734 <span class="modifier"></span>
735 <span class="kind">def</span>
736 </span>
737 <span class="symbol">
738 <span class="name">getNumBucketsArray</span><span class="result">: <span class="extype" name="scala.Array">Array</span>[<span class="extype" name="scala.Int">Int</span>]</span>
739 </span>
740 </h4><span class="permalink">
741 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getNumBucketsArray:Array[Int]" title="Permalink" target="_top">
742 <img src="../../../../../lib/permalink.png" alt="Permalink" />
743 </a>
744 </span>
745 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>QuantileDiscretizerBase</dd></dl></div>
746 </li><li name="org.apache.spark.ml.param.Params#getOrDefault" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
747 <a id="getOrDefault[T](param:org.apache.spark.ml.param.Param[T]):T"></a>
748 <a id="getOrDefault[T](Param[T]):T"></a>
749 <h4 class="signature">
750 <span class="modifier_kind">
751 <span class="modifier">final </span>
752 <span class="kind">def</span>
753 </span>
754 <span class="symbol">
755 <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>
756 </span>
757 </h4><span class="permalink">
758 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getOrDefault[T](param:org.apache.spark.ml.param.Param[T]):T" title="Permalink" target="_top">
759 <img src="../../../../../lib/permalink.png" alt="Permalink" />
760 </a>
761 </span>
762 <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
763 if neither is set.
764 </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>
765 </li><li name="org.apache.spark.ml.param.shared.HasOutputCol#getOutputCol" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
766 <a id="getOutputCol:String"></a>
767 <a id="getOutputCol:String"></a>
768 <h4 class="signature">
769 <span class="modifier_kind">
770 <span class="modifier">final </span>
771 <span class="kind">def</span>
772 </span>
773 <span class="symbol">
774 <span class="name">getOutputCol</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
775 </span>
776 </h4><span class="permalink">
777 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getOutputCol:String" title="Permalink" target="_top">
778 <img src="../../../../../lib/permalink.png" alt="Permalink" />
779 </a>
780 </span>
781 <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/HasOutputCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasOutputCol">HasOutputCol</a></dd></dl></div>
782 </li><li name="org.apache.spark.ml.param.shared.HasOutputCols#getOutputCols" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
783 <a id="getOutputCols:Array[String]"></a>
784 <a id="getOutputCols:Array[String]"></a>
785 <h4 class="signature">
786 <span class="modifier_kind">
787 <span class="modifier">final </span>
788 <span class="kind">def</span>
789 </span>
790 <span class="symbol">
791 <span class="name">getOutputCols</span><span class="result">: <span class="extype" name="scala.Array">Array</span>[<span class="extype" name="scala.Predef.String">String</span>]</span>
792 </span>
793 </h4><span class="permalink">
794 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getOutputCols:Array[String]" title="Permalink" target="_top">
795 <img src="../../../../../lib/permalink.png" alt="Permalink" />
796 </a>
797 </span>
798 <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/HasOutputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasOutputCols">HasOutputCols</a></dd></dl></div>
799 </li><li name="org.apache.spark.ml.param.Params#getParam" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
800 <a id="getParam(paramName:String):org.apache.spark.ml.param.Param[Any]"></a>
801 <a id="getParam(String):Param[Any]"></a>
802 <h4 class="signature">
803 <span class="modifier_kind">
804 <span class="modifier"></span>
805 <span class="kind">def</span>
806 </span>
807 <span class="symbol">
808 <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>
809 </span>
810 </h4><span class="permalink">
811 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getParam(paramName:String):org.apache.spark.ml.param.Param[Any]" title="Permalink" target="_top">
812 <img src="../../../../../lib/permalink.png" alt="Permalink" />
813 </a>
814 </span>
815 <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>
816 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizerBase#getRelativeError" visbl="pub" data-isabs="false" fullComment="yes" group="getParam">
817 <a id="getRelativeError:Double"></a>
818 <a id="getRelativeError:Double"></a>
819 <h4 class="signature">
820 <span class="modifier_kind">
821 <span class="modifier"></span>
822 <span class="kind">def</span>
823 </span>
824 <span class="symbol">
825 <span class="name">getRelativeError</span><span class="result">: <span class="extype" name="scala.Double">Double</span></span>
826 </span>
827 </h4><span class="permalink">
828 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@getRelativeError:Double" title="Permalink" target="_top">
829 <img src="../../../../../lib/permalink.png" alt="Permalink" />
830 </a>
831 </span>
832 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>QuantileDiscretizerBase</dd></dl></div>
833 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizerBase#handleInvalid" visbl="pub" data-isabs="false" fullComment="yes" group="param">
834 <a id="handleInvalid:org.apache.spark.ml.param.Param[String]"></a>
835 <a id="handleInvalid:Param[String]"></a>
836 <h4 class="signature">
837 <span class="modifier_kind">
838 <span class="modifier"></span>
839 <span class="kind">val</span>
840 </span>
841 <span class="symbol">
842 <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>
843 </span>
844 </h4><span class="permalink">
845 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@handleInvalid:org.apache.spark.ml.param.Param[String]" title="Permalink" target="_top">
846 <img src="../../../../../lib/permalink.png" alt="Permalink" />
847 </a>
848 </span>
849 <p class="shortcomment cmt">Param for how to handle invalid entries.</p><div class="fullcomment"><div class="comment cmt"><p>Param for how to handle invalid entries. Options are 'skip' (filter out rows with
850 invalid values), 'error' (throw an error), or 'keep' (keep invalid values in a special
851 additional bucket). Note that in the multiple columns case, the invalid handling is applied
852 to all columns. That said for 'error' it will throw an error if any invalids are found in
853 any column, for 'skip' it will skip rows with any invalids in any columns, etc.
854 Default: &quot;error&quot;</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>QuantileDiscretizerBase → <a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a></dd><dt>Annotations</dt><dd>
855 <span class="name">@Since</span><span class="args">(<span>
856
857 <span class="symbol">&quot;2.1.0&quot;</span>
858 </span>)</span>
859
860 </dd></dl></div>
861 </li><li name="org.apache.spark.ml.param.Params#hasDefault" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
862 <a id="hasDefault[T](param:org.apache.spark.ml.param.Param[T]):Boolean"></a>
863 <a id="hasDefault[T](Param[T]):Boolean"></a>
864 <h4 class="signature">
865 <span class="modifier_kind">
866 <span class="modifier">final </span>
867 <span class="kind">def</span>
868 </span>
869 <span class="symbol">
870 <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>
871 </span>
872 </h4><span class="permalink">
873 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@hasDefault[T](param:org.apache.spark.ml.param.Param[T]):Boolean" title="Permalink" target="_top">
874 <img src="../../../../../lib/permalink.png" alt="Permalink" />
875 </a>
876 </span>
877 <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.
878 </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>
879 </li><li name="org.apache.spark.ml.param.Params#hasParam" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
880 <a id="hasParam(paramName:String):Boolean"></a>
881 <a id="hasParam(String):Boolean"></a>
882 <h4 class="signature">
883 <span class="modifier_kind">
884 <span class="modifier"></span>
885 <span class="kind">def</span>
886 </span>
887 <span class="symbol">
888 <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>
889 </span>
890 </h4><span class="permalink">
891 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@hasParam(paramName:String):Boolean" title="Permalink" target="_top">
892 <img src="../../../../../lib/permalink.png" alt="Permalink" />
893 </a>
894 </span>
895 <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>
896 </li><li name="scala.AnyRef#hashCode" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
897 <a id="hashCode():Int"></a>
898 <a id="hashCode():Int"></a>
899 <h4 class="signature">
900 <span class="modifier_kind">
901 <span class="modifier"></span>
902 <span class="kind">def</span>
903 </span>
904 <span class="symbol">
905 <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
906 </span>
907 </h4><span class="permalink">
908 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@hashCode():Int" title="Permalink" target="_top">
909 <img src="../../../../../lib/permalink.png" alt="Permalink" />
910 </a>
911 </span>
912 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
913 </li><li name="org.apache.spark.internal.Logging#initializeLogIfNecessary" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
914 <a id="initializeLogIfNecessary(isInterpreter:Boolean,silent:Boolean):Boolean"></a>
915 <a id="initializeLogIfNecessary(Boolean,Boolean):Boolean"></a>
916 <h4 class="signature">
917 <span class="modifier_kind">
918 <span class="modifier"></span>
919 <span class="kind">def</span>
920 </span>
921 <span class="symbol">
922 <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>
923 </span>
924 </h4><span class="permalink">
925 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@initializeLogIfNecessary(isInterpreter:Boolean,silent:Boolean):Boolean" title="Permalink" target="_top">
926 <img src="../../../../../lib/permalink.png" alt="Permalink" />
927 </a>
928 </span>
929 <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>
930 </li><li name="org.apache.spark.internal.Logging#initializeLogIfNecessary" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
931 <a id="initializeLogIfNecessary(isInterpreter:Boolean):Unit"></a>
932 <a id="initializeLogIfNecessary(Boolean):Unit"></a>
933 <h4 class="signature">
934 <span class="modifier_kind">
935 <span class="modifier"></span>
936 <span class="kind">def</span>
937 </span>
938 <span class="symbol">
939 <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>
940 </span>
941 </h4><span class="permalink">
942 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@initializeLogIfNecessary(isInterpreter:Boolean):Unit" title="Permalink" target="_top">
943 <img src="../../../../../lib/permalink.png" alt="Permalink" />
944 </a>
945 </span>
946 <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>
947 </li><li name="org.apache.spark.ml.param.shared.HasInputCol#inputCol" visbl="pub" data-isabs="false" fullComment="yes" group="param">
948 <a id="inputCol:org.apache.spark.ml.param.Param[String]"></a>
949 <a id="inputCol:Param[String]"></a>
950 <h4 class="signature">
951 <span class="modifier_kind">
952 <span class="modifier">final </span>
953 <span class="kind">val</span>
954 </span>
955 <span class="symbol">
956 <span class="name">inputCol</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>
957 </span>
958 </h4><span class="permalink">
959 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@inputCol:org.apache.spark.ml.param.Param[String]" title="Permalink" target="_top">
960 <img src="../../../../../lib/permalink.png" alt="Permalink" />
961 </a>
962 </span>
963 <p class="shortcomment cmt">Param for input column name.</p><div class="fullcomment"><div class="comment cmt"><p>Param for input column name.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasInputCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasInputCol">HasInputCol</a></dd></dl></div>
964 </li><li name="org.apache.spark.ml.param.shared.HasInputCols#inputCols" visbl="pub" data-isabs="false" fullComment="yes" group="param">
965 <a id="inputCols:org.apache.spark.ml.param.StringArrayParam"></a>
966 <a id="inputCols:StringArrayParam"></a>
967 <h4 class="signature">
968 <span class="modifier_kind">
969 <span class="modifier">final </span>
970 <span class="kind">val</span>
971 </span>
972 <span class="symbol">
973 <span class="name">inputCols</span><span class="result">: <a href="../param/StringArrayParam.html" class="extype" name="org.apache.spark.ml.param.StringArrayParam">StringArrayParam</a></span>
974 </span>
975 </h4><span class="permalink">
976 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@inputCols:org.apache.spark.ml.param.StringArrayParam" title="Permalink" target="_top">
977 <img src="../../../../../lib/permalink.png" alt="Permalink" />
978 </a>
979 </span>
980 <p class="shortcomment cmt">Param for input column names.</p><div class="fullcomment"><div class="comment cmt"><p>Param for input column names.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasInputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasInputCols">HasInputCols</a></dd></dl></div>
981 </li><li name="org.apache.spark.ml.param.Params#isDefined" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
982 <a id="isDefined(param:org.apache.spark.ml.param.Param[_]):Boolean"></a>
983 <a id="isDefined(Param[_]):Boolean"></a>
984 <h4 class="signature">
985 <span class="modifier_kind">
986 <span class="modifier">final </span>
987 <span class="kind">def</span>
988 </span>
989 <span class="symbol">
990 <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>
991 </span>
992 </h4><span class="permalink">
993 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@isDefined(param:org.apache.spark.ml.param.Param[_]):Boolean" title="Permalink" target="_top">
994 <img src="../../../../../lib/permalink.png" alt="Permalink" />
995 </a>
996 </span>
997 <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>
998 </li><li name="scala.Any#isInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
999 <a id="isInstanceOf[T0]:Boolean"></a>
1000 <a id="isInstanceOf[T0]:Boolean"></a>
1001 <h4 class="signature">
1002 <span class="modifier_kind">
1003 <span class="modifier">final </span>
1004 <span class="kind">def</span>
1005 </span>
1006 <span class="symbol">
1007 <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>
1008 </span>
1009 </h4><span class="permalink">
1010 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@isInstanceOf[T0]:Boolean" title="Permalink" target="_top">
1011 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1012 </a>
1013 </span>
1014 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
1015 </li><li name="org.apache.spark.ml.param.Params#isSet" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1016 <a id="isSet(param:org.apache.spark.ml.param.Param[_]):Boolean"></a>
1017 <a id="isSet(Param[_]):Boolean"></a>
1018 <h4 class="signature">
1019 <span class="modifier_kind">
1020 <span class="modifier">final </span>
1021 <span class="kind">def</span>
1022 </span>
1023 <span class="symbol">
1024 <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>
1025 </span>
1026 </h4><span class="permalink">
1027 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@isSet(param:org.apache.spark.ml.param.Param[_]):Boolean" title="Permalink" target="_top">
1028 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1029 </a>
1030 </span>
1031 <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>
1032 </li><li name="org.apache.spark.internal.Logging#isTraceEnabled" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1033 <a id="isTraceEnabled():Boolean"></a>
1034 <a id="isTraceEnabled():Boolean"></a>
1035 <h4 class="signature">
1036 <span class="modifier_kind">
1037 <span class="modifier"></span>
1038 <span class="kind">def</span>
1039 </span>
1040 <span class="symbol">
1041 <span class="name">isTraceEnabled</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
1042 </span>
1043 </h4><span class="permalink">
1044 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@isTraceEnabled():Boolean" title="Permalink" target="_top">
1045 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1046 </a>
1047 </span>
1048 <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>
1049 </li><li name="org.apache.spark.internal.Logging#log" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1050 <a id="log:org.slf4j.Logger"></a>
1051 <a id="log:Logger"></a>
1052 <h4 class="signature">
1053 <span class="modifier_kind">
1054 <span class="modifier"></span>
1055 <span class="kind">def</span>
1056 </span>
1057 <span class="symbol">
1058 <span class="name">log</span><span class="result">: <span class="extype" name="org.slf4j.Logger">Logger</span></span>
1059 </span>
1060 </h4><span class="permalink">
1061 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@log:org.slf4j.Logger" title="Permalink" target="_top">
1062 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1063 </a>
1064 </span>
1065 <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>
1066 </li><li name="org.apache.spark.internal.Logging#logDebug" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1067 <a id="logDebug(msg:=&gt;String,throwable:Throwable):Unit"></a>
1068 <a id="logDebug(⇒String,Throwable):Unit"></a>
1069 <h4 class="signature">
1070 <span class="modifier_kind">
1071 <span class="modifier"></span>
1072 <span class="kind">def</span>
1073 </span>
1074 <span class="symbol">
1075 <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>
1076 </span>
1077 </h4><span class="permalink">
1078 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logDebug(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
1079 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1080 </a>
1081 </span>
1082 <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>
1083 </li><li name="org.apache.spark.internal.Logging#logDebug" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1084 <a id="logDebug(msg:=&gt;String):Unit"></a>
1085 <a id="logDebug(⇒String):Unit"></a>
1086 <h4 class="signature">
1087 <span class="modifier_kind">
1088 <span class="modifier"></span>
1089 <span class="kind">def</span>
1090 </span>
1091 <span class="symbol">
1092 <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>
1093 </span>
1094 </h4><span class="permalink">
1095 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logDebug(msg:=&gt;String):Unit" title="Permalink" target="_top">
1096 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1097 </a>
1098 </span>
1099 <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>
1100 </li><li name="org.apache.spark.internal.Logging#logError" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1101 <a id="logError(msg:=&gt;String,throwable:Throwable):Unit"></a>
1102 <a id="logError(⇒String,Throwable):Unit"></a>
1103 <h4 class="signature">
1104 <span class="modifier_kind">
1105 <span class="modifier"></span>
1106 <span class="kind">def</span>
1107 </span>
1108 <span class="symbol">
1109 <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>
1110 </span>
1111 </h4><span class="permalink">
1112 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logError(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
1113 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1114 </a>
1115 </span>
1116 <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>
1117 </li><li name="org.apache.spark.internal.Logging#logError" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1118 <a id="logError(msg:=&gt;String):Unit"></a>
1119 <a id="logError(⇒String):Unit"></a>
1120 <h4 class="signature">
1121 <span class="modifier_kind">
1122 <span class="modifier"></span>
1123 <span class="kind">def</span>
1124 </span>
1125 <span class="symbol">
1126 <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>
1127 </span>
1128 </h4><span class="permalink">
1129 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logError(msg:=&gt;String):Unit" title="Permalink" target="_top">
1130 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1131 </a>
1132 </span>
1133 <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>
1134 </li><li name="org.apache.spark.internal.Logging#logInfo" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1135 <a id="logInfo(msg:=&gt;String,throwable:Throwable):Unit"></a>
1136 <a id="logInfo(⇒String,Throwable):Unit"></a>
1137 <h4 class="signature">
1138 <span class="modifier_kind">
1139 <span class="modifier"></span>
1140 <span class="kind">def</span>
1141 </span>
1142 <span class="symbol">
1143 <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>
1144 </span>
1145 </h4><span class="permalink">
1146 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logInfo(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
1147 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1148 </a>
1149 </span>
1150 <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>
1151 </li><li name="org.apache.spark.internal.Logging#logInfo" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1152 <a id="logInfo(msg:=&gt;String):Unit"></a>
1153 <a id="logInfo(⇒String):Unit"></a>
1154 <h4 class="signature">
1155 <span class="modifier_kind">
1156 <span class="modifier"></span>
1157 <span class="kind">def</span>
1158 </span>
1159 <span class="symbol">
1160 <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>
1161 </span>
1162 </h4><span class="permalink">
1163 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logInfo(msg:=&gt;String):Unit" title="Permalink" target="_top">
1164 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1165 </a>
1166 </span>
1167 <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>
1168 </li><li name="org.apache.spark.internal.Logging#logName" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1169 <a id="logName:String"></a>
1170 <a id="logName:String"></a>
1171 <h4 class="signature">
1172 <span class="modifier_kind">
1173 <span class="modifier"></span>
1174 <span class="kind">def</span>
1175 </span>
1176 <span class="symbol">
1177 <span class="name">logName</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span>
1178 </span>
1179 </h4><span class="permalink">
1180 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logName:String" title="Permalink" target="_top">
1181 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1182 </a>
1183 </span>
1184 <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>
1185 </li><li name="org.apache.spark.internal.Logging#logTrace" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1186 <a id="logTrace(msg:=&gt;String,throwable:Throwable):Unit"></a>
1187 <a id="logTrace(⇒String,Throwable):Unit"></a>
1188 <h4 class="signature">
1189 <span class="modifier_kind">
1190 <span class="modifier"></span>
1191 <span class="kind">def</span>
1192 </span>
1193 <span class="symbol">
1194 <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>
1195 </span>
1196 </h4><span class="permalink">
1197 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logTrace(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
1198 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1199 </a>
1200 </span>
1201 <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>
1202 </li><li name="org.apache.spark.internal.Logging#logTrace" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1203 <a id="logTrace(msg:=&gt;String):Unit"></a>
1204 <a id="logTrace(⇒String):Unit"></a>
1205 <h4 class="signature">
1206 <span class="modifier_kind">
1207 <span class="modifier"></span>
1208 <span class="kind">def</span>
1209 </span>
1210 <span class="symbol">
1211 <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>
1212 </span>
1213 </h4><span class="permalink">
1214 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logTrace(msg:=&gt;String):Unit" title="Permalink" target="_top">
1215 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1216 </a>
1217 </span>
1218 <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>
1219 </li><li name="org.apache.spark.internal.Logging#logWarning" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1220 <a id="logWarning(msg:=&gt;String,throwable:Throwable):Unit"></a>
1221 <a id="logWarning(⇒String,Throwable):Unit"></a>
1222 <h4 class="signature">
1223 <span class="modifier_kind">
1224 <span class="modifier"></span>
1225 <span class="kind">def</span>
1226 </span>
1227 <span class="symbol">
1228 <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>
1229 </span>
1230 </h4><span class="permalink">
1231 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logWarning(msg:=&gt;String,throwable:Throwable):Unit" title="Permalink" target="_top">
1232 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1233 </a>
1234 </span>
1235 <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>
1236 </li><li name="org.apache.spark.internal.Logging#logWarning" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1237 <a id="logWarning(msg:=&gt;String):Unit"></a>
1238 <a id="logWarning(⇒String):Unit"></a>
1239 <h4 class="signature">
1240 <span class="modifier_kind">
1241 <span class="modifier"></span>
1242 <span class="kind">def</span>
1243 </span>
1244 <span class="symbol">
1245 <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>
1246 </span>
1247 </h4><span class="permalink">
1248 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@logWarning(msg:=&gt;String):Unit" title="Permalink" target="_top">
1249 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1250 </a>
1251 </span>
1252 <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>
1253 </li><li name="scala.AnyRef#ne" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1254 <a id="ne(x$1:AnyRef):Boolean"></a>
1255 <a id="ne(AnyRef):Boolean"></a>
1256 <h4 class="signature">
1257 <span class="modifier_kind">
1258 <span class="modifier">final </span>
1259 <span class="kind">def</span>
1260 </span>
1261 <span class="symbol">
1262 <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>
1263 </span>
1264 </h4><span class="permalink">
1265 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@ne(x$1:AnyRef):Boolean" title="Permalink" target="_top">
1266 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1267 </a>
1268 </span>
1269 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
1270 </li><li name="scala.AnyRef#notify" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1271 <a id="notify():Unit"></a>
1272 <a id="notify():Unit"></a>
1273 <h4 class="signature">
1274 <span class="modifier_kind">
1275 <span class="modifier">final </span>
1276 <span class="kind">def</span>
1277 </span>
1278 <span class="symbol">
1279 <span class="name">notify</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1280 </span>
1281 </h4><span class="permalink">
1282 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@notify():Unit" title="Permalink" target="_top">
1283 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1284 </a>
1285 </span>
1286 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
1287 </li><li name="scala.AnyRef#notifyAll" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1288 <a id="notifyAll():Unit"></a>
1289 <a id="notifyAll():Unit"></a>
1290 <h4 class="signature">
1291 <span class="modifier_kind">
1292 <span class="modifier">final </span>
1293 <span class="kind">def</span>
1294 </span>
1295 <span class="symbol">
1296 <span class="name">notifyAll</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1297 </span>
1298 </h4><span class="permalink">
1299 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@notifyAll():Unit" title="Permalink" target="_top">
1300 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1301 </a>
1302 </span>
1303 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
1304 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizerBase#numBuckets" visbl="pub" data-isabs="false" fullComment="yes" group="param">
1305 <a id="numBuckets:org.apache.spark.ml.param.IntParam"></a>
1306 <a id="numBuckets:IntParam"></a>
1307 <h4 class="signature">
1308 <span class="modifier_kind">
1309 <span class="modifier"></span>
1310 <span class="kind">val</span>
1311 </span>
1312 <span class="symbol">
1313 <span class="name">numBuckets</span><span class="result">: <a href="../param/IntParam.html" class="extype" name="org.apache.spark.ml.param.IntParam">IntParam</a></span>
1314 </span>
1315 </h4><span class="permalink">
1316 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@numBuckets:org.apache.spark.ml.param.IntParam" title="Permalink" target="_top">
1317 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1318 </a>
1319 </span>
1320 <p class="shortcomment cmt">Number of buckets (quantiles, or categories) into which data points are grouped.</p><div class="fullcomment"><div class="comment cmt"><p>Number of buckets (quantiles, or categories) into which data points are grouped. Must
1321 be greater than or equal to 2.</p><p>See also <a href="#handleInvalid:org.apache.spark.ml.param.Param[String]" class="extmbr" name="org.apache.spark.ml.feature.QuantileDiscretizer#handleInvalid">handleInvalid</a>, which can optionally create an additional bucket for NaN values.</p><p>default: 2</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>QuantileDiscretizerBase</dd></dl></div>
1322 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizerBase#numBucketsArray" visbl="pub" data-isabs="false" fullComment="yes" group="param">
1323 <a id="numBucketsArray:org.apache.spark.ml.param.IntArrayParam"></a>
1324 <a id="numBucketsArray:IntArrayParam"></a>
1325 <h4 class="signature">
1326 <span class="modifier_kind">
1327 <span class="modifier"></span>
1328 <span class="kind">val</span>
1329 </span>
1330 <span class="symbol">
1331 <span class="name">numBucketsArray</span><span class="result">: <a href="../param/IntArrayParam.html" class="extype" name="org.apache.spark.ml.param.IntArrayParam">IntArrayParam</a></span>
1332 </span>
1333 </h4><span class="permalink">
1334 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@numBucketsArray:org.apache.spark.ml.param.IntArrayParam" title="Permalink" target="_top">
1335 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1336 </a>
1337 </span>
1338 <p class="shortcomment cmt">Array of number of buckets (quantiles, or categories) into which data points are grouped.</p><div class="fullcomment"><div class="comment cmt"><p>Array of number of buckets (quantiles, or categories) into which data points are grouped.
1339 Each value must be greater than or equal to 2</p><p>See also <a href="#handleInvalid:org.apache.spark.ml.param.Param[String]" class="extmbr" name="org.apache.spark.ml.feature.QuantileDiscretizer#handleInvalid">handleInvalid</a>, which can optionally create an additional bucket for NaN values.
1340 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>QuantileDiscretizerBase</dd></dl></div>
1341 </li><li name="org.apache.spark.ml.param.shared.HasOutputCol#outputCol" visbl="pub" data-isabs="false" fullComment="yes" group="param">
1342 <a id="outputCol:org.apache.spark.ml.param.Param[String]"></a>
1343 <a id="outputCol:Param[String]"></a>
1344 <h4 class="signature">
1345 <span class="modifier_kind">
1346 <span class="modifier">final </span>
1347 <span class="kind">val</span>
1348 </span>
1349 <span class="symbol">
1350 <span class="name">outputCol</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>
1351 </span>
1352 </h4><span class="permalink">
1353 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@outputCol:org.apache.spark.ml.param.Param[String]" title="Permalink" target="_top">
1354 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1355 </a>
1356 </span>
1357 <p class="shortcomment cmt">Param for output column name.</p><div class="fullcomment"><div class="comment cmt"><p>Param for output column name.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasOutputCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasOutputCol">HasOutputCol</a></dd></dl></div>
1358 </li><li name="org.apache.spark.ml.param.shared.HasOutputCols#outputCols" visbl="pub" data-isabs="false" fullComment="yes" group="param">
1359 <a id="outputCols:org.apache.spark.ml.param.StringArrayParam"></a>
1360 <a id="outputCols:StringArrayParam"></a>
1361 <h4 class="signature">
1362 <span class="modifier_kind">
1363 <span class="modifier">final </span>
1364 <span class="kind">val</span>
1365 </span>
1366 <span class="symbol">
1367 <span class="name">outputCols</span><span class="result">: <a href="../param/StringArrayParam.html" class="extype" name="org.apache.spark.ml.param.StringArrayParam">StringArrayParam</a></span>
1368 </span>
1369 </h4><span class="permalink">
1370 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@outputCols:org.apache.spark.ml.param.StringArrayParam" title="Permalink" target="_top">
1371 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1372 </a>
1373 </span>
1374 <p class="shortcomment cmt">Param for output column names.</p><div class="fullcomment"><div class="comment cmt"><p>Param for output column names.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasOutputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasOutputCols">HasOutputCols</a></dd></dl></div>
1375 </li><li name="org.apache.spark.ml.param.Params#params" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1376 <a id="params:Array[org.apache.spark.ml.param.Param[_]]"></a>
1377 <a id="params:Array[Param[_]]"></a>
1378 <h4 class="signature">
1379 <span class="modifier_kind">
1380 <span class="modifier"></span>
1381 <span class="kind">lazy val</span>
1382 </span>
1383 <span class="symbol">
1384 <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>
1385 </span>
1386 </h4><span class="permalink">
1387 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@params:Array[org.apache.spark.ml.param.Param[_]]" title="Permalink" target="_top">
1388 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1389 </a>
1390 </span>
1391 <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
1392 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>.
1393 </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
1394 this variable gets initialized before other params.</p></span></dd></dl></div>
1395 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizerBase#relativeError" visbl="pub" data-isabs="false" fullComment="yes" group="param">
1396 <a id="relativeError:org.apache.spark.ml.param.DoubleParam"></a>
1397 <a id="relativeError:DoubleParam"></a>
1398 <h4 class="signature">
1399 <span class="modifier_kind">
1400 <span class="modifier"></span>
1401 <span class="kind">val</span>
1402 </span>
1403 <span class="symbol">
1404 <span class="name">relativeError</span><span class="result">: <a href="../param/DoubleParam.html" class="extype" name="org.apache.spark.ml.param.DoubleParam">DoubleParam</a></span>
1405 </span>
1406 </h4><span class="permalink">
1407 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@relativeError:org.apache.spark.ml.param.DoubleParam" title="Permalink" target="_top">
1408 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1409 </a>
1410 </span>
1411 <p class="shortcomment cmt">Relative error (see documentation for
1412 <code>org.apache.spark.sql.DataFrameStatFunctions.approxQuantile</code> for description)
1413 Must be in the range [0, 1].</p><div class="fullcomment"><div class="comment cmt"><p>Relative error (see documentation for
1414 <code>org.apache.spark.sql.DataFrameStatFunctions.approxQuantile</code> for description)
1415 Must be in the range [0, 1].
1416 Note that in multiple columns case, relative error is applied to all columns.
1417 default: 0.001</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>QuantileDiscretizerBase</dd></dl></div>
1418 </li><li name="org.apache.spark.ml.util.MLWritable#save" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1419 <a id="save(path:String):Unit"></a>
1420 <a id="save(String):Unit"></a>
1421 <h4 class="signature">
1422 <span class="modifier_kind">
1423 <span class="modifier"></span>
1424 <span class="kind">def</span>
1425 </span>
1426 <span class="symbol">
1427 <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>
1428 </span>
1429 </h4><span class="permalink">
1430 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@save(path:String):Unit" title="Permalink" target="_top">
1431 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1432 </a>
1433 </span>
1434 <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>.
1435 </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>
1436 <span class="name">@Since</span><span class="args">(<span>
1437
1438 <span class="symbol">&quot;1.6.0&quot;</span>
1439 </span>)</span>
1440
1441 <span class="name">@throws</span><span class="args">(<span>
1442
1443 <span class="defval" name="&quot;If the input path already exists but overwrite is not enabled.&quot;">...</span>
1444 </span>)</span>
1445
1446 </dd></dl></div>
1447 </li><li name="org.apache.spark.ml.param.Params#set" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1448 <a id="set(paramPair:org.apache.spark.ml.param.ParamPair[_]):Params.this.type"></a>
1449 <a id="set(ParamPair[_]):QuantileDiscretizer.this.type"></a>
1450 <h4 class="signature">
1451 <span class="modifier_kind">
1452 <span class="modifier">final </span>
1453 <span class="kind">def</span>
1454 </span>
1455 <span class="symbol">
1456 <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.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1457 </span>
1458 </h4><span class="permalink">
1459 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@set(paramPair:org.apache.spark.ml.param.ParamPair[_]):Params.this.type" title="Permalink" target="_top">
1460 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1461 </a>
1462 </span>
1463 <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.
1464 </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>
1465 </li><li name="org.apache.spark.ml.param.Params#set" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1466 <a id="set(param:String,value:Any):Params.this.type"></a>
1467 <a id="set(String,Any):QuantileDiscretizer.this.type"></a>
1468 <h4 class="signature">
1469 <span class="modifier_kind">
1470 <span class="modifier">final </span>
1471 <span class="kind">def</span>
1472 </span>
1473 <span class="symbol">
1474 <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.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1475 </span>
1476 </h4><span class="permalink">
1477 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@set(param:String,value:Any):Params.this.type" title="Permalink" target="_top">
1478 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1479 </a>
1480 </span>
1481 <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.
1482 </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>
1483 </li><li name="org.apache.spark.ml.param.Params#set" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1484 <a id="set[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type"></a>
1485 <a id="set[T](Param[T],T):QuantileDiscretizer.this.type"></a>
1486 <h4 class="signature">
1487 <span class="modifier_kind">
1488 <span class="modifier">final </span>
1489 <span class="kind">def</span>
1490 </span>
1491 <span class="symbol">
1492 <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.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1493 </span>
1494 </h4><span class="permalink">
1495 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@set[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type" title="Permalink" target="_top">
1496 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1497 </a>
1498 </span>
1499 <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.
1500 </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>
1501 </li><li name="org.apache.spark.ml.param.Params#setDefault" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1502 <a id="setDefault(paramPairs:org.apache.spark.ml.param.ParamPair[_]*):Params.this.type"></a>
1503 <a id="setDefault(ParamPair[_]*):QuantileDiscretizer.this.type"></a>
1504 <h4 class="signature">
1505 <span class="modifier_kind">
1506 <span class="modifier">final </span>
1507 <span class="kind">def</span>
1508 </span>
1509 <span class="symbol">
1510 <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.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1511 </span>
1512 </h4><span class="permalink">
1513 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setDefault(paramPairs:org.apache.spark.ml.param.ParamPair[_]*):Params.this.type" title="Permalink" target="_top">
1514 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1515 </a>
1516 </span>
1517 <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>.
1518 Annotating this with varargs can cause compilation failures due to a Scala compiler bug.
1519 See SPARK-9268.
1520 </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
1521 respectively. Make sure that the params are initialized before this method
1522 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>
1523 </li><li name="org.apache.spark.ml.param.Params#setDefault" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1524 <a id="setDefault[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type"></a>
1525 <a id="setDefault[T](Param[T],T):QuantileDiscretizer.this.type"></a>
1526 <h4 class="signature">
1527 <span class="modifier_kind">
1528 <span class="modifier">final </span>
1529 <span class="kind">def</span>
1530 </span>
1531 <span class="symbol">
1532 <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.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1533 </span>
1534 </h4><span class="permalink">
1535 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setDefault[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type" title="Permalink" target="_top">
1536 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1537 </a>
1538 </span>
1539 <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
1540 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>
1541 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#setHandleInvalid" visbl="pub" data-isabs="false" fullComment="yes" group="setParam">
1542 <a id="setHandleInvalid(value:String):QuantileDiscretizer.this.type"></a>
1543 <a id="setHandleInvalid(String):QuantileDiscretizer.this.type"></a>
1544 <h4 class="signature">
1545 <span class="modifier_kind">
1546 <span class="modifier"></span>
1547 <span class="kind">def</span>
1548 </span>
1549 <span class="symbol">
1550 <span class="name">setHandleInvalid</span><span class="params">(<span name="value">value: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1551 </span>
1552 </h4><span class="permalink">
1553 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setHandleInvalid(value:String):QuantileDiscretizer.this.type" title="Permalink" target="_top">
1554 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1555 </a>
1556 </span>
1557 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Annotations</dt><dd>
1558 <span class="name">@Since</span><span class="args">(<span>
1559
1560 <span class="symbol">&quot;2.1.0&quot;</span>
1561 </span>)</span>
1562
1563 </dd></dl></div>
1564 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#setInputCol" visbl="pub" data-isabs="false" fullComment="yes" group="setParam">
1565 <a id="setInputCol(value:String):QuantileDiscretizer.this.type"></a>
1566 <a id="setInputCol(String):QuantileDiscretizer.this.type"></a>
1567 <h4 class="signature">
1568 <span class="modifier_kind">
1569 <span class="modifier"></span>
1570 <span class="kind">def</span>
1571 </span>
1572 <span class="symbol">
1573 <span class="name">setInputCol</span><span class="params">(<span name="value">value: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1574 </span>
1575 </h4><span class="permalink">
1576 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setInputCol(value:String):QuantileDiscretizer.this.type" title="Permalink" target="_top">
1577 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1578 </a>
1579 </span>
1580 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Annotations</dt><dd>
1581 <span class="name">@Since</span><span class="args">(<span>
1582
1583 <span class="symbol">&quot;1.6.0&quot;</span>
1584 </span>)</span>
1585
1586 </dd></dl></div>
1587 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#setInputCols" visbl="pub" data-isabs="false" fullComment="yes" group="setParam">
1588 <a id="setInputCols(value:Array[String]):QuantileDiscretizer.this.type"></a>
1589 <a id="setInputCols(Array[String]):QuantileDiscretizer.this.type"></a>
1590 <h4 class="signature">
1591 <span class="modifier_kind">
1592 <span class="modifier"></span>
1593 <span class="kind">def</span>
1594 </span>
1595 <span class="symbol">
1596 <span class="name">setInputCols</span><span class="params">(<span name="value">value: <span class="extype" name="scala.Array">Array</span>[<span class="extype" name="scala.Predef.String">String</span>]</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1597 </span>
1598 </h4><span class="permalink">
1599 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setInputCols(value:Array[String]):QuantileDiscretizer.this.type" title="Permalink" target="_top">
1600 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1601 </a>
1602 </span>
1603 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Annotations</dt><dd>
1604 <span class="name">@Since</span><span class="args">(<span>
1605
1606 <span class="symbol">&quot;2.3.0&quot;</span>
1607 </span>)</span>
1608
1609 </dd></dl></div>
1610 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#setNumBuckets" visbl="pub" data-isabs="false" fullComment="yes" group="setParam">
1611 <a id="setNumBuckets(value:Int):QuantileDiscretizer.this.type"></a>
1612 <a id="setNumBuckets(Int):QuantileDiscretizer.this.type"></a>
1613 <h4 class="signature">
1614 <span class="modifier_kind">
1615 <span class="modifier"></span>
1616 <span class="kind">def</span>
1617 </span>
1618 <span class="symbol">
1619 <span class="name">setNumBuckets</span><span class="params">(<span name="value">value: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1620 </span>
1621 </h4><span class="permalink">
1622 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setNumBuckets(value:Int):QuantileDiscretizer.this.type" title="Permalink" target="_top">
1623 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1624 </a>
1625 </span>
1626 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Annotations</dt><dd>
1627 <span class="name">@Since</span><span class="args">(<span>
1628
1629 <span class="symbol">&quot;1.6.0&quot;</span>
1630 </span>)</span>
1631
1632 </dd></dl></div>
1633 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#setNumBucketsArray" visbl="pub" data-isabs="false" fullComment="yes" group="setParam">
1634 <a id="setNumBucketsArray(value:Array[Int]):QuantileDiscretizer.this.type"></a>
1635 <a id="setNumBucketsArray(Array[Int]):QuantileDiscretizer.this.type"></a>
1636 <h4 class="signature">
1637 <span class="modifier_kind">
1638 <span class="modifier"></span>
1639 <span class="kind">def</span>
1640 </span>
1641 <span class="symbol">
1642 <span class="name">setNumBucketsArray</span><span class="params">(<span name="value">value: <span class="extype" name="scala.Array">Array</span>[<span class="extype" name="scala.Int">Int</span>]</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1643 </span>
1644 </h4><span class="permalink">
1645 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setNumBucketsArray(value:Array[Int]):QuantileDiscretizer.this.type" title="Permalink" target="_top">
1646 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1647 </a>
1648 </span>
1649 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Annotations</dt><dd>
1650 <span class="name">@Since</span><span class="args">(<span>
1651
1652 <span class="symbol">&quot;2.3.0&quot;</span>
1653 </span>)</span>
1654
1655 </dd></dl></div>
1656 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#setOutputCol" visbl="pub" data-isabs="false" fullComment="yes" group="setParam">
1657 <a id="setOutputCol(value:String):QuantileDiscretizer.this.type"></a>
1658 <a id="setOutputCol(String):QuantileDiscretizer.this.type"></a>
1659 <h4 class="signature">
1660 <span class="modifier_kind">
1661 <span class="modifier"></span>
1662 <span class="kind">def</span>
1663 </span>
1664 <span class="symbol">
1665 <span class="name">setOutputCol</span><span class="params">(<span name="value">value: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1666 </span>
1667 </h4><span class="permalink">
1668 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setOutputCol(value:String):QuantileDiscretizer.this.type" title="Permalink" target="_top">
1669 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1670 </a>
1671 </span>
1672 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Annotations</dt><dd>
1673 <span class="name">@Since</span><span class="args">(<span>
1674
1675 <span class="symbol">&quot;1.6.0&quot;</span>
1676 </span>)</span>
1677
1678 </dd></dl></div>
1679 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#setOutputCols" visbl="pub" data-isabs="false" fullComment="yes" group="setParam">
1680 <a id="setOutputCols(value:Array[String]):QuantileDiscretizer.this.type"></a>
1681 <a id="setOutputCols(Array[String]):QuantileDiscretizer.this.type"></a>
1682 <h4 class="signature">
1683 <span class="modifier_kind">
1684 <span class="modifier"></span>
1685 <span class="kind">def</span>
1686 </span>
1687 <span class="symbol">
1688 <span class="name">setOutputCols</span><span class="params">(<span name="value">value: <span class="extype" name="scala.Array">Array</span>[<span class="extype" name="scala.Predef.String">String</span>]</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1689 </span>
1690 </h4><span class="permalink">
1691 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setOutputCols(value:Array[String]):QuantileDiscretizer.this.type" title="Permalink" target="_top">
1692 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1693 </a>
1694 </span>
1695 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Annotations</dt><dd>
1696 <span class="name">@Since</span><span class="args">(<span>
1697
1698 <span class="symbol">&quot;2.3.0&quot;</span>
1699 </span>)</span>
1700
1701 </dd></dl></div>
1702 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#setRelativeError" visbl="pub" data-isabs="false" fullComment="yes" group="setParam">
1703 <a id="setRelativeError(value:Double):QuantileDiscretizer.this.type"></a>
1704 <a id="setRelativeError(Double):QuantileDiscretizer.this.type"></a>
1705 <h4 class="signature">
1706 <span class="modifier_kind">
1707 <span class="modifier"></span>
1708 <span class="kind">def</span>
1709 </span>
1710 <span class="symbol">
1711 <span class="name">setRelativeError</span><span class="params">(<span name="value">value: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a>.this.type</span>
1712 </span>
1713 </h4><span class="permalink">
1714 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@setRelativeError(value:Double):QuantileDiscretizer.this.type" title="Permalink" target="_top">
1715 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1716 </a>
1717 </span>
1718 <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Annotations</dt><dd>
1719 <span class="name">@Since</span><span class="args">(<span>
1720
1721 <span class="symbol">&quot;2.0.0&quot;</span>
1722 </span>)</span>
1723
1724 </dd></dl></div>
1725 </li><li name="scala.AnyRef#synchronized" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1726 <a id="synchronized[T0](x$1:=&gt;T0):T0"></a>
1727 <a id="synchronized[T0](⇒T0):T0"></a>
1728 <h4 class="signature">
1729 <span class="modifier_kind">
1730 <span class="modifier">final </span>
1731 <span class="kind">def</span>
1732 </span>
1733 <span class="symbol">
1734 <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>
1735 </span>
1736 </h4><span class="permalink">
1737 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@synchronized[T0](x$1:=&gt;T0):T0" title="Permalink" target="_top">
1738 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1739 </a>
1740 </span>
1741 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
1742 </li><li name="org.apache.spark.ml.util.Identifiable#toString" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1743 <a id="toString():String"></a>
1744 <a id="toString():String"></a>
1745 <h4 class="signature">
1746 <span class="modifier_kind">
1747 <span class="modifier"></span>
1748 <span class="kind">def</span>
1749 </span>
1750 <span class="symbol">
1751 <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
1752 </span>
1753 </h4><span class="permalink">
1754 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@toString():String" title="Permalink" target="_top">
1755 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1756 </a>
1757 </span>
1758 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a> → AnyRef → Any</dd></dl></div>
1759 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#transformSchema" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1760 <a id="transformSchema(schema:org.apache.spark.sql.types.StructType):org.apache.spark.sql.types.StructType"></a>
1761 <a id="transformSchema(StructType):StructType"></a>
1762 <h4 class="signature">
1763 <span class="modifier_kind">
1764 <span class="modifier"></span>
1765 <span class="kind">def</span>
1766 </span>
1767 <span class="symbol">
1768 <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>
1769 </span>
1770 </h4><span class="permalink">
1771 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@transformSchema(schema:org.apache.spark.sql.types.StructType):org.apache.spark.sql.types.StructType" title="Permalink" target="_top">
1772 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1773 </a>
1774 </span>
1775 <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
1776 raise an exception if any parameter value is invalid. Parameter value checks which
1777 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
1778 validity, including complex parameter interaction checks.
1779 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a><a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a></dd><dt>Annotations</dt><dd>
1780 <span class="name">@Since</span><span class="args">(<span>
1781
1782 <span class="symbol">&quot;1.6.0&quot;</span>
1783 </span>)</span>
1784
1785 </dd></dl></div>
1786 </li><li name="org.apache.spark.ml.PipelineStage#transformSchema" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
1787 <a id="transformSchema(schema:org.apache.spark.sql.types.StructType,logging:Boolean):org.apache.spark.sql.types.StructType"></a>
1788 <a id="transformSchema(StructType,Boolean):StructType"></a>
1789 <h4 class="signature">
1790 <span class="modifier_kind">
1791 <span class="modifier"></span>
1792 <span class="kind">def</span>
1793 </span>
1794 <span class="symbol">
1795 <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>
1796 </span>
1797 </h4><span class="permalink">
1798 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@transformSchema(schema:org.apache.spark.sql.types.StructType,logging:Boolean):org.apache.spark.sql.types.StructType" title="Permalink" target="_top">
1799 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1800 </a>
1801 </span>
1802 <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
1803 be assumed valid until proven otherwise.
1804 </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>
1805 <span class="name">@DeveloperApi</span><span class="args">()</span>
1806
1807 </dd></dl></div>
1808 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#uid" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1809 <a id="uid:String"></a>
1810 <a id="uid:String"></a>
1811 <h4 class="signature">
1812 <span class="modifier_kind">
1813 <span class="modifier"></span>
1814 <span class="kind">val</span>
1815 </span>
1816 <span class="symbol">
1817 <span class="name">uid</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
1818 </span>
1819 </h4><span class="permalink">
1820 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@uid:String" title="Permalink" target="_top">
1821 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1822 </a>
1823 </span>
1824 <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.
1825 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a><a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a></dd><dt>Annotations</dt><dd>
1826 <span class="name">@Since</span><span class="args">(<span>
1827
1828 <span class="symbol">&quot;1.6.0&quot;</span>
1829 </span>)</span>
1830
1831 </dd></dl></div>
1832 </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1833 <a id="wait():Unit"></a>
1834 <a id="wait():Unit"></a>
1835 <h4 class="signature">
1836 <span class="modifier_kind">
1837 <span class="modifier">final </span>
1838 <span class="kind">def</span>
1839 </span>
1840 <span class="symbol">
1841 <span class="name">wait</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
1842 </span>
1843 </h4><span class="permalink">
1844 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@wait():Unit" title="Permalink" target="_top">
1845 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1846 </a>
1847 </span>
1848 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
1849 <span class="name">@throws</span><span class="args">(<span>
1850
1851 <span class="defval" name="classOf[java.lang.InterruptedException]">...</span>
1852 </span>)</span>
1853
1854 </dd></dl></div>
1855 </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1856 <a id="wait(x$1:Long,x$2:Int):Unit"></a>
1857 <a id="wait(Long,Int):Unit"></a>
1858 <h4 class="signature">
1859 <span class="modifier_kind">
1860 <span class="modifier">final </span>
1861 <span class="kind">def</span>
1862 </span>
1863 <span class="symbol">
1864 <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>
1865 </span>
1866 </h4><span class="permalink">
1867 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@wait(x$1:Long,x$2:Int):Unit" title="Permalink" target="_top">
1868 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1869 </a>
1870 </span>
1871 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
1872 <span class="name">@throws</span><span class="args">(<span>
1873
1874 <span class="defval" name="classOf[java.lang.InterruptedException]">...</span>
1875 </span>)</span>
1876
1877 </dd></dl></div>
1878 </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1879 <a id="wait(x$1:Long):Unit"></a>
1880 <a id="wait(Long):Unit"></a>
1881 <h4 class="signature">
1882 <span class="modifier_kind">
1883 <span class="modifier">final </span>
1884 <span class="kind">def</span>
1885 </span>
1886 <span class="symbol">
1887 <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>
1888 </span>
1889 </h4><span class="permalink">
1890 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@wait(x$1:Long):Unit" title="Permalink" target="_top">
1891 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1892 </a>
1893 </span>
1894 <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
1895 <span class="name">@throws</span><span class="args">(<span>
1896
1897 <span class="defval" name="classOf[java.lang.InterruptedException]">...</span>
1898 </span>)</span>
1899
1900 </dd></dl></div>
1901 </li><li name="org.apache.spark.ml.feature.QuantileDiscretizer#write" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
1902 <a id="write:org.apache.spark.ml.util.MLWriter"></a>
1903 <a id="write:MLWriter"></a>
1904 <h4 class="signature">
1905 <span class="modifier_kind">
1906 <span class="modifier"></span>
1907 <span class="kind">def</span>
1908 </span>
1909 <span class="symbol">
1910 <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>
1911 </span>
1912 </h4><span class="permalink">
1913 <a href="../../../../../index.html#org.apache.spark.ml.feature.QuantileDiscretizer@write:org.apache.spark.ml.util.MLWriter" title="Permalink" target="_top">
1914 <img src="../../../../../lib/permalink.png" alt="Permalink" />
1915 </a>
1916 </span>
1917 <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.
1918 </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizer">QuantileDiscretizer</a><a href="../util/DefaultParamsWritable.html" class="extype" name="org.apache.spark.ml.util.DefaultParamsWritable">DefaultParamsWritable</a><a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a></dd></dl></div>
1919 </li></ol>
1920 </div>
1921
1922
1923
1924
1925 </div>
1926
1927 <div id="inheritedMembers">
1928 <div class="parent" name="org.apache.spark.ml.param.shared.HasOutputCols">
1929 <h3>Inherited from <a href="../param/shared/HasOutputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasOutputCols">HasOutputCols</a></h3>
1930 </div><div class="parent" name="org.apache.spark.ml.param.shared.HasInputCols">
1931 <h3>Inherited from <a href="../param/shared/HasInputCols.html" class="extype" name="org.apache.spark.ml.param.shared.HasInputCols">HasInputCols</a></h3>
1932 </div><div class="parent" name="org.apache.spark.ml.util.DefaultParamsWritable">
1933 <h3>Inherited from <a href="../util/DefaultParamsWritable.html" class="extype" name="org.apache.spark.ml.util.DefaultParamsWritable">DefaultParamsWritable</a></h3>
1934 </div><div class="parent" name="org.apache.spark.ml.util.MLWritable">
1935 <h3>Inherited from <a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a></h3>
1936 </div><div class="parent" name="org.apache.spark.ml.feature.QuantileDiscretizerBase">
1937 <h3>Inherited from <span class="extype" name="org.apache.spark.ml.feature.QuantileDiscretizerBase">QuantileDiscretizerBase</span></h3>
1938 </div><div class="parent" name="org.apache.spark.ml.param.shared.HasOutputCol">
1939 <h3>Inherited from <a href="../param/shared/HasOutputCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasOutputCol">HasOutputCol</a></h3>
1940 </div><div class="parent" name="org.apache.spark.ml.param.shared.HasInputCol">
1941 <h3>Inherited from <a href="../param/shared/HasInputCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasInputCol">HasInputCol</a></h3>
1942 </div><div class="parent" name="org.apache.spark.ml.param.shared.HasHandleInvalid">
1943 <h3>Inherited from <a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a></h3>
1944 </div><div class="parent" name="org.apache.spark.ml.Estimator">
1945 <h3>Inherited from <a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a>[<a href="Bucketizer.html" class="extype" name="org.apache.spark.ml.feature.Bucketizer">Bucketizer</a>]</h3>
1946 </div><div class="parent" name="org.apache.spark.ml.PipelineStage">
1947 <h3>Inherited from <a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a></h3>
1948 </div><div class="parent" name="org.apache.spark.internal.Logging">
1949 <h3>Inherited from <a href="../../internal/Logging.html" class="extype" name="org.apache.spark.internal.Logging">Logging</a></h3>
1950 </div><div class="parent" name="org.apache.spark.ml.param.Params">
1951 <h3>Inherited from <a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></h3>
1952 </div><div class="parent" name="scala.Serializable">
1953 <h3>Inherited from <span class="extype" name="scala.Serializable">Serializable</span></h3>
1954 </div><div class="parent" name="java.io.Serializable">
1955 <h3>Inherited from <span class="extype" name="java.io.Serializable">Serializable</span></h3>
1956 </div><div class="parent" name="org.apache.spark.ml.util.Identifiable">
1957 <h3>Inherited from <a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a></h3>
1958 </div><div class="parent" name="scala.AnyRef">
1959 <h3>Inherited from <span class="extype" name="scala.AnyRef">AnyRef</span></h3>
1960 </div><div class="parent" name="scala.Any">
1961 <h3>Inherited from <span class="extype" name="scala.Any">Any</span></h3>
1962 </div>
1963
1964 </div>
1965
1966 <div id="groupedMembers">
1967 <div class="group" name="param">
1968 <h3>Parameters</h3>
1969 <div class="comment cmt"><p>A list of (hyper-)parameter keys this algorithm can take. Users can set and get
1970 the parameter values through setters and getters, respectively.</p></div>
1971 </div><div class="group" name="Ungrouped">
1972 <h3>Members</h3>
1973
1974 </div><div class="group" name="setParam">
1975 <h3>Parameter setters</h3>
1976
1977 </div><div class="group" name="getParam">
1978 <h3>Parameter getters</h3>
1979
1980 </div>
1981 </div>
1982
1983 </div>
1984
1985 <div id="tooltip"></div>
1986
1987 <div id="footer"> </div>
1988
1989
1990 </body>
1991 </html>