| <!DOCTYPE html><html><head><title>R: Makes predictions from a MLlib model</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.3/dist/katex.min.css"> |
| <script type="text/javascript"> |
| const macros = { "\\R": "\\textsf{R}", "\\code": "\\texttt"}; |
| function processMathHTML() { |
| var l = document.getElementsByClassName('reqn'); |
| for (let e of l) { katex.render(e.textContent, e, { throwOnError: false, macros }); } |
| return; |
| }</script> |
| <script defer src="https://cdn.jsdelivr.net/npm/katex@0.15.3/dist/katex.min.js" |
| onload="processMathHTML();"></script> |
| <link rel="stylesheet" type="text/css" href="R.css" /> |
| </head><body><div class="container"> |
| |
| <table style="width: 100%;"><tr><td>predict {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> |
| |
| <h2>Makes predictions from a MLlib model</h2> |
| |
| <h3>Description</h3> |
| |
| <p>Makes predictions from a MLlib model. For more information, see the specific |
| MLlib model below. |
| </p> |
| |
| |
| <h3>Usage</h3> |
| |
| <pre><code class='language-R'>predict(object, ...) |
| </code></pre> |
| |
| |
| <h3>Arguments</h3> |
| |
| <table> |
| <tr style="vertical-align: top;"><td><code>object</code></td> |
| <td> |
| <p>a fitted ML model object.</p> |
| </td></tr> |
| <tr style="vertical-align: top;"><td><code>...</code></td> |
| <td> |
| <p>additional argument(s) passed to the method.</p> |
| </td></tr> |
| </table> |
| |
| |
| <h3>See Also</h3> |
| |
| <p><a href="../../SparkR/help/spark.als.html">spark.als</a>, <a href="../../SparkR/help/spark.bisectingKmeans.html">spark.bisectingKmeans</a>, <a href="../../SparkR/help/spark.decisionTree.html">spark.decisionTree</a>, |
| </p> |
| <p><a href="../../SparkR/help/spark.gaussianMixture.html">spark.gaussianMixture</a>, <a href="../../SparkR/help/spark.gbt.html">spark.gbt</a>, |
| </p> |
| <p><a href="../../SparkR/help/spark.glm.html">spark.glm</a>, <a href="../../SparkR/help/glm.html">glm</a>, <a href="../../SparkR/help/spark.isoreg.html">spark.isoreg</a>, |
| </p> |
| <p><a href="../../SparkR/help/spark.kmeans.html">spark.kmeans</a>, |
| </p> |
| <p><a href="../../SparkR/help/spark.logit.html">spark.logit</a>, <a href="../../SparkR/help/spark.mlp.html">spark.mlp</a>, <a href="../../SparkR/help/spark.naiveBayes.html">spark.naiveBayes</a>, |
| </p> |
| <p><a href="../../SparkR/help/spark.randomForest.html">spark.randomForest</a>, <a href="../../SparkR/help/spark.survreg.html">spark.survreg</a>, <a href="../../SparkR/help/spark.svmLinear.html">spark.svmLinear</a> |
| </p> |
| |
| <hr /><div style="text-align: center;">[Package <em>SparkR</em> version 3.2.2 <a href="00Index.html">Index</a>]</div> |
| </div> |
| </body></html> |