| <!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.5.2 ScalaDoc - org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD</title> |
| <meta name="description" content="Spark 3.5.2 ScalaDoc - org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD" /> |
| <meta name="keywords" content="Spark 3.5.2 ScalaDoc org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD" /> |
| <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.5.2 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.mllib" visbl="pub" class="indented4 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="mllib"></a><a id="mllib:mllib"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/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="RDD-based machine learning APIs (in maintenance mode)." href="../index.html"><span class="name">mllib</span></a> |
| </span> |
| |
| <p class="shortcomment cmt">RDD-based machine learning APIs (in maintenance mode).</p><div class="fullcomment"><div class="comment cmt"><p>RDD-based machine learning APIs (in maintenance mode).</p><p>The <code>spark.mllib</code> package is in maintenance mode as of the Spark 2.0.0 release to encourage |
| migration to the DataFrame-based APIs under the <a href="../../ml/index.html" class="extype" name="org.apache.spark.ml">org.apache.spark.ml</a> package. |
| While in maintenance mode,</p><ul><li>no new features in the RDD-based <code>spark.mllib</code> package will be accepted, unless they block |
| implementing new features in the DataFrame-based <code>spark.ml</code> package;</li><li>bug fixes in the RDD-based APIs will still be accepted.</li></ul><p>The developers will continue adding more features to the DataFrame-based APIs in the 2.x series |
| to reach feature parity with the RDD-based APIs. |
| And once we reach feature parity, this package will be deprecated. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../../index.html" class="extype" name="org.apache.spark">spark</a></dd><dt>See also</dt><dd><span class="cmt"><p><a href="https://issues.apache.org/jira/browse/SPARK-4591">SPARK-4591</a> to track |
| the progress of feature parity</p></span></dd></dl></div> |
| </li><li name="org.apache.spark.mllib.regression" visbl="pub" class="indented5 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="regression"></a><a id="regression:regression"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/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">regression</span></a> |
| </span> |
| |
| <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../index.html" class="extype" name="org.apache.spark.mllib">mllib</a></dd></dl></div> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="class" href="GeneralizedLinearAlgorithm.html" title="GeneralizedLinearAlgorithm implements methods to train a Generalized Linear Model (GLM)."></a> |
| <a href="GeneralizedLinearAlgorithm.html" title="GeneralizedLinearAlgorithm implements methods to train a Generalized Linear Model (GLM).">GeneralizedLinearAlgorithm</a> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="class" href="GeneralizedLinearModel.html" title="GeneralizedLinearModel (GLM) represents a model trained using GeneralizedLinearAlgorithm."></a> |
| <a href="GeneralizedLinearModel.html" title="GeneralizedLinearModel (GLM) represents a model trained using GeneralizedLinearAlgorithm.">GeneralizedLinearModel</a> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="class" href="IsotonicRegression.html" title="Isotonic regression."></a> |
| <a href="IsotonicRegression.html" title="Isotonic regression.">IsotonicRegression</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="IsotonicRegressionModel$.html" title=""></a> |
| <a class="class" href="IsotonicRegressionModel.html" title="Regression model for isotonic regression."></a> |
| <a href="IsotonicRegressionModel.html" title="Regression model for isotonic regression.">IsotonicRegressionModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="LabeledPoint$.html" title="Parser for org.apache.spark.mllib.regression.LabeledPoint."></a> |
| <a class="class" href="LabeledPoint.html" title="Class that represents the features and labels of a data point."></a> |
| <a href="LabeledPoint.html" title="Class that represents the features and labels of a data point.">LabeledPoint</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="LassoModel$.html" title=""></a> |
| <a class="class" href="LassoModel.html" title="Regression model trained using Lasso."></a> |
| <a href="LassoModel.html" title="Regression model trained using Lasso.">LassoModel</a> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="class" href="LassoWithSGD.html" title="Train a regression model with L1-regularization using Stochastic Gradient Descent."></a> |
| <a href="LassoWithSGD.html" title="Train a regression model with L1-regularization using Stochastic Gradient Descent.">LassoWithSGD</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="LinearRegressionModel$.html" title=""></a> |
| <a class="class" href="LinearRegressionModel.html" title="Regression model trained using LinearRegression."></a> |
| <a href="LinearRegressionModel.html" title="Regression model trained using LinearRegression.">LinearRegressionModel</a> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="class" href="LinearRegressionWithSGD.html" title="Train a linear regression model with no regularization using Stochastic Gradient Descent."></a> |
| <a href="LinearRegressionWithSGD.html" title="Train a linear regression model with no regularization using Stochastic Gradient Descent.">LinearRegressionWithSGD</a> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="trait" href="RegressionModel.html" title=""></a> |
| <a href="RegressionModel.html" title="">RegressionModel</a> |
| </li><li class="current-entities indented5"> |
| <a class="object" href="RidgeRegressionModel$.html" title=""></a> |
| <a class="class" href="RidgeRegressionModel.html" title="Regression model trained using RidgeRegression."></a> |
| <a href="RidgeRegressionModel.html" title="Regression model trained using RidgeRegression.">RidgeRegressionModel</a> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="class" href="RidgeRegressionWithSGD.html" title="Train a regression model with L2-regularization using Stochastic Gradient Descent."></a> |
| <a href="RidgeRegressionWithSGD.html" title="Train a regression model with L2-regularization using Stochastic Gradient Descent.">RidgeRegressionWithSGD</a> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="class" href="StreamingLinearAlgorithm.html" title="StreamingLinearAlgorithm implements methods for continuously training a generalized linear model on streaming data, and using it for prediction on (possibly different) streaming data."></a> |
| <a href="StreamingLinearAlgorithm.html" title="StreamingLinearAlgorithm implements methods for continuously training a generalized linear model on streaming data, and using it for prediction on (possibly different) streaming data.">StreamingLinearAlgorithm</a> |
| </li><li class="current-entities indented5"> |
| <span class="separator"></span> |
| <a class="class" href="" title="Train or predict a linear regression model on streaming data."></a> |
| <a href="" title="Train or predict a linear regression model on streaming data.">StreamingLinearRegressionWithSGD</a> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <div id="content"> |
| <body class="class type"> |
| <div id="definition"> |
| <div class="big-circle class">c</div> |
| <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.mllib">mllib</a>.<a href="index.html" class="extype" name="org.apache.spark.mllib.regression">regression</a></p> |
| <h1>StreamingLinearRegressionWithSGD<span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span></h1> |
| <h3><span class="morelinks"></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">StreamingLinearRegressionWithSGD</span><span class="result"> extends <a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a>[<a href="LinearRegressionModel.html" class="extype" name="org.apache.spark.mllib.regression.LinearRegressionModel">LinearRegressionModel</a>, <a href="LinearRegressionWithSGD.html" class="extype" name="org.apache.spark.mllib.regression.LinearRegressionWithSGD">LinearRegressionWithSGD</a>] with <span class="extype" name="scala.Serializable">Serializable</span></span> |
| </span> |
| </h4> |
| |
| |
| <div id="comment" class="fullcommenttop"><div class="comment cmt"><p>Train or predict a linear regression model on streaming data. Training uses |
| Stochastic Gradient Descent to update the model based on each new batch of |
| incoming data from a DStream (see <code>LinearRegressionWithSGD</code> for model equation)</p><p>Each batch of data is assumed to be an RDD of LabeledPoints. |
| The number of data points per batch can vary, but the number |
| of features must be constant. An initial weight |
| vector must be provided.</p><p>Use a builder pattern to construct a streaming linear regression |
| analysis in an application, like:</p><p> val model = new StreamingLinearRegressionWithSGD() |
| .setStepSize(0.5) |
| .setNumIterations(10) |
| .setInitialWeights(Vectors.dense(...)) |
| .trainOn(DStream) |
| </p></div><dl class="attributes block"> <dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.0"</span> |
| </span>)</span> |
| |
| </dd><dt>Source</dt><dd><a href="https://github.com/apache/spark/tree/v3.5.2/mllib/src/main/scala/org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.scala" target="_blank">StreamingLinearRegressionWithSGD.scala</a></dd></dl><div class="toggleContainer block"> |
| <span class="toggle"> |
| Linear Supertypes |
| </span> |
| <div class="superTypes hiddenContent"><span class="extype" name="scala.Serializable">Serializable</span>, <span class="extype" name="java.io.Serializable">Serializable</span>, <a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a>[<a href="LinearRegressionModel.html" class="extype" name="org.apache.spark.mllib.regression.LinearRegressionModel">LinearRegressionModel</a>, <a href="LinearRegressionWithSGD.html" class="extype" name="org.apache.spark.mllib.regression.LinearRegressionWithSGD">LinearRegressionWithSGD</a>], <span class="extype" name="org.apache.spark.internal.Logging">Logging</span>, <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="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.mllib.regression.StreamingLinearRegressionWithSGD"><span>StreamingLinearRegressionWithSGD</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.mllib.regression.StreamingLinearAlgorithm"><span>StreamingLinearAlgorithm</span></li><li class="in" name="org.apache.spark.internal.Logging"><span>Logging</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 id="constructors" class="members"> |
| <h3>Instance Constructors</h3> |
| <ol><li name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD#<init>" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="<init>():org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD"></a><a id="<init>:StreamingLinearRegressionWithSGD"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#<init>():org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD" title="Permalink"> |
| <i class="material-icons"></i> |
| </a> |
| </span> |
| <span class="modifier_kind"> |
| <span class="modifier"></span> |
| <span class="kind">new</span> |
| </span> |
| <span class="symbol"> |
| <span class="name">StreamingLinearRegressionWithSGD</span><span class="params">()</span> |
| </span> |
| |
| <p class="shortcomment cmt">Construct a StreamingLinearRegression object with default parameters: |
| {stepSize: 0.1, numIterations: 50, miniBatchFraction: 1.0}.</p><div class="fullcomment"><div class="comment cmt"><p>Construct a StreamingLinearRegression object with default parameters: |
| {stepSize: 0.1, numIterations: 50, miniBatchFraction: 1.0}. |
| Initial weights must be set before using trainOn or predictOn |
| (see <code>StreamingLinearAlgorithm</code>) |
| </p></div><dl class="attributes block"> <dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li></ol> |
| </div> |
| |
| |
| |
| |
| |
| <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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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="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/mllib/regression/StreamingLinearRegressionWithSGD.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="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD#algorithm" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="algorithm:org.apache.spark.mllib.regression.LinearRegressionWithSGD"></a><a id="algorithm:LinearRegressionWithSGD"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#algorithm:org.apache.spark.mllib.regression.LinearRegressionWithSGD" 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">algorithm</span><span class="result">: <a href="LinearRegressionWithSGD.html" class="extype" name="org.apache.spark.mllib.regression.LinearRegressionWithSGD">LinearRegressionWithSGD</a></span> |
| </span> |
| |
| <p class="shortcomment cmt">The algorithm to use for updating.</p><div class="fullcomment"><div class="comment cmt"><p>The algorithm to use for updating.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD">StreamingLinearRegressionWithSGD</a> → <a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.0"</span> |
| </span>)</span> |
| |
| </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/mllib/regression/StreamingLinearRegressionWithSGD.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="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/mllib/regression/StreamingLinearRegressionWithSGD.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="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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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="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/mllib/regression/StreamingLinearRegressionWithSGD.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="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/mllib/regression/StreamingLinearRegressionWithSGD.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="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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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="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/mllib/regression/StreamingLinearRegressionWithSGD.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.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/mllib/regression/StreamingLinearRegressionWithSGD.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.mllib.regression.StreamingLinearAlgorithm#latestModel" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="latestModel():M"></a><a id="latestModel():LinearRegressionModel"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#latestModel():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">latestModel</span><span class="params">()</span><span class="result">: <a href="LinearRegressionModel.html" class="extype" name="org.apache.spark.mllib.regression.LinearRegressionModel">LinearRegressionModel</a></span> |
| </span> |
| |
| <p class="shortcomment cmt">Return the latest model.</p><div class="fullcomment"><div class="comment cmt"><p>Return the latest model.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.0"</span> |
| </span>)</span> |
| |
| </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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD#model" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="model:Option[org.apache.spark.mllib.regression.LinearRegressionModel]"></a><a id="model:Option[LinearRegressionModel]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#model:Option[org.apache.spark.mllib.regression.LinearRegressionModel]" 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">model</span><span class="result">: <span class="extype" name="scala.Option">Option</span>[<a href="LinearRegressionModel.html" class="extype" name="org.apache.spark.mllib.regression.LinearRegressionModel">LinearRegressionModel</a>]</span> |
| </span> |
| |
| <p class="shortcomment cmt">The model to be updated and used for prediction.</p><div class="fullcomment"><div class="comment cmt"><p>The model to be updated and used for prediction.</p></div><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Definition Classes</dt><dd><a href="" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD">StreamingLinearRegressionWithSGD</a> → <a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a></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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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.mllib.regression.StreamingLinearAlgorithm#predictOn" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="predictOn(data:org.apache.spark.streaming.api.java.JavaDStream[org.apache.spark.mllib.linalg.Vector]):org.apache.spark.streaming.api.java.JavaDStream[Double]"></a><a id="predictOn(JavaDStream[Vector]):JavaDStream[Double]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#predictOn(data:org.apache.spark.streaming.api.java.JavaDStream[org.apache.spark.mllib.linalg.Vector]):org.apache.spark.streaming.api.java.JavaDStream[Double]" 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">predictOn</span><span class="params">(<span name="data">data: <a href="../../streaming/api/java/JavaDStream.html" class="extype" name="org.apache.spark.streaming.api.java.JavaDStream">JavaDStream</a>[<a href="../linalg/Vector.html" class="extype" name="org.apache.spark.mllib.linalg.Vector">Vector</a>]</span>)</span><span class="result">: <a href="../../streaming/api/java/JavaDStream.html" class="extype" name="org.apache.spark.streaming.api.java.JavaDStream">JavaDStream</a>[<span class="extype" name="java.lang.Double">Double</span>]</span> |
| </span> |
| |
| <p class="shortcomment cmt">Java-friendly version of <code>predictOn</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Java-friendly version of <code>predictOn</code>.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.3.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm#predictOn" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="predictOn(data:org.apache.spark.streaming.dstream.DStream[org.apache.spark.mllib.linalg.Vector]):org.apache.spark.streaming.dstream.DStream[Double]"></a><a id="predictOn(DStream[Vector]):DStream[Double]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#predictOn(data:org.apache.spark.streaming.dstream.DStream[org.apache.spark.mllib.linalg.Vector]):org.apache.spark.streaming.dstream.DStream[Double]" 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">predictOn</span><span class="params">(<span name="data">data: <a href="../../streaming/dstream/DStream.html" class="extype" name="org.apache.spark.streaming.dstream.DStream">DStream</a>[<a href="../linalg/Vector.html" class="extype" name="org.apache.spark.mllib.linalg.Vector">Vector</a>]</span>)</span><span class="result">: <a href="../../streaming/dstream/DStream.html" class="extype" name="org.apache.spark.streaming.dstream.DStream">DStream</a>[<span class="extype" name="scala.Double">Double</span>]</span> |
| </span> |
| |
| <p class="shortcomment cmt">Use the model to make predictions on batches of data from a DStream |
| </p><div class="fullcomment"><div class="comment cmt"><p>Use the model to make predictions on batches of data from a DStream |
| </p></div><dl class="paramcmts block"><dt class="param">data</dt><dd class="cmt"><p>DStream containing feature vectors</p></dd><dt>returns</dt><dd class="cmt"><p>DStream containing predictions</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm#predictOnValues" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="predictOnValues[K](data:org.apache.spark.streaming.api.java.JavaPairDStream[K,org.apache.spark.mllib.linalg.Vector]):org.apache.spark.streaming.api.java.JavaPairDStream[K,Double]"></a><a id="predictOnValues[K](JavaPairDStream[K,Vector]):JavaPairDStream[K,Double]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#predictOnValues[K](data:org.apache.spark.streaming.api.java.JavaPairDStream[K,org.apache.spark.mllib.linalg.Vector]):org.apache.spark.streaming.api.java.JavaPairDStream[K,Double]" 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">predictOnValues</span><span class="tparams">[<span name="K">K</span>]</span><span class="params">(<span name="data">data: <a href="../../streaming/api/java/JavaPairDStream.html" class="extype" name="org.apache.spark.streaming.api.java.JavaPairDStream">JavaPairDStream</a>[<span class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm.predictOnValues.K">K</span>, <a href="../linalg/Vector.html" class="extype" name="org.apache.spark.mllib.linalg.Vector">Vector</a>]</span>)</span><span class="result">: <a href="../../streaming/api/java/JavaPairDStream.html" class="extype" name="org.apache.spark.streaming.api.java.JavaPairDStream">JavaPairDStream</a>[<span class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm.predictOnValues.K">K</span>, <span class="extype" name="java.lang.Double">Double</span>]</span> |
| </span> |
| |
| <p class="shortcomment cmt">Java-friendly version of <code>predictOnValues</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Java-friendly version of <code>predictOnValues</code>.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.3.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm#predictOnValues" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="predictOnValues[K](data:org.apache.spark.streaming.dstream.DStream[(K,org.apache.spark.mllib.linalg.Vector)])(implicitevidence$1:scala.reflect.ClassTag[K]):org.apache.spark.streaming.dstream.DStream[(K,Double)]"></a><a id="predictOnValues[K](DStream[(K,Vector)])(ClassTag[K]):DStream[(K,Double)]"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#predictOnValues[K](data:org.apache.spark.streaming.dstream.DStream[(K,org.apache.spark.mllib.linalg.Vector)])(implicitevidence$1:scala.reflect.ClassTag[K]):org.apache.spark.streaming.dstream.DStream[(K,Double)]" 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">predictOnValues</span><span class="tparams">[<span name="K">K</span>]</span><span class="params">(<span name="data">data: <a href="../../streaming/dstream/DStream.html" class="extype" name="org.apache.spark.streaming.dstream.DStream">DStream</a>[(<span class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm.predictOnValues.K">K</span>, <a href="../linalg/Vector.html" class="extype" name="org.apache.spark.mllib.linalg.Vector">Vector</a>)]</span>)</span><span class="params">(<span class="implicit">implicit </span><span name="arg0">arg0: <span class="extype" name="scala.reflect.ClassTag">ClassTag</span>[<span class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm.predictOnValues.K">K</span>]</span>)</span><span class="result">: <a href="../../streaming/dstream/DStream.html" class="extype" name="org.apache.spark.streaming.dstream.DStream">DStream</a>[(<span class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm.predictOnValues.K">K</span>, <span class="extype" name="scala.Double">Double</span>)]</span> |
| </span> |
| |
| <p class="shortcomment cmt">Use the model to make predictions on the values of a DStream and carry over its keys.</p><div class="fullcomment"><div class="comment cmt"><p>Use the model to make predictions on the values of a DStream and carry over its keys.</p></div><dl class="paramcmts block"><dt class="tparam">K</dt><dd class="cmt"><p>key type</p></dd><dt class="param">data</dt><dd class="cmt"><p>DStream containing feature vectors</p></dd><dt>returns</dt><dd class="cmt"><p>DStream containing the input keys and the predictions as values</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD#setConvergenceTol" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="setConvergenceTol(tolerance:Double):StreamingLinearRegressionWithSGD.this.type"></a><a id="setConvergenceTol(Double):StreamingLinearRegressionWithSGD.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#setConvergenceTol(tolerance:Double):StreamingLinearRegressionWithSGD.this.type" 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">setConvergenceTol</span><span class="params">(<span name="tolerance">tolerance: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD">StreamingLinearRegressionWithSGD</a>.this.type</span> |
| </span> |
| |
| <p class="shortcomment cmt">Set the convergence tolerance.</p><div class="fullcomment"><div class="comment cmt"><p>Set the convergence tolerance. Default: 0.001. |
| </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></dl></div> |
| </li><li name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD#setInitialWeights" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="setInitialWeights(initialWeights:org.apache.spark.mllib.linalg.Vector):StreamingLinearRegressionWithSGD.this.type"></a><a id="setInitialWeights(Vector):StreamingLinearRegressionWithSGD.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#setInitialWeights(initialWeights:org.apache.spark.mllib.linalg.Vector):StreamingLinearRegressionWithSGD.this.type" 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">setInitialWeights</span><span class="params">(<span name="initialWeights">initialWeights: <a href="../linalg/Vector.html" class="extype" name="org.apache.spark.mllib.linalg.Vector">Vector</a></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD">StreamingLinearRegressionWithSGD</a>.this.type</span> |
| </span> |
| |
| <p class="shortcomment cmt">Set the initial weights.</p><div class="fullcomment"><div class="comment cmt"><p>Set the initial weights. |
| </p></div><dl class="attributes block"> <dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD#setMiniBatchFraction" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="setMiniBatchFraction(miniBatchFraction:Double):StreamingLinearRegressionWithSGD.this.type"></a><a id="setMiniBatchFraction(Double):StreamingLinearRegressionWithSGD.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#setMiniBatchFraction(miniBatchFraction:Double):StreamingLinearRegressionWithSGD.this.type" 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">setMiniBatchFraction</span><span class="params">(<span name="miniBatchFraction">miniBatchFraction: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD">StreamingLinearRegressionWithSGD</a>.this.type</span> |
| </span> |
| |
| <p class="shortcomment cmt">Set the fraction of each batch to use for updates.</p><div class="fullcomment"><div class="comment cmt"><p>Set the fraction of each batch to use for updates. Default: 1.0. |
| </p></div><dl class="attributes block"> <dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD#setNumIterations" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="setNumIterations(numIterations:Int):StreamingLinearRegressionWithSGD.this.type"></a><a id="setNumIterations(Int):StreamingLinearRegressionWithSGD.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#setNumIterations(numIterations:Int):StreamingLinearRegressionWithSGD.this.type" 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">setNumIterations</span><span class="params">(<span name="numIterations">numIterations: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD">StreamingLinearRegressionWithSGD</a>.this.type</span> |
| </span> |
| |
| <p class="shortcomment cmt">Set the number of iterations of gradient descent to run per update.</p><div class="fullcomment"><div class="comment cmt"><p>Set the number of iterations of gradient descent to run per update. Default: 50. |
| </p></div><dl class="attributes block"> <dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD#setRegParam" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="setRegParam(regParam:Double):StreamingLinearRegressionWithSGD.this.type"></a><a id="setRegParam(Double):StreamingLinearRegressionWithSGD.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#setRegParam(regParam:Double):StreamingLinearRegressionWithSGD.this.type" 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">setRegParam</span><span class="params">(<span name="regParam">regParam: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD">StreamingLinearRegressionWithSGD</a>.this.type</span> |
| </span> |
| |
| <p class="shortcomment cmt">Set the regularization parameter.</p><div class="fullcomment"><div class="comment cmt"><p>Set the regularization parameter. Default: 0.0. |
| </p></div><dl class="attributes block"> <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.mllib.regression.StreamingLinearRegressionWithSGD#setStepSize" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="setStepSize(stepSize:Double):StreamingLinearRegressionWithSGD.this.type"></a><a id="setStepSize(Double):StreamingLinearRegressionWithSGD.this.type"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#setStepSize(stepSize:Double):StreamingLinearRegressionWithSGD.this.type" 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">setStepSize</span><span class="params">(<span name="stepSize">stepSize: <span class="extype" name="scala.Double">Double</span></span>)</span><span class="result">: <a href="" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearRegressionWithSGD">StreamingLinearRegressionWithSGD</a>.this.type</span> |
| </span> |
| |
| <p class="shortcomment cmt">Set the step size for gradient descent.</p><div class="fullcomment"><div class="comment cmt"><p>Set the step size for gradient descent. Default: 0.1. |
| </p></div><dl class="attributes block"> <dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.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/mllib/regression/StreamingLinearRegressionWithSGD.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="scala.AnyRef#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/mllib/regression/StreamingLinearRegressionWithSGD.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="java.lang.String">String</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.mllib.regression.StreamingLinearAlgorithm#trainOn" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="trainOn(data:org.apache.spark.streaming.api.java.JavaDStream[org.apache.spark.mllib.regression.LabeledPoint]):Unit"></a><a id="trainOn(JavaDStream[LabeledPoint]):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#trainOn(data:org.apache.spark.streaming.api.java.JavaDStream[org.apache.spark.mllib.regression.LabeledPoint]):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">trainOn</span><span class="params">(<span name="data">data: <a href="../../streaming/api/java/JavaDStream.html" class="extype" name="org.apache.spark.streaming.api.java.JavaDStream">JavaDStream</a>[<a href="LabeledPoint.html" class="extype" name="org.apache.spark.mllib.regression.LabeledPoint">LabeledPoint</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <p class="shortcomment cmt">Java-friendly version of <code>trainOn</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Java-friendly version of <code>trainOn</code>. |
| </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.3.0"</span> |
| </span>)</span> |
| |
| </dd></dl></div> |
| </li><li name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm#trainOn" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> |
| <a id="trainOn(data:org.apache.spark.streaming.dstream.DStream[org.apache.spark.mllib.regression.LabeledPoint]):Unit"></a><a id="trainOn(DStream[LabeledPoint]):Unit"></a> |
| <span class="permalink"> |
| <a href="../../../../../org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.html#trainOn(data:org.apache.spark.streaming.dstream.DStream[org.apache.spark.mllib.regression.LabeledPoint]):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">trainOn</span><span class="params">(<span name="data">data: <a href="../../streaming/dstream/DStream.html" class="extype" name="org.apache.spark.streaming.dstream.DStream">DStream</a>[<a href="LabeledPoint.html" class="extype" name="org.apache.spark.mllib.regression.LabeledPoint">LabeledPoint</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> |
| </span> |
| |
| <p class="shortcomment cmt">Update the model by training on batches of data from a DStream.</p><div class="fullcomment"><div class="comment cmt"><p>Update the model by training on batches of data from a DStream. |
| This operation registers a DStream for training the model, |
| and updates the model based on every subsequent |
| batch of data from the stream. |
| </p></div><dl class="paramcmts block"><dt class="param">data</dt><dd class="cmt"><p>DStream containing labeled data</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a></dd><dt>Annotations</dt><dd> |
| <span class="name">@Since</span><span class="args">(<span> |
| |
| <span class="symbol">"1.1.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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/mllib/regression/StreamingLinearRegressionWithSGD.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> |
| </ol> |
| </div> |
| |
| |
| |
| |
| </div> |
| |
| <div id="inheritedMembers"> |
| <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.mllib.regression.StreamingLinearAlgorithm"> |
| <h3>Inherited from <a href="StreamingLinearAlgorithm.html" class="extype" name="org.apache.spark.mllib.regression.StreamingLinearAlgorithm">StreamingLinearAlgorithm</a>[<a href="LinearRegressionModel.html" class="extype" name="org.apache.spark.mllib.regression.LinearRegressionModel">LinearRegressionModel</a>, <a href="LinearRegressionWithSGD.html" class="extype" name="org.apache.spark.mllib.regression.LinearRegressionWithSGD">LinearRegressionWithSGD</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="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="Ungrouped"> |
| <h3>Ungrouped</h3> |
| |
| </div> |
| </div> |
| |
| </div> |
| |
| <div id="tooltip"></div> |
| |
| <div id="footer"> </div> |
| </body> |
| </div> |
| </div> |
| </div> |
| </body> |
| </html> |