| <!DOCTYPE html > |
| <html> |
| <head> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
| <title>Spark 3.4.3 ScalaDoc - org.apache.spark.ml.feature.RFormulaModel</title> |
| <meta name="description" content="Spark 3.4.3 ScalaDoc - org.apache.spark.ml.feature.RFormulaModel" /> |
| <meta name="keywords" content="Spark 3.4.3 ScalaDoc org.apache.spark.ml.feature.RFormulaModel" /> |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
| |
| |
| <link href="../../../../../lib/index.css" media="screen" type="text/css" rel="stylesheet" /> |
| <link href="../../../../../lib/template.css" media="screen" type="text/css" rel="stylesheet" /> |
| <link href="../../../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css" /> |
| <script type="text/javascript" src="../../../../../lib/jquery.min.js"></script> |
| <script type="text/javascript" src="../../../../../lib/jquery.panzoom.min.js"></script> |
| <script type="text/javascript" src="../../../../../lib/jquery.mousewheel.min.js"></script> |
| <script type="text/javascript" src="../../../../../lib/index.js"></script> |
| <script type="text/javascript" src="../../../../../index.js"></script> |
| <script type="text/javascript" src="../../../../../lib/scheduler.js"></script> |
| <script type="text/javascript" src="../../../../../lib/template.js"></script> |
| |
| <script type="text/javascript"> |
| /* this variable can be used by the JS to determine the path to the root document */ |
| var toRoot = '../../../../../'; |
| </script> |
| |
| </head> |
| <body> |
| <div id="search"> |
| <span id="doc-title">Spark 3.4.3 ScalaDoc<span id="doc-version"></span></span> |
| <span class="close-results"><span class="left"><</span> Back</span> |
| <div id="textfilter"> |
| <span class="input"> |
| <input autocapitalize="none" placeholder="Search" id="index-input" type="text" accesskey="/" /> |
| <i class="clear material-icons"></i> |
| <i id="search-icon" class="material-icons"></i> |
| </span> |
| </div> |
| </div> |
| <div id="search-results"> |
| <div id="search-progress"> |
| <div id="progress-fill"></div> |
| </div> |
| <div id="results-content"> |
| <div id="entity-results"></div> |
| <div id="member-results"></div> |
| </div> |
| </div> |
| <div id="content-scroll-container" style="-webkit-overflow-scrolling: touch;"> |
| <div id="content-container" style="-webkit-overflow-scrolling: touch;"> |
| <div id="subpackage-spacer"> |
| <div id="packages"> |
| <h1>Packages</h1> |
| <ul> |
| <li name="_root_.root" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="_root_"></a><a id="root:_root_"></a> |
| <span class="permalink"> |
| <a href="../../../../../index.html" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">package</span> |
| </span> |
| <span class="symbol"> |
| <a title="" href="../../../../../index.html"><span class="name">root</span></a> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../../../../../index.html" class="extype" name="_root_">root</a></dd></dl></div> |
| </li><li name="_root_.org" visbl="pub" class="indented1 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="org"></a><a id="org:org"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/index.html" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">package</span> |
| </span> |
| <span class="symbol"> |
| <a title="" href="../../../../index.html"><span class="name">org</span></a> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../../../../../index.html" class="extype" name="_root_">root</a></dd></dl></div> |
| </li><li name="org.apache" visbl="pub" class="indented2 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="apache"></a><a id="apache:apache"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/index.html" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">package</span> |
| </span> |
| <span class="symbol"> |
| <a title="" href="../../../index.html"><span class="name">apache</span></a> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../../../../index.html" class="extype" name="org">org</a></dd></dl></div> |
| </li><li name="org.apache.spark" visbl="pub" class="indented3 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="spark"></a><a id="spark:spark"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/index.html" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">package</span> |
| </span> |
| <span class="symbol"> |
| <a title="Core Spark functionality." href="../../index.html"><span class="name">spark</span></a> |
| </span> |
| |
| <p class="shortcomment cmt">Core Spark functionality.</p><div class="fullcomment"><div class="comment cmt"><p>Core Spark functionality. <a href="../../SparkContext.html" class="extype" name="org.apache.spark.SparkContext">org.apache.spark.SparkContext</a> serves as the main entry point to |
| Spark, while <a href="../../rdd/RDD.html" class="extype" name="org.apache.spark.rdd.RDD">org.apache.spark.rdd.RDD</a> is the data type representing a distributed collection, |
| and provides most parallel operations.</p><p>In addition, <a href="../../rdd/PairRDDFunctions.html" class="extype" name="org.apache.spark.rdd.PairRDDFunctions">org.apache.spark.rdd.PairRDDFunctions</a> contains operations available only on RDDs |
| of key-value pairs, such as <code>groupByKey</code> and <code>join</code>; <a href="../../rdd/DoubleRDDFunctions.html" class="extype" name="org.apache.spark.rdd.DoubleRDDFunctions">org.apache.spark.rdd.DoubleRDDFunctions</a> |
| contains operations available only on RDDs of Doubles; and |
| <a href="../../rdd/SequenceFileRDDFunctions.html" class="extype" name="org.apache.spark.rdd.SequenceFileRDDFunctions">org.apache.spark.rdd.SequenceFileRDDFunctions</a> contains operations available on RDDs that can |
| be saved as SequenceFiles. These operations are automatically available on any RDD of the right |
| type (e.g. RDD[(Int, Int)] through implicit conversions.</p><p>Java programmers should reference the <a href="../../api/java/index.html" class="extype" name="org.apache.spark.api.java">org.apache.spark.api.java</a> package |
| for Spark programming APIs in Java.</p><p>Classes and methods marked with <span class="experimental badge" style="float: none;"> |
| Experimental</span> are user-facing features which have not been officially adopted by the |
| Spark project. These are subject to change or removal in minor releases.</p><p>Classes and methods marked with <span class="developer badge" style="float: none;"> |
| Developer API</span> are intended for advanced users want to extend Spark through lower |
| level interfaces. These are subject to changes or removal in minor releases. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../../../index.html" class="extype" name="org.apache">apache</a></dd></dl></div> |
| </li><li name="org.apache.spark.ml" visbl="pub" class="indented4 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="ml"></a><a id="ml:ml"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/index.html" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">package</span> |
| </span> |
| <span class="symbol"> |
| <a title="DataFrame-based machine learning APIs to let users quickly assemble and configure practical machine learning pipelines." href="../index.html"><span class="name">ml</span></a> |
| </span> |
| |
| <p class="shortcomment cmt">DataFrame-based machine learning APIs to let users quickly assemble and configure practical |
| machine learning pipelines.</p><div class="fullcomment"><div class="comment cmt"><p>DataFrame-based machine learning APIs to let users quickly assemble and configure practical |
| machine learning pipelines. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../../index.html" class="extype" name="org.apache.spark">spark</a></dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature" visbl="pub" class="indented5 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="feature"></a><a id="feature:feature"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/index.html" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">package</span> |
| </span> |
| <span class="symbol"> |
| <a title="The ml.feature package provides common feature transformers that help convert raw data or features into more suitable forms for model fitting." href="index.html"><span class="name">feature</span></a> |
| </span> |
| |
| <p class="shortcomment cmt">The <code>ml.feature</code> package provides common feature transformers that help convert raw data or |
| features into more suitable forms for model fitting.</p><div class="fullcomment"><div class="comment cmt"><h4> Feature transformers </h4><p>The <code>ml.feature</code> package provides common feature transformers that help convert raw data or |
| features into more suitable forms for model fitting. |
| Most feature transformers are implemented as <a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a>s, which transform one <code>DataFrame</code> |
| into another, e.g., <a href="HashingTF.html" class="extype" name="org.apache.spark.ml.feature.HashingTF">HashingTF</a>. |
| Some feature transformers are implemented as <a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a>s, because the transformation requires |
| some aggregated information of the dataset, e.g., document frequencies in <a href="IDF.html" class="extype" name="org.apache.spark.ml.feature.IDF">IDF</a>. |
| For those feature transformers, calling <code>Estimator.fit</code> is required to obtain the model first, |
| e.g., <a href="IDFModel.html" class="extype" name="org.apache.spark.ml.feature.IDFModel">IDFModel</a>, in order to apply transformation. |
| The transformation is usually done by appending new columns to the input <code>DataFrame</code>, so all |
| input columns are carried over.</p><p>We try to make each transformer minimal, so it becomes flexible to assemble feature |
| transformation pipelines. |
| <a href="../Pipeline.html" class="extype" name="org.apache.spark.ml.Pipeline">Pipeline</a> can be used to chain feature transformers, and <a href="VectorAssembler.html" class="extype" name="org.apache.spark.ml.feature.VectorAssembler">VectorAssembler</a> can be used to |
| combine multiple feature transformations, for example:</p><pre><span class="kw">import</span> org.apache.spark.ml.feature._ |
| <span class="kw">import</span> org.apache.spark.ml.Pipeline |
| |
| <span class="cmt">// a DataFrame with three columns: id (integer), text (string), and rating (double).</span> |
| <span class="kw">val</span> df = spark.createDataFrame(<span class="std">Seq</span>( |
| (<span class="num">0</span>, <span class="lit">"Hi I heard about Spark"</span>, <span class="num">3.0</span>), |
| (<span class="num">1</span>, <span class="lit">"I wish Java could use case classes"</span>, <span class="num">4.0</span>), |
| (<span class="num">2</span>, <span class="lit">"Logistic regression models are neat"</span>, <span class="num">4.0</span>) |
| )).toDF(<span class="lit">"id"</span>, <span class="lit">"text"</span>, <span class="lit">"rating"</span>) |
| |
| <span class="cmt">// define feature transformers</span> |
| <span class="kw">val</span> tok = <span class="kw">new</span> RegexTokenizer() |
| .setInputCol(<span class="lit">"text"</span>) |
| .setOutputCol(<span class="lit">"words"</span>) |
| <span class="kw">val</span> sw = <span class="kw">new</span> StopWordsRemover() |
| .setInputCol(<span class="lit">"words"</span>) |
| .setOutputCol(<span class="lit">"filtered_words"</span>) |
| <span class="kw">val</span> tf = <span class="kw">new</span> HashingTF() |
| .setInputCol(<span class="lit">"filtered_words"</span>) |
| .setOutputCol(<span class="lit">"tf"</span>) |
| .setNumFeatures(<span class="num">10000</span>) |
| <span class="kw">val</span> idf = <span class="kw">new</span> IDF() |
| .setInputCol(<span class="lit">"tf"</span>) |
| .setOutputCol(<span class="lit">"tf_idf"</span>) |
| <span class="kw">val</span> assembler = <span class="kw">new</span> VectorAssembler() |
| .setInputCols(<span class="std">Array</span>(<span class="lit">"tf_idf"</span>, <span class="lit">"rating"</span>)) |
| .setOutputCol(<span class="lit">"features"</span>) |
| |
| <span class="cmt">// assemble and fit the feature transformation pipeline</span> |
| <span class="kw">val</span> pipeline = <span class="kw">new</span> Pipeline() |
| .setStages(<span class="std">Array</span>(tok, sw, tf, idf, assembler)) |
| <span class="kw">val</span> model = pipeline.fit(df) |
| |
| <span class="cmt">// save transformed features with raw data</span> |
| model.transform(df) |
| .select(<span class="lit">"id"</span>, <span class="lit">"text"</span>, <span class="lit">"rating"</span>, <span class="lit">"features"</span>) |
| .write.format(<span class="lit">"parquet"</span>).save(<span class="lit">"/output/path"</span>)</pre><p>Some feature transformers implemented in MLlib are inspired by those implemented in scikit-learn. |
| The major difference is that most scikit-learn feature transformers operate eagerly on the entire |
| input dataset, while MLlib's feature transformers operate lazily on individual columns, |
| which is more efficient and flexible to handle large and complex datasets. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../index.html" class="extype" name="org.apache.spark.ml">ml</a></dd><dt>See also</dt><dd><span class="cmt"><p><a href="http://scikit-learn.org/stable/modules/preprocessing.html"> |
| scikit-learn.preprocessing</a></p></span></dd></dl></div> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="Binarizer$.html" title=""></a> |
| <a class="class" href="Binarizer.html" title="Binarize a column of continuous features given a threshold."></a> |
| <a href="Binarizer.html" title="Binarize a column of continuous features given a threshold.">Binarizer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="BucketedRandomProjectionLSH$.html" title=""></a> |
| <a class="class" href="BucketedRandomProjectionLSH.html" title="This BucketedRandomProjectionLSH implements Locality Sensitive Hashing functions for Euclidean distance metrics."></a> |
| <a href="BucketedRandomProjectionLSH.html" title="This BucketedRandomProjectionLSH implements Locality Sensitive Hashing functions for Euclidean distance metrics.">BucketedRandomProjectionLSH</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="BucketedRandomProjectionLSHModel$.html" title=""></a> |
| <a class="class" href="BucketedRandomProjectionLSHModel.html" title="Model produced by BucketedRandomProjectionLSH, where multiple random vectors are stored."></a> |
| <a href="BucketedRandomProjectionLSHModel.html" title="Model produced by BucketedRandomProjectionLSH, where multiple random vectors are stored.">BucketedRandomProjectionLSHModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="Bucketizer$.html" title=""></a> |
| <a class="class" href="Bucketizer.html" title="Bucketizer maps a column of continuous features to a column of feature buckets."></a> |
| <a href="Bucketizer.html" title="Bucketizer maps a column of continuous features to a column of feature buckets.">Bucketizer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="ChiSqSelector$.html" title=""></a> |
| <a class="class" href="ChiSqSelector.html" title="Chi-Squared feature selection, which selects categorical features to use for predicting a categorical label."></a> |
| <a href="ChiSqSelector.html" title="Chi-Squared feature selection, which selects categorical features to use for predicting a categorical label.">ChiSqSelector</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="ChiSqSelectorModel$.html" title=""></a> |
| <a class="class" href="ChiSqSelectorModel.html" title="Model fitted by ChiSqSelector."></a> |
| <a href="ChiSqSelectorModel.html" title="Model fitted by ChiSqSelector.">ChiSqSelectorModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="CountVectorizer$.html" title=""></a> |
| <a class="class" href="CountVectorizer.html" title="Extracts a vocabulary from document collections and generates a CountVectorizerModel."></a> |
| <a href="CountVectorizer.html" title="Extracts a vocabulary from document collections and generates a CountVectorizerModel.">CountVectorizer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="CountVectorizerModel$.html" title=""></a> |
| <a class="class" href="CountVectorizerModel.html" title="Converts a text document to a sparse vector of token counts."></a> |
| <a href="CountVectorizerModel.html" title="Converts a text document to a sparse vector of token counts.">CountVectorizerModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="DCT$.html" title=""></a> |
| <a class="class" href="DCT.html" title="A feature transformer that takes the 1D discrete cosine transform of a real vector."></a> |
| <a href="DCT.html" title="A feature transformer that takes the 1D discrete cosine transform of a real vector.">DCT</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="ElementwiseProduct$.html" title=""></a> |
| <a class="class" href="ElementwiseProduct.html" title="Outputs the Hadamard product (i.e., the element-wise product) of each input vector with a provided "weight" vector."></a> |
| <a href="ElementwiseProduct.html" title="Outputs the Hadamard product (i.e., the element-wise product) of each input vector with a provided "weight" vector.">ElementwiseProduct</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="FeatureHasher$.html" title=""></a> |
| <a class="class" href="FeatureHasher.html" title="Feature hashing projects a set of categorical or numerical features into a feature vector of specified dimension (typically substantially smaller than that of the original feature space)."></a> |
| <a href="FeatureHasher.html" title="Feature hashing projects a set of categorical or numerical features into a feature vector of specified dimension (typically substantially smaller than that of the original feature space).">FeatureHasher</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="HashingTF$.html" title=""></a> |
| <a class="class" href="HashingTF.html" title="Maps a sequence of terms to their term frequencies using the hashing trick."></a> |
| <a href="HashingTF.html" title="Maps a sequence of terms to their term frequencies using the hashing trick.">HashingTF</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="IDF$.html" title=""></a> |
| <a class="class" href="IDF.html" title="Compute the Inverse Document Frequency (IDF) given a collection of documents."></a> |
| <a href="IDF.html" title="Compute the Inverse Document Frequency (IDF) given a collection of documents.">IDF</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="IDFModel$.html" title=""></a> |
| <a class="class" href="IDFModel.html" title="Model fitted by IDF."></a> |
| <a href="IDFModel.html" title="Model fitted by IDF.">IDFModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="Imputer$.html" title=""></a> |
| <a class="class" href="Imputer.html" title="Imputation estimator for completing missing values, using the mean, median or mode of the columns in which the missing values are located."></a> |
| <a href="Imputer.html" title="Imputation estimator for completing missing values, using the mean, median or mode of the columns in which the missing values are located.">Imputer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="ImputerModel$.html" title=""></a> |
| <a class="class" href="ImputerModel.html" title="Model fitted by Imputer."></a> |
| <a href="ImputerModel.html" title="Model fitted by Imputer.">ImputerModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="IndexToString$.html" title=""></a> |
| <a class="class" href="IndexToString.html" title="A Transformer that maps a column of indices back to a new column of corresponding string values."></a> |
| <a href="IndexToString.html" title="A Transformer that maps a column of indices back to a new column of corresponding string values.">IndexToString</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="Interaction$.html" title=""></a> |
| <a class="class" href="Interaction.html" title="Implements the feature interaction transform."></a> |
| <a href="Interaction.html" title="Implements the feature interaction transform.">Interaction</a> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="class" href="LabeledPoint.html" title="Class that represents the features and label of a data point."></a> |
| <a href="LabeledPoint.html" title="Class that represents the features and label of a data point.">LabeledPoint</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="MaxAbsScaler$.html" title=""></a> |
| <a class="class" href="MaxAbsScaler.html" title="Rescale each feature individually to range [-1, 1] by dividing through the largest maximum absolute value in each feature."></a> |
| <a href="MaxAbsScaler.html" title="Rescale each feature individually to range [-1, 1] by dividing through the largest maximum absolute value in each feature.">MaxAbsScaler</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="MaxAbsScalerModel$.html" title=""></a> |
| <a class="class" href="MaxAbsScalerModel.html" title="Model fitted by MaxAbsScaler."></a> |
| <a href="MaxAbsScalerModel.html" title="Model fitted by MaxAbsScaler.">MaxAbsScalerModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="MinHashLSH$.html" title=""></a> |
| <a class="class" href="MinHashLSH.html" title="LSH class for Jaccard distance."></a> |
| <a href="MinHashLSH.html" title="LSH class for Jaccard distance.">MinHashLSH</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="MinHashLSHModel$.html" title=""></a> |
| <a class="class" href="MinHashLSHModel.html" title="Model produced by MinHashLSH, where multiple hash functions are stored."></a> |
| <a href="MinHashLSHModel.html" title="Model produced by MinHashLSH, where multiple hash functions are stored.">MinHashLSHModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="MinMaxScaler$.html" title=""></a> |
| <a class="class" href="MinMaxScaler.html" title="Rescale each feature individually to a common range [min, max] linearly using column summary statistics, which is also known as min-max normalization or Rescaling."></a> |
| <a href="MinMaxScaler.html" title="Rescale each feature individually to a common range [min, max] linearly using column summary statistics, which is also known as min-max normalization or Rescaling.">MinMaxScaler</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="MinMaxScalerModel$.html" title=""></a> |
| <a class="class" href="MinMaxScalerModel.html" title="Model fitted by MinMaxScaler."></a> |
| <a href="MinMaxScalerModel.html" title="Model fitted by MinMaxScaler.">MinMaxScalerModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="NGram$.html" title=""></a> |
| <a class="class" href="NGram.html" title="A feature transformer that converts the input array of strings into an array of n-grams."></a> |
| <a href="NGram.html" title="A feature transformer that converts the input array of strings into an array of n-grams.">NGram</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="Normalizer$.html" title=""></a> |
| <a class="class" href="Normalizer.html" title="Normalize a vector to have unit norm using the given p-norm."></a> |
| <a href="Normalizer.html" title="Normalize a vector to have unit norm using the given p-norm.">Normalizer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="OneHotEncoder$.html" title=""></a> |
| <a class="class" href="OneHotEncoder.html" title="A one-hot encoder that maps a column of category indices to a column of binary vectors, with at most a single one-value per row that indicates the input category index."></a> |
| <a href="OneHotEncoder.html" title="A one-hot encoder that maps a column of category indices to a column of binary vectors, with at most a single one-value per row that indicates the input category index.">OneHotEncoder</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="OneHotEncoderModel$.html" title=""></a> |
| <a class="class" href="OneHotEncoderModel.html" title=""></a> |
| <a href="OneHotEncoderModel.html" title="">OneHotEncoderModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="PCA$.html" title=""></a> |
| <a class="class" href="PCA.html" title="PCA trains a model to project vectors to a lower dimensional space of the top PCA!.k principal components."></a> |
| <a href="PCA.html" title="PCA trains a model to project vectors to a lower dimensional space of the top PCA!.k principal components.">PCA</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="PCAModel$.html" title=""></a> |
| <a class="class" href="PCAModel.html" title="Model fitted by PCA."></a> |
| <a href="PCAModel.html" title="Model fitted by PCA.">PCAModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="PolynomialExpansion$.html" title="The expansion is done via recursion."></a> |
| <a class="class" href="PolynomialExpansion.html" title="Perform feature expansion in a polynomial space."></a> |
| <a href="PolynomialExpansion.html" title="Perform feature expansion in a polynomial space.">PolynomialExpansion</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="QuantileDiscretizer$.html" title=""></a> |
| <a class="class" href="QuantileDiscretizer.html" title="QuantileDiscretizer takes a column with continuous features and outputs a column with binned categorical features."></a> |
| <a href="QuantileDiscretizer.html" title="QuantileDiscretizer takes a column with continuous features and outputs a column with binned categorical features.">QuantileDiscretizer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="RFormula$.html" title=""></a> |
| <a class="class" href="RFormula.html" title="Implements the transforms required for fitting a dataset against an R model formula."></a> |
| <a href="RFormula.html" title="Implements the transforms required for fitting a dataset against an R model formula.">RFormula</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="RFormulaModel$.html" title=""></a> |
| <a class="class" href="" title="Model fitted by RFormula."></a> |
| <a href="" title="Model fitted by RFormula.">RFormulaModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="RegexTokenizer$.html" title=""></a> |
| <a class="class" href="RegexTokenizer.html" title="A regex based tokenizer that extracts tokens either by using the provided regex pattern to split the text (default) or repeatedly matching the regex (if gaps is false)."></a> |
| <a href="RegexTokenizer.html" title="A regex based tokenizer that extracts tokens either by using the provided regex pattern to split the text (default) or repeatedly matching the regex (if gaps is false).">RegexTokenizer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="RobustScaler$.html" title=""></a> |
| <a class="class" href="RobustScaler.html" title="Scale features using statistics that are robust to outliers."></a> |
| <a href="RobustScaler.html" title="Scale features using statistics that are robust to outliers.">RobustScaler</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="RobustScalerModel$.html" title=""></a> |
| <a class="class" href="RobustScalerModel.html" title="Model fitted by RobustScaler."></a> |
| <a href="RobustScalerModel.html" title="Model fitted by RobustScaler.">RobustScalerModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="SQLTransformer$.html" title=""></a> |
| <a class="class" href="SQLTransformer.html" title="Implements the transformations which are defined by SQL statement."></a> |
| <a href="SQLTransformer.html" title="Implements the transformations which are defined by SQL statement.">SQLTransformer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="StandardScaler$.html" title=""></a> |
| <a class="class" href="StandardScaler.html" title="Standardizes features by removing the mean and scaling to unit variance using column summary statistics on the samples in the training set."></a> |
| <a href="StandardScaler.html" title="Standardizes features by removing the mean and scaling to unit variance using column summary statistics on the samples in the training set.">StandardScaler</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="StandardScalerModel$.html" title=""></a> |
| <a class="class" href="StandardScalerModel.html" title="Model fitted by StandardScaler."></a> |
| <a href="StandardScalerModel.html" title="Model fitted by StandardScaler.">StandardScalerModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="StopWordsRemover$.html" title=""></a> |
| <a class="class" href="StopWordsRemover.html" title="A feature transformer that filters out stop words from input."></a> |
| <a href="StopWordsRemover.html" title="A feature transformer that filters out stop words from input.">StopWordsRemover</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="StringIndexer$.html" title=""></a> |
| <a class="class" href="StringIndexer.html" title="A label indexer that maps string column(s) of labels to ML column(s) of label indices."></a> |
| <a href="StringIndexer.html" title="A label indexer that maps string column(s) of labels to ML column(s) of label indices.">StringIndexer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="StringIndexerModel$.html" title=""></a> |
| <a class="class" href="StringIndexerModel.html" title="Model fitted by StringIndexer."></a> |
| <a href="StringIndexerModel.html" title="Model fitted by StringIndexer.">StringIndexerModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="Tokenizer$.html" title=""></a> |
| <a class="class" href="Tokenizer.html" title="A tokenizer that converts the input string to lowercase and then splits it by white spaces."></a> |
| <a href="Tokenizer.html" title="A tokenizer that converts the input string to lowercase and then splits it by white spaces.">Tokenizer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="UnivariateFeatureSelector$.html" title=""></a> |
| <a class="class" href="UnivariateFeatureSelector.html" title="Feature selector based on univariate statistical tests against labels."></a> |
| <a href="UnivariateFeatureSelector.html" title="Feature selector based on univariate statistical tests against labels.">UnivariateFeatureSelector</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="UnivariateFeatureSelectorModel$.html" title=""></a> |
| <a class="class" href="UnivariateFeatureSelectorModel.html" title="Model fitted by UnivariateFeatureSelectorModel."></a> |
| <a href="UnivariateFeatureSelectorModel.html" title="Model fitted by UnivariateFeatureSelectorModel.">UnivariateFeatureSelectorModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="VarianceThresholdSelector$.html" title=""></a> |
| <a class="class" href="VarianceThresholdSelector.html" title="Feature selector that removes all low-variance features."></a> |
| <a href="VarianceThresholdSelector.html" title="Feature selector that removes all low-variance features.">VarianceThresholdSelector</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="VarianceThresholdSelectorModel$.html" title=""></a> |
| <a class="class" href="VarianceThresholdSelectorModel.html" title="Model fitted by VarianceThresholdSelector."></a> |
| <a href="VarianceThresholdSelectorModel.html" title="Model fitted by VarianceThresholdSelector.">VarianceThresholdSelectorModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="VectorAssembler$.html" title=""></a> |
| <a class="class" href="VectorAssembler.html" title="A feature transformer that merges multiple columns into a vector column."></a> |
| <a href="VectorAssembler.html" title="A feature transformer that merges multiple columns into a vector column.">VectorAssembler</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="VectorIndexer$.html" title=""></a> |
| <a class="class" href="VectorIndexer.html" title="Class for indexing categorical feature columns in a dataset of Vector."></a> |
| <a href="VectorIndexer.html" title="Class for indexing categorical feature columns in a dataset of Vector.">VectorIndexer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="VectorIndexerModel$.html" title=""></a> |
| <a class="class" href="VectorIndexerModel.html" title="Model fitted by VectorIndexer."></a> |
| <a href="VectorIndexerModel.html" title="Model fitted by VectorIndexer.">VectorIndexerModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="VectorSizeHint$.html" title=""></a> |
| <a class="class" href="VectorSizeHint.html" title="A feature transformer that adds size information to the metadata of a vector column."></a> |
| <a href="VectorSizeHint.html" title="A feature transformer that adds size information to the metadata of a vector column.">VectorSizeHint</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="VectorSlicer$.html" title=""></a> |
| <a class="class" href="VectorSlicer.html" title="This class takes a feature vector and outputs a new feature vector with a subarray of the original features."></a> |
| <a href="VectorSlicer.html" title="This class takes a feature vector and outputs a new feature vector with a subarray of the original features.">VectorSlicer</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="Word2Vec$.html" title=""></a> |
| <a class="class" href="Word2Vec.html" title="Word2Vec trains a model of Map(String, Vector), i.e."></a> |
| <a href="Word2Vec.html" title="Word2Vec trains a model of Map(String, Vector), i.e.">Word2Vec</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="Word2VecModel$.html" title=""></a> |
| <a class="class" href="Word2VecModel.html" title="Model fitted by Word2Vec."></a> |
| <a href="Word2VecModel.html" title="Model fitted by Word2Vec.">Word2VecModel</a> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <div id="content"> |
| <body class="class type"> |
| <div id="definition"> |
| <a href="RFormulaModel$.html" title="See companion object"><div class="big-circle class-companion-object">c</div></a> |
| <p id="owner"><a href="../../../../index.html" class="extype" name="org">org</a>.<a href="../../../index.html" class="extype" name="org.apache">apache</a>.<a href="../../index.html" class="extype" name="org.apache.spark">spark</a>.<a href="../index.html" class="extype" name="org.apache.spark.ml">ml</a>.<a href="index.html" class="extype" name="org.apache.spark.ml.feature">feature</a></p> |
| <h1><a href="RFormulaModel$.html" title="See companion object">RFormulaModel</a><span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span></h1> |
| <h3><span class="morelinks"><div> |
| Companion <a href="RFormulaModel$.html" title="See companion object">object RFormulaModel</a> |
| </div></span></h3> |
| </div> |
| |
| <h4 id="signature" class="signature"> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">class</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">RFormulaModel</span><span class="result"> extends <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>] with <span class="extype" name="org.apache.spark.ml.feature.RFormulaBase">RFormulaBase</span> with <a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a></span> |
| </span> |
| </h4> |
| |
| |
| <div id="comment" class="fullcommenttop"><div class="comment cmt"><p>Model fitted by <a href="RFormula.html" class="extype" name="org.apache.spark.ml.feature.RFormula">RFormula</a>. Fitting is required to determine the factor levels of |
| formula terms. |
| </p></div><dl class="attributes block"> <dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.5.0"</span> |
| </span>)</span> |
| |
| </dd><dt>Source</dt><dd><a href="https://github.com/apache/spark/tree/v3.4.3/mllib/src/main/scala/org/apache/spark/ml/feature/RFormula.scala" target="_blank">RFormula.scala</a></dd></dl><div class="toggleContainer block"> |
| <span class="toggle"> |
| Linear Supertypes |
| </span> |
| <div class="superTypes hiddenContent"><a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a>, <span class="extype" name="org.apache.spark.ml.feature.RFormulaBase">RFormulaBase</span>, <a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a>, <a href="../param/shared/HasLabelCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasLabelCol">HasLabelCol</a>, <a href="../param/shared/HasFeaturesCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasFeaturesCol">HasFeaturesCol</a>, <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>], <a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a>, <a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a>, <span class="extype" name="org.apache.spark.internal.Logging">Logging</span>, <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>, <a href="../../../../../scala/index.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a>, <span class="extype" name="scala.Any">Any</span></div> |
| </div></div> |
| |
| |
| <div id="mbrsel"> |
| <div class="toggle"></div> |
| <div id="memberfilter"> |
| <i class="material-icons arrow"></i> |
| <span class="input"> |
| <input id="mbrsel-input" placeholder="Filter all members" type="text" accesskey="/" /> |
| </span> |
| <i class="clear material-icons"></i> |
| </div> |
| <div id="filterby"> |
| <div id="order"> |
| <span class="filtertype">Ordering</span> |
| <ol> |
| <li class="group out"><span>Grouped</span></li> |
| <li class="alpha in"><span>Alphabetic</span></li> |
| <li class="inherit out"><span>By Inheritance</span></li> |
| </ol> |
| </div> |
| <div class="ancestors"> |
| <span class="filtertype">Inherited<br /> |
| </span> |
| <ol id="linearization"> |
| <li class="in" name="org.apache.spark.ml.feature.RFormulaModel"><span>RFormulaModel</span></li><li class="in" name="org.apache.spark.ml.util.MLWritable"><span>MLWritable</span></li><li class="in" name="org.apache.spark.ml.feature.RFormulaBase"><span>RFormulaBase</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasHandleInvalid"><span>HasHandleInvalid</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasLabelCol"><span>HasLabelCol</span></li><li class="in" name="org.apache.spark.ml.param.shared.HasFeaturesCol"><span>HasFeaturesCol</span></li><li class="in" name="org.apache.spark.ml.Model"><span>Model</span></li><li class="in" name="org.apache.spark.ml.Transformer"><span>Transformer</span></li><li class="in" name="org.apache.spark.ml.PipelineStage"><span>PipelineStage</span></li><li class="in" name="org.apache.spark.internal.Logging"><span>Logging</span></li><li class="in" name="org.apache.spark.ml.param.Params"><span>Params</span></li><li class="in" name="scala.Serializable"><span>Serializable</span></li><li class="in" name="java.io.Serializable"><span>Serializable</span></li><li class="in" name="org.apache.spark.ml.util.Identifiable"><span>Identifiable</span></li><li class="in" name="scala.AnyRef"><span>AnyRef</span></li><li class="in" name="scala.Any"><span>Any</span></li> |
| </ol> |
| </div><div class="ancestors"> |
| <span class="filtertype"></span> |
| <ol> |
| <li class="hideall out"><span>Hide All</span></li> |
| <li class="showall in"><span>Show All</span></li> |
| </ol> |
| </div> |
| <div id="visbl"> |
| <span class="filtertype">Visibility</span> |
| <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol> |
| </div> |
| </div> |
| </div> |
| |
| <div id="template"> |
| <div id="allMembers"> |
| |
| |
| |
| |
| |
| |
| <div class="values members"> |
| <h3>Value Members</h3> |
| <ol> |
| <li name="scala.AnyRef#!=" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="!=(x$1:Any):Boolean"></a><a id="!=(Any):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#!=(x$1:Any):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> |
| </li><li name="scala.AnyRef###" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="##():Int"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html###():Int" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span title="gt4s: $hash$hash" class="name">##</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#$" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="$[T](param:org.apache.spark.ml.param.Param[T]):T"></a><a id="$[T](Param[T]):T"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#$[T](param:org.apache.spark.ml.param.Param[T]):T" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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>. |
| </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> |
| </li><li name="scala.AnyRef#==" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="==(x$1:Any):Boolean"></a><a id="==(Any):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#==(x$1:Any):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> |
| </li><li name="scala.Any#asInstanceOf" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="asInstanceOf[T0]:T0"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#asInstanceOf[T0]:T0" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#clear" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="clear(param:org.apache.spark.ml.param.Param[_]):Params.this.type"></a><a id="clear(Param[_]):RFormulaModel.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#clear(param:org.apache.spark.ml.param.Param[_]):Params.this.type" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">clear</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[_]</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span> |
| </span> |
| |
| <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. |
| </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> |
| </li><li name="scala.AnyRef#clone" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="clone():Object"></a><a id="clone():AnyRef"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#clone():Object" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">clone</span><span class="params">()</span><span class="result">: <a href="../../../../../scala/index.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<span class="extype" name="java.lang">lang</span>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> |
| <span class="name">@throws</span><span class="args">(<span> |
| |
| <span class="defval" name="classOf[java.lang.CloneNotSupportedException]">...</span> |
| </span>)</span> |
| |
| <span class="name">@native</span><span class="args">()</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaModel#copy" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="copy(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.feature.RFormulaModel"></a><a id="copy(ParamMap):RFormulaModel"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#copy(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.feature.RFormulaModel" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">copy</span><span class="params">(<span name="extra">extra: <a href="../param/ParamMap.html" class="extype" name="org.apache.spark.ml.param.ParamMap">ParamMap</a></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a></span> |
| </span> |
| |
| <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. |
| Subclasses should implement this method and set the return type properly. |
| See <code>defaultCopy()</code>. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a> → <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a> → <a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a> → <a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a> → <a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.5.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#copyValues" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="copyValues[T<:org.apache.spark.ml.param.Params](to:T,extra:org.apache.spark.ml.param.ParamMap):T"></a><a id="copyValues[T<:Params](T,ParamMap):T"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#copyValues[T<:org.apache.spark.ml.param.Params](to:T,extra:org.apache.spark.ml.param.ParamMap):T" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">copyValues</span><span class="tparams">[<span name="T">T <: <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> |
| </span> |
| |
| <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. |
| Default Params are copied from and to <code>defaultParamMap</code>, and explicitly set Params are |
| copied from and to <code>paramMap</code>. |
| 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 |
| share the same set of default Params. |
| </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 |
| 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> |
| </li><li name="org.apache.spark.ml.param.Params#defaultCopy" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="defaultCopy[T<:org.apache.spark.ml.param.Params](extra:org.apache.spark.ml.param.ParamMap):T"></a><a id="defaultCopy[T<:Params](ParamMap):T"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#defaultCopy[T<:org.apache.spark.ml.param.Params](extra:org.apache.spark.ml.param.ParamMap):T" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">defaultCopy</span><span class="tparams">[<span name="T">T <: <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> |
| </span> |
| |
| <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. |
| It tries to create a new instance with the same UID. |
| Then it copies the embedded and extra parameters over and returns the new instance. |
| </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> |
| </li><li name="scala.AnyRef#eq" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="eq(x$1:AnyRef):Boolean"></a><a id="eq(AnyRef):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#eq(x$1:AnyRef):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">eq</span><span class="params">(<span name="arg0">arg0: <a href="../../../../../scala/index.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> |
| </li><li name="scala.AnyRef#equals" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="equals(x$1:Any):Boolean"></a><a id="equals(Any):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#equals(x$1:Any):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#explainParam" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="explainParam(param:org.apache.spark.ml.param.Param[_]):String"></a><a id="explainParam(Param[_]):String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#explainParam(param:org.apache.spark.ml.param.Param[_]):String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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 |
| 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> |
| </li><li name="org.apache.spark.ml.param.Params#explainParams" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="explainParams():String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#explainParams():String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">explainParams</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> |
| </span> |
| |
| <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>. |
| </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> |
| </li><li name="org.apache.spark.ml.param.Params#extractParamMap" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="extractParamMap():org.apache.spark.ml.param.ParamMap"></a><a id="extractParamMap():ParamMap"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#extractParamMap():org.apache.spark.ml.param.ParamMap" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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. |
| </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> |
| </li><li name="org.apache.spark.ml.param.Params#extractParamMap" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="extractParamMap(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.param.ParamMap"></a><a id="extractParamMap(ParamMap):ParamMap"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#extractParamMap(extra:org.apache.spark.ml.param.ParamMap):org.apache.spark.ml.param.ParamMap" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <p class="shortcomment cmt">Extracts the embedded default param values and user-supplied values, and then merges them with |
| extra values from input into a flat param map, where the latter value is used if there exist |
| conflicts, i.e., with ordering: |
| 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 |
| extra values from input into a flat param map, where the latter value is used if there exist |
| conflicts, i.e., with ordering: |
| default param values less than user-supplied values less than extra. |
| </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> |
| </li><li name="org.apache.spark.ml.param.shared.HasFeaturesCol#featuresCol" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="param"> |
| <a id="featuresCol:org.apache.spark.ml.param.Param[String]"></a><a id="featuresCol:Param[String]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#featuresCol:org.apache.spark.ml.param.Param[String]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">val</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">featuresCol</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Predef.String">String</span>]</span> |
| </span> |
| |
| <p class="shortcomment cmt">Param for features column name.</p><div class="fullcomment"><div class="comment cmt"><p>Param for features column name.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasFeaturesCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasFeaturesCol">HasFeaturesCol</a></dd></dl></div> |
| </li><li name="scala.AnyRef#finalize" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="finalize():Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#finalize():Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">finalize</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<span class="extype" name="java.lang">lang</span>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> |
| <span class="name">@throws</span><span class="args">(<span> |
| |
| <span class="symbol">classOf[java.lang.Throwable]</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaBase#forceIndexLabel" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="param"> |
| <a id="forceIndexLabel:org.apache.spark.ml.param.BooleanParam"></a><a id="forceIndexLabel:BooleanParam"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#forceIndexLabel:org.apache.spark.ml.param.BooleanParam" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">val</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">forceIndexLabel</span><span class="result">: <a href="../param/BooleanParam.html" class="extype" name="org.apache.spark.ml.param.BooleanParam">BooleanParam</a></span> |
| </span> |
| |
| <p class="shortcomment cmt">Force to index label whether it is numeric or string type.</p><div class="fullcomment"><div class="comment cmt"><p>Force to index label whether it is numeric or string type. |
| Usually we index label only when it is string type. |
| If the formula was used by classification algorithms, |
| we can force to index label even it is numeric type by setting this param with true. |
| Default: false.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.1.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaBase#formula" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="param"> |
| <a id="formula:org.apache.spark.ml.param.Param[String]"></a><a id="formula:Param[String]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#formula:org.apache.spark.ml.param.Param[String]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">val</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">formula</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Predef.String">String</span>]</span> |
| </span> |
| |
| <p class="shortcomment cmt">R formula parameter.</p><div class="fullcomment"><div class="comment cmt"><p>R formula parameter. The formula is provided in string form.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.5.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#get" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="get[T](param:org.apache.spark.ml.param.Param[T]):Option[T]"></a><a id="get[T](Param[T]):Option[T]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#get[T](param:org.apache.spark.ml.param.Param[T]):Option[T]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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. |
| </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> |
| </li><li name="scala.AnyRef#getClass" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="getClass():Class[_]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getClass():Class[_]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">getClass</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.Class">Class</span>[_]</span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd> |
| <span class="name">@native</span><span class="args">()</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#getDefault" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="getDefault[T](param:org.apache.spark.ml.param.Param[T]):Option[T]"></a><a id="getDefault[T](Param[T]):Option[T]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getDefault[T](param:org.apache.spark.ml.param.Param[T]):Option[T]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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. |
| </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> |
| </li><li name="org.apache.spark.ml.param.shared.HasFeaturesCol#getFeaturesCol" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="getParam"> |
| <a id="getFeaturesCol:String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getFeaturesCol:String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">getFeaturesCol</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> |
| </span> |
| |
| <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasFeaturesCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasFeaturesCol">HasFeaturesCol</a></dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaBase#getForceIndexLabel" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="getParam"> |
| <a id="getForceIndexLabel:Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getForceIndexLabel:Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">getForceIndexLabel</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> |
| </span> |
| |
| <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.1.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaBase#getFormula" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="getParam"> |
| <a id="getFormula:String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getFormula:String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">getFormula</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> |
| </span> |
| |
| <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.5.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.shared.HasHandleInvalid#getHandleInvalid" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="getParam"> |
| <a id="getHandleInvalid:String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getHandleInvalid:String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">getHandleInvalid</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> |
| </span> |
| |
| <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> |
| </li><li name="org.apache.spark.ml.param.shared.HasLabelCol#getLabelCol" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="getParam"> |
| <a id="getLabelCol:String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getLabelCol:String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">getLabelCol</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> |
| </span> |
| |
| <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasLabelCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasLabelCol">HasLabelCol</a></dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#getOrDefault" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="getOrDefault[T](param:org.apache.spark.ml.param.Param[T]):T"></a><a id="getOrDefault[T](Param[T]):T"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getOrDefault[T](param:org.apache.spark.ml.param.Param[T]):T" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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 |
| if neither is 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> |
| </li><li name="org.apache.spark.ml.param.Params#getParam" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="getParam(paramName:String):org.apache.spark.ml.param.Param[Any]"></a><a id="getParam(String):Param[Any]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getParam(paramName:String):org.apache.spark.ml.param.Param[Any]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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> |
| </li><li name="org.apache.spark.ml.feature.RFormulaBase#getStringIndexerOrderType" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="getParam"> |
| <a id="getStringIndexerOrderType:String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#getStringIndexerOrderType:String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">getStringIndexerOrderType</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> |
| </span> |
| |
| <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.3.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaBase#handleInvalid" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="param"> |
| <a id="handleInvalid:org.apache.spark.ml.param.Param[String]"></a><a id="handleInvalid:Param[String]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#handleInvalid:org.apache.spark.ml.param.Param[String]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">val</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <p class="shortcomment cmt">Param for how to handle invalid data (unseen or NULL values) in features and label column |
| of string type.</p><div class="fullcomment"><div class="comment cmt"><p>Param for how to handle invalid data (unseen or NULL values) in features and label column |
| of string type. Options are 'skip' (filter out rows with invalid data), |
| 'error' (throw an error), or 'keep' (put invalid data in a special additional |
| bucket, at index numLabels). |
| Default: "error"</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase → <a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.3.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#hasDefault" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="hasDefault[T](param:org.apache.spark.ml.param.Param[T]):Boolean"></a><a id="hasDefault[T](Param[T]):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#hasDefault[T](param:org.apache.spark.ml.param.Param[T]):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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. |
| </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> |
| </li><li name="org.apache.spark.ml.feature.RFormulaBase#hasLabelCol" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="hasLabelCol(schema:org.apache.spark.sql.types.StructType):Boolean"></a><a id="hasLabelCol(StructType):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#hasLabelCol(schema:org.apache.spark.sql.types.StructType):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">hasLabelCol</span><span class="params">(<span name="schema">schema: <a href="../../sql/types/StructType.html" class="extype" name="org.apache.spark.sql.types.StructType">StructType</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>RFormulaBase</dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#hasParam" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="hasParam(paramName:String):Boolean"></a><a id="hasParam(String):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#hasParam(paramName:String):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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> |
| </li><li name="org.apache.spark.ml.Model#hasParent" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="hasParent:Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#hasParent:Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">hasParent</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> |
| </span> |
| |
| <p class="shortcomment cmt">Indicates whether this <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a> has a corresponding parent.</p><div class="fullcomment"><div class="comment cmt"><p>Indicates whether this <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a> has a corresponding parent.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a></dd></dl></div> |
| </li><li name="scala.AnyRef#hashCode" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="hashCode():Int"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#hashCode():Int" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd> |
| <span class="name">@native</span><span class="args">()</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#initializeLogIfNecessary" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="initializeLogIfNecessary(isInterpreter:Boolean,silent:Boolean):Boolean"></a><a id="initializeLogIfNecessary(Boolean,Boolean):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#initializeLogIfNecessary(isInterpreter:Boolean,silent:Boolean):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#initializeLogIfNecessary" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="initializeLogIfNecessary(isInterpreter:Boolean):Unit"></a><a id="initializeLogIfNecessary(Boolean):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#initializeLogIfNecessary(isInterpreter:Boolean):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#isDefined" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="isDefined(param:org.apache.spark.ml.param.Param[_]):Boolean"></a><a id="isDefined(Param[_]):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#isDefined(param:org.apache.spark.ml.param.Param[_]):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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> |
| </li><li name="scala.Any#isInstanceOf" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="isInstanceOf[T0]:Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#isInstanceOf[T0]:Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#isSet" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="isSet(param:org.apache.spark.ml.param.Param[_]):Boolean"></a><a id="isSet(Param[_]):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#isSet(param:org.apache.spark.ml.param.Param[_]):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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> |
| </li><li name="org.apache.spark.internal.Logging#isTraceEnabled" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="isTraceEnabled():Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#isTraceEnabled():Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">isTraceEnabled</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.shared.HasLabelCol#labelCol" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="param"> |
| <a id="labelCol:org.apache.spark.ml.param.Param[String]"></a><a id="labelCol:Param[String]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#labelCol:org.apache.spark.ml.param.Param[String]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">val</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">labelCol</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Predef.String">String</span>]</span> |
| </span> |
| |
| <p class="shortcomment cmt">Param for label column name.</p><div class="fullcomment"><div class="comment cmt"><p>Param for label column name.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../param/shared/HasLabelCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasLabelCol">HasLabelCol</a></dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#log" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="log:org.slf4j.Logger"></a><a id="log:Logger"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#log:org.slf4j.Logger" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">log</span><span class="result">: <span class="extype" name="org.slf4j.Logger">Logger</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logDebug" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logDebug(msg:=>String,throwable:Throwable):Unit"></a><a id="logDebug(⇒String,Throwable):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logDebug(msg:=>String,throwable:Throwable):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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: <a href="../../../../../scala/index.html#Throwable=Throwable" class="extmbr" name="scala.Throwable">Throwable</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logDebug" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logDebug(msg:=>String):Unit"></a><a id="logDebug(⇒String):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logDebug(msg:=>String):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logError" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logError(msg:=>String,throwable:Throwable):Unit"></a><a id="logError(⇒String,Throwable):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logError(msg:=>String,throwable:Throwable):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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: <a href="../../../../../scala/index.html#Throwable=Throwable" class="extmbr" name="scala.Throwable">Throwable</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logError" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logError(msg:=>String):Unit"></a><a id="logError(⇒String):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logError(msg:=>String):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logInfo" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logInfo(msg:=>String,throwable:Throwable):Unit"></a><a id="logInfo(⇒String,Throwable):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logInfo(msg:=>String,throwable:Throwable):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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: <a href="../../../../../scala/index.html#Throwable=Throwable" class="extmbr" name="scala.Throwable">Throwable</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logInfo" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logInfo(msg:=>String):Unit"></a><a id="logInfo(⇒String):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logInfo(msg:=>String):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logName" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logName:String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logName:String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">logName</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logTrace" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logTrace(msg:=>String,throwable:Throwable):Unit"></a><a id="logTrace(⇒String,Throwable):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logTrace(msg:=>String,throwable:Throwable):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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: <a href="../../../../../scala/index.html#Throwable=Throwable" class="extmbr" name="scala.Throwable">Throwable</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logTrace" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logTrace(msg:=>String):Unit"></a><a id="logTrace(⇒String):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logTrace(msg:=>String):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logWarning" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logWarning(msg:=>String,throwable:Throwable):Unit"></a><a id="logWarning(⇒String,Throwable):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logWarning(msg:=>String,throwable:Throwable):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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: <a href="../../../../../scala/index.html#Throwable=Throwable" class="extmbr" name="scala.Throwable">Throwable</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="org.apache.spark.internal.Logging#logWarning" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="logWarning(msg:=>String):Unit"></a><a id="logWarning(⇒String):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#logWarning(msg:=>String):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd>Logging</dd></dl></div> |
| </li><li name="scala.AnyRef#ne" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="ne(x$1:AnyRef):Boolean"></a><a id="ne(AnyRef):Boolean"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#ne(x$1:AnyRef):Boolean" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">ne</span><span class="params">(<span name="arg0">arg0: <a href="../../../../../scala/index.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> |
| </li><li name="scala.AnyRef#notify" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="notify():Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#notify():Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">notify</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> |
| <span class="name">@native</span><span class="args">()</span> |
| |
| </dd></dl></div> |
| </li><li name="scala.AnyRef#notifyAll" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="notifyAll():Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#notifyAll():Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">notifyAll</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> |
| <span class="name">@native</span><span class="args">()</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#params" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="params:Array[org.apache.spark.ml.param.Param[_]]"></a><a id="params:Array[Param[_]]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#params:Array[org.apache.spark.ml.param.Param[_]]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">lazy val</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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 |
| 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>. |
| </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 |
| this variable gets initialized before other params.</p></span></dd></dl></div> |
| </li><li name="org.apache.spark.ml.Model#parent" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="parent:org.apache.spark.ml.Estimator[M]"></a><a id="parent:Estimator[RFormulaModel]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#parent:org.apache.spark.ml.Estimator[M]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">var</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">parent</span><span class="result">: <a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>]</span> |
| </span> |
| |
| <p class="shortcomment cmt">The parent estimator that produced this model.</p><div class="fullcomment"><div class="comment cmt"><p>The parent estimator that produced this model.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a></dd><dt>Note</dt><dd><span class="cmt"><p>For ensembles' component Models, this value can be null.</p></span></dd></dl></div> |
| </li><li name="org.apache.spark.ml.util.MLWritable#save" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="save(path:String):Unit"></a><a id="save(String):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#save(path:String):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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>. |
| </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> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.6.0"</span> |
| </span>)</span> |
| |
| <span class="name">@throws</span><span class="args">(<span> |
| |
| <span class="defval" name=""If the input path already exists but overwrite is not enabled."">...</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.param.Params#set" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="set(paramPair:org.apache.spark.ml.param.ParamPair[_]):Params.this.type"></a><a id="set(ParamPair[_]):RFormulaModel.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#set(paramPair:org.apache.spark.ml.param.ParamPair[_]):Params.this.type" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">set</span><span class="params">(<span name="paramPair">paramPair: <a href="../param/ParamPair.html" class="extype" name="org.apache.spark.ml.param.ParamPair">ParamPair</a>[_]</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span> |
| </span> |
| |
| <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. |
| </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> |
| </li><li name="org.apache.spark.ml.param.Params#set" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="set(param:String,value:Any):Params.this.type"></a><a id="set(String,Any):RFormulaModel.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#set(param:String,value:Any):Params.this.type" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">set</span><span class="params">(<span name="param">param: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="value">value: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span> |
| </span> |
| |
| <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. |
| </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> |
| </li><li name="org.apache.spark.ml.param.Params#set" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="set[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type"></a><a id="set[T](Param[T],T):RFormulaModel.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#set[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">set</span><span class="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="org.apache.spark.ml.param.Params.set.T">T</span>]</span>, <span name="value">value: <span class="extype" name="org.apache.spark.ml.param.Params.set.T">T</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span> |
| </span> |
| |
| <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. |
| </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> |
| </li><li name="org.apache.spark.ml.param.Params#setDefault" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="setDefault(paramPairs:org.apache.spark.ml.param.ParamPair[_]*):Params.this.type"></a><a id="setDefault(ParamPair[_]*):RFormulaModel.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#setDefault(paramPairs:org.apache.spark.ml.param.ParamPair[_]*):Params.this.type" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">setDefault</span><span class="params">(<span name="paramPairs">paramPairs: <a href="../param/ParamPair.html" class="extype" name="org.apache.spark.ml.param.ParamPair">ParamPair</a>[_]*</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span> |
| </span> |
| |
| <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>. |
| Annotating this with varargs can cause compilation failures due to a Scala compiler bug. |
| See SPARK-9268. |
| </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 |
| respectively. Make sure that the params are initialized before this method |
| 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> |
| </li><li name="org.apache.spark.ml.param.Params#setDefault" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="setDefault[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type"></a><a id="setDefault[T](Param[T],T):RFormulaModel.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#setDefault[T](param:org.apache.spark.ml.param.Param[T],value:T):Params.this.type" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">setDefault</span><span class="tparams">[<span name="T">T</span>]</span><span class="params">(<span name="param">param: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="org.apache.spark.ml.param.Params.setDefault.T">T</span>]</span>, <span name="value">value: <span class="extype" name="org.apache.spark.ml.param.Params.setDefault.T">T</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>.this.type</span> |
| </span> |
| |
| <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 |
| 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[<a href="../index.html" class="extype" name="org.apache.spark.ml">ml</a>] </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> |
| </li><li name="org.apache.spark.ml.Model#setParent" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="setParent(parent:org.apache.spark.ml.Estimator[M]):M"></a><a id="setParent(Estimator[RFormulaModel]):RFormulaModel"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#setParent(parent:org.apache.spark.ml.Estimator[M]):M" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">setParent</span><span class="params">(<span name="parent">parent: <a href="../Estimator.html" class="extype" name="org.apache.spark.ml.Estimator">Estimator</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>]</span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a></span> |
| </span> |
| |
| <p class="shortcomment cmt">Sets the parent of this model (Java API).</p><div class="fullcomment"><div class="comment cmt"><p>Sets the parent of this model (Java API). |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a></dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaBase#stringIndexerOrderType" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="param"> |
| <a id="stringIndexerOrderType:org.apache.spark.ml.param.Param[String]"></a><a id="stringIndexerOrderType:Param[String]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#stringIndexerOrderType:org.apache.spark.ml.param.Param[String]" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">val</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">stringIndexerOrderType</span><span class="result">: <a href="../param/Param.html" class="extype" name="org.apache.spark.ml.param.Param">Param</a>[<span class="extype" name="scala.Predef.String">String</span>]</span> |
| </span> |
| |
| <p class="shortcomment cmt">Param for how to order categories of a string FEATURE column used by <code>StringIndexer</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Param for how to order categories of a string FEATURE column used by <code>StringIndexer</code>. |
| The last category after ordering is dropped when encoding strings. |
| Supported options: 'frequencyDesc', 'frequencyAsc', 'alphabetDesc', 'alphabetAsc'. |
| The default value is 'frequencyDesc'. When the ordering is set to 'alphabetDesc', <code>RFormula</code> |
| drops the same category as R when encoding strings.</p><p>The options are explained using an example <code>'b', 'a', 'b', 'a', 'c', 'b'</code>:</p><pre>+-----------------+---------------------------------------+----------------------------------+ |
| | <span class="std">Option</span> | Category mapped to <span class="num">0</span> by StringIndexer | Category dropped by RFormula | |
| +-----------------+---------------------------------------+----------------------------------+ |
| | 'frequencyDesc' | most frequent category (<span class="lit">'b'</span>) | least frequent category (<span class="lit">'c'</span>) | |
| | 'frequencyAsc' | least frequent category (<span class="lit">'c'</span>) | most frequent category (<span class="lit">'b'</span>) | |
| | 'alphabetDesc' | last alphabetical category (<span class="lit">'c'</span>) | first alphabetical category (<span class="lit">'a'</span>)| |
| | 'alphabetAsc' | first alphabetical category (<span class="lit">'a'</span>) | last alphabetical category (<span class="lit">'c'</span>) | |
| +-----------------+---------------------------------------+----------------------------------+</pre><p>Note that this ordering option is NOT used for the label column. When the label column is |
| indexed, it uses the default descending frequency ordering in <code>StringIndexer</code>. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd>RFormulaBase</dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.3.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="scala.AnyRef#synchronized" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="synchronized[T0](x$1:=>T0):T0"></a><a id="synchronized[T0](⇒T0):T0"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#synchronized[T0](x$1:=>T0):T0" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaModel#toString" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="toString():String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#toString():String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a> → <a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a> → AnyRef → Any</dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.0.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaModel#transform" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="transform(dataset:org.apache.spark.sql.Dataset[_]):org.apache.spark.sql.DataFrame"></a><a id="transform(Dataset[_]):DataFrame"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#transform(dataset:org.apache.spark.sql.Dataset[_]):org.apache.spark.sql.DataFrame" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">transform</span><span class="params">(<span name="dataset">dataset: <a href="../../sql/Dataset.html" class="extype" name="org.apache.spark.sql.Dataset">Dataset</a>[_]</span>)</span><span class="result">: <a href="../../sql/index.html#DataFrame=org.apache.spark.sql.Dataset[org.apache.spark.sql.Row]" class="extmbr" name="org.apache.spark.sql.DataFrame">DataFrame</a></span> |
| </span> |
| |
| <p class="shortcomment cmt">Transforms the input dataset.</p><div class="fullcomment"><div class="comment cmt"><p>Transforms the input dataset. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a> → <a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.0.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.Transformer#transform" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="transform(dataset:org.apache.spark.sql.Dataset[_],paramMap:org.apache.spark.ml.param.ParamMap):org.apache.spark.sql.DataFrame"></a><a id="transform(Dataset[_],ParamMap):DataFrame"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#transform(dataset:org.apache.spark.sql.Dataset[_],paramMap:org.apache.spark.ml.param.ParamMap):org.apache.spark.sql.DataFrame" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">transform</span><span class="params">(<span name="dataset">dataset: <a href="../../sql/Dataset.html" class="extype" name="org.apache.spark.sql.Dataset">Dataset</a>[_]</span>, <span name="paramMap">paramMap: <a href="../param/ParamMap.html" class="extype" name="org.apache.spark.ml.param.ParamMap">ParamMap</a></span>)</span><span class="result">: <a href="../../sql/index.html#DataFrame=org.apache.spark.sql.Dataset[org.apache.spark.sql.Row]" class="extmbr" name="org.apache.spark.sql.DataFrame">DataFrame</a></span> |
| </span> |
| |
| <p class="shortcomment cmt">Transforms the dataset with provided parameter map as additional parameters.</p><div class="fullcomment"><div class="comment cmt"><p>Transforms the dataset with provided parameter map as additional parameters.</p></div><dl class="paramcmts block"><dt class="param">dataset</dt><dd class="cmt"><p>input dataset</p></dd><dt class="param">paramMap</dt><dd class="cmt"><p>additional parameters, overwrite embedded params</p></dd><dt>returns</dt><dd class="cmt"><p>transformed dataset</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.0.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.Transformer#transform" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="transform(dataset:org.apache.spark.sql.Dataset[_],firstParamPair:org.apache.spark.ml.param.ParamPair[_],otherParamPairs:org.apache.spark.ml.param.ParamPair[_]*):org.apache.spark.sql.DataFrame"></a><a id="transform(Dataset[_],ParamPair[_],ParamPair[_]*):DataFrame"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#transform(dataset:org.apache.spark.sql.Dataset[_],firstParamPair:org.apache.spark.ml.param.ParamPair[_],otherParamPairs:org.apache.spark.ml.param.ParamPair[_]*):org.apache.spark.sql.DataFrame" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">transform</span><span class="params">(<span name="dataset">dataset: <a href="../../sql/Dataset.html" class="extype" name="org.apache.spark.sql.Dataset">Dataset</a>[_]</span>, <span name="firstParamPair">firstParamPair: <a href="../param/ParamPair.html" class="extype" name="org.apache.spark.ml.param.ParamPair">ParamPair</a>[_]</span>, <span name="otherParamPairs">otherParamPairs: <a href="../param/ParamPair.html" class="extype" name="org.apache.spark.ml.param.ParamPair">ParamPair</a>[_]*</span>)</span><span class="result">: <a href="../../sql/index.html#DataFrame=org.apache.spark.sql.Dataset[org.apache.spark.sql.Row]" class="extmbr" name="org.apache.spark.sql.DataFrame">DataFrame</a></span> |
| </span> |
| |
| <p class="shortcomment cmt">Transforms the dataset with optional parameters</p><div class="fullcomment"><div class="comment cmt"><p>Transforms the dataset with optional parameters</p></div><dl class="paramcmts block"><dt class="param">dataset</dt><dd class="cmt"><p>input dataset</p></dd><dt class="param">firstParamPair</dt><dd class="cmt"><p>the first param pair, overwrite embedded params</p></dd><dt class="param">otherParamPairs</dt><dd class="cmt"><p>other param pairs, overwrite embedded params</p></dd><dt>returns</dt><dd class="cmt"><p>transformed dataset</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.0.0"</span> |
| </span>)</span> |
| |
| <span class="name">@varargs</span><span class="args">()</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaModel#transformSchema" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="transformSchema(schema:org.apache.spark.sql.types.StructType):org.apache.spark.sql.types.StructType"></a><a id="transformSchema(StructType):StructType"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#transformSchema(schema:org.apache.spark.sql.types.StructType):org.apache.spark.sql.types.StructType" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <p class="shortcomment cmt">Check transform validity and derive the output schema from the input schema.</p><div class="fullcomment"><div class="comment cmt"><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 |
| raise an exception if any parameter value is invalid. Parameter value checks which |
| 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 |
| validity, including complex parameter interaction checks. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a> → <a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.5.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.PipelineStage#transformSchema" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="transformSchema(schema:org.apache.spark.sql.types.StructType,logging:Boolean):org.apache.spark.sql.types.StructType"></a><a id="transformSchema(StructType,Boolean):StructType"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#transformSchema(schema:org.apache.spark.sql.types.StructType,logging:Boolean):org.apache.spark.sql.types.StructType" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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 |
| be assumed valid until proven otherwise. |
| </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> |
| <span class="name">@DeveloperApi</span><span class="args">()</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaModel#uid" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="uid:String"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#uid:String" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">val</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">uid</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> |
| </span> |
| |
| <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. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a> → <a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.5.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="scala.AnyRef#wait" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="wait():Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#wait():Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">wait</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> |
| <span class="name">@throws</span><span class="args">(<span> |
| |
| <span class="defval" name="classOf[java.lang.InterruptedException]">...</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="scala.AnyRef#wait" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="wait(x$1:Long,x$2:Int):Unit"></a><a id="wait(Long,Int):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#wait(x$1:Long,x$2:Int):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> |
| <span class="name">@throws</span><span class="args">(<span> |
| |
| <span class="defval" name="classOf[java.lang.InterruptedException]">...</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="scala.AnyRef#wait" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="wait(x$1:Long):Unit"></a><a id="wait(Long):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#wait(x$1:Long):Unit" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier">final </span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> |
| <span class="name">@throws</span><span class="args">(<span> |
| |
| <span class="defval" name="classOf[java.lang.InterruptedException]">...</span> |
| </span>)</span> |
| |
| <span class="name">@native</span><span class="args">()</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.ml.feature.RFormulaModel#write" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="write:org.apache.spark.ml.util.MLWriter"></a><a id="write:MLWriter"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/ml/feature/RFormulaModel.html#write:org.apache.spark.ml.util.MLWriter" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">def</span> |
| </span> |
| <span class="symbol"> |
| <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> |
| </span> |
| |
| <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. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a> → <a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"2.0.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li> |
| </ol> |
| </div> |
| |
| |
| |
| |
| </div> |
| |
| <div id="inheritedMembers"> |
| <div class="parent" name="org.apache.spark.ml.util.MLWritable"> |
| <h3>Inherited from <a href="../util/MLWritable.html" class="extype" name="org.apache.spark.ml.util.MLWritable">MLWritable</a></h3> |
| </div><div class="parent" name="org.apache.spark.ml.feature.RFormulaBase"> |
| <h3>Inherited from <span class="extype" name="org.apache.spark.ml.feature.RFormulaBase">RFormulaBase</span></h3> |
| </div><div class="parent" name="org.apache.spark.ml.param.shared.HasHandleInvalid"> |
| <h3>Inherited from <a href="../param/shared/HasHandleInvalid.html" class="extype" name="org.apache.spark.ml.param.shared.HasHandleInvalid">HasHandleInvalid</a></h3> |
| </div><div class="parent" name="org.apache.spark.ml.param.shared.HasLabelCol"> |
| <h3>Inherited from <a href="../param/shared/HasLabelCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasLabelCol">HasLabelCol</a></h3> |
| </div><div class="parent" name="org.apache.spark.ml.param.shared.HasFeaturesCol"> |
| <h3>Inherited from <a href="../param/shared/HasFeaturesCol.html" class="extype" name="org.apache.spark.ml.param.shared.HasFeaturesCol">HasFeaturesCol</a></h3> |
| </div><div class="parent" name="org.apache.spark.ml.Model"> |
| <h3>Inherited from <a href="../Model.html" class="extype" name="org.apache.spark.ml.Model">Model</a>[<a href="" class="extype" name="org.apache.spark.ml.feature.RFormulaModel">RFormulaModel</a>]</h3> |
| </div><div class="parent" name="org.apache.spark.ml.Transformer"> |
| <h3>Inherited from <a href="../Transformer.html" class="extype" name="org.apache.spark.ml.Transformer">Transformer</a></h3> |
| </div><div class="parent" name="org.apache.spark.ml.PipelineStage"> |
| <h3>Inherited from <a href="../PipelineStage.html" class="extype" name="org.apache.spark.ml.PipelineStage">PipelineStage</a></h3> |
| </div><div class="parent" name="org.apache.spark.internal.Logging"> |
| <h3>Inherited from <span class="extype" name="org.apache.spark.internal.Logging">Logging</span></h3> |
| </div><div class="parent" name="org.apache.spark.ml.param.Params"> |
| <h3>Inherited from <a href="../param/Params.html" class="extype" name="org.apache.spark.ml.param.Params">Params</a></h3> |
| </div><div class="parent" name="scala.Serializable"> |
| <h3>Inherited from <span class="extype" name="scala.Serializable">Serializable</span></h3> |
| </div><div class="parent" name="java.io.Serializable"> |
| <h3>Inherited from <span class="extype" name="java.io.Serializable">Serializable</span></h3> |
| </div><div class="parent" name="org.apache.spark.ml.util.Identifiable"> |
| <h3>Inherited from <a href="../util/Identifiable.html" class="extype" name="org.apache.spark.ml.util.Identifiable">Identifiable</a></h3> |
| </div><div class="parent" name="scala.AnyRef"> |
| <h3>Inherited from <a href="../../../../../scala/index.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></h3> |
| </div><div class="parent" name="scala.Any"> |
| <h3>Inherited from <span class="extype" name="scala.Any">Any</span></h3> |
| </div> |
| |
| </div> |
| |
| <div id="groupedMembers"> |
| <div class="group" name="param"> |
| <h3>Parameters</h3> |
| <div class="comment cmt"><p>A list of (hyper-)parameter keys this algorithm can take. Users can set and get |
| the parameter values through setters and getters, respectively.</p></div> |
| </div><div class="group" name="Ungrouped"> |
| <h3>Members</h3> |
| |
| </div><div class="group" name="getParam"> |
| <h3>Parameter getters</h3> |
| |
| </div> |
| </div> |
| |
| </div> |
| |
| <div id="tooltip"></div> |
| |
| <div id="footer"> </div> |
| </body> |
| </div> |
| </div> |
| </div> |
| </body> |
| </html> |