summaryrefslogtreecommitdiff
path: root/site/docs/0.9.0/api/pyspark/pyspark.mllib.regression.RidgeRegressionModel-class.html
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@apache.org>2014-02-03 06:29:51 +0000
committerPatrick Wendell <pwendell@apache.org>2014-02-03 06:29:51 +0000
commit61203830f49cf7f5ce82f70ead2a155e256c02ee (patch)
tree67d83dfa860156196303eaa1f4873e2fefffe904 /site/docs/0.9.0/api/pyspark/pyspark.mllib.regression.RidgeRegressionModel-class.html
parent49ab3963af9b1d79c73f749ad200f7be80785f9f (diff)
downloadspark-website-61203830f49cf7f5ce82f70ead2a155e256c02ee.tar.gz
spark-website-61203830f49cf7f5ce82f70ead2a155e256c02ee.tar.bz2
spark-website-61203830f49cf7f5ce82f70ead2a155e256c02ee.zip
Bumping version in docs.
Diffstat (limited to 'site/docs/0.9.0/api/pyspark/pyspark.mllib.regression.RidgeRegressionModel-class.html')
-rw-r--r--site/docs/0.9.0/api/pyspark/pyspark.mllib.regression.RidgeRegressionModel-class.html180
1 files changed, 180 insertions, 0 deletions
diff --git a/site/docs/0.9.0/api/pyspark/pyspark.mllib.regression.RidgeRegressionModel-class.html b/site/docs/0.9.0/api/pyspark/pyspark.mllib.regression.RidgeRegressionModel-class.html
new file mode 100644
index 000000000..6094c9837
--- /dev/null
+++ b/site/docs/0.9.0/api/pyspark/pyspark.mllib.regression.RidgeRegressionModel-class.html
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>pyspark.mllib.regression.RidgeRegressionModel</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyspark-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Project homepage -->
+ <th class="navbar" align="right" width="100%">
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr><th class="navbar" align="center"
+ ><a class="navbar" target="_top" href="http://spark-project.org">PySpark</a></th>
+ </tr></table></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">
+ <span class="breadcrumbs">
+ <a href="pyspark-module.html">Package&nbsp;pyspark</a> ::
+ <a href="pyspark.mllib-module.html">Package&nbsp;mllib</a> ::
+ <a href="pyspark.mllib.regression-module.html">Module&nbsp;regression</a> ::
+ Class&nbsp;RidgeRegressionModel
+ </span>
+ </td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ <tr><td align="right"><span class="options"
+ >[<a href="frames.html" target="_top">frames</a
+ >]&nbsp;|&nbsp;<a href="pyspark.mllib.regression.RidgeRegressionModel-class.html"
+ target="_top">no&nbsp;frames</a>]</span></td></tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- ==================== CLASS DESCRIPTION ==================== -->
+<h1 class="epydoc">Class RidgeRegressionModel</h1><p class="nomargin-top"><span class="codelink"><a href="pyspark.mllib.regression-pysrc.html#RidgeRegressionModel">source&nbsp;code</a></span></p>
+<pre class="base-tree">
+ object --+
+ |
+ <a href="pyspark.mllib.regression.LinearModel-class.html">LinearModel</a> --+
+ |
+<a href="pyspark.mllib.regression.LinearRegressionModelBase-class.html">LinearRegressionModelBase</a> --+
+ |
+ <strong class="uidshort">RidgeRegressionModel</strong>
+</pre>
+
+<hr />
+<p>A linear regression model derived from a least-squares fit with an l_2
+ penalty term.</p>
+<pre class="py-doctest">
+<span class="py-prompt">&gt;&gt;&gt; </span>data = array([0.0, 0.0, 1.0, 1.0, 3.0, 2.0, 2.0, 3.0]).reshape(4,2)
+<span class="py-prompt">&gt;&gt;&gt; </span>lrm = RidgeRegressionWithSGD.train(sc.parallelize(data), initialWeights=array([1.0]))</pre>
+
+<!-- ==================== INSTANCE METHODS ==================== -->
+<a name="section-InstanceMethods"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td align="left" colspan="2" class="table-header">
+ <span class="table-header">Instance Methods</span></td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyspark.mllib.regression.LinearRegressionModelBase-class.html">LinearRegressionModelBase</a></code></b>:
+ <code><a href="pyspark.mllib.regression.LinearRegressionModelBase-class.html#predict">predict</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyspark.mllib.regression.LinearModel-class.html">LinearModel</a></code></b>:
+ <code><a href="pyspark.mllib.regression.LinearModel-class.html#__init__">__init__</a></code>
+ </p>
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__delattr__</code>,
+ <code>__format__</code>,
+ <code>__getattribute__</code>,
+ <code>__hash__</code>,
+ <code>__new__</code>,
+ <code>__reduce__</code>,
+ <code>__reduce_ex__</code>,
+ <code>__repr__</code>,
+ <code>__setattr__</code>,
+ <code>__sizeof__</code>,
+ <code>__str__</code>,
+ <code>__subclasshook__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== PROPERTIES ==================== -->
+<a name="section-Properties"></a>
+<table class="summary" border="1" cellpadding="3"
+ cellspacing="0" width="100%" bgcolor="white">
+<tr bgcolor="#70b0f0" class="table-header">
+ <td align="left" colspan="2" class="table-header">
+ <span class="table-header">Properties</span></td>
+</tr>
+ <tr>
+ <td colspan="2" class="summary">
+ <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
+ <code>__class__</code>
+ </p>
+ </td>
+ </tr>
+</table>
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pyspark-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Project homepage -->
+ <th class="navbar" align="right" width="100%">
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr><th class="navbar" align="center"
+ ><a class="navbar" target="_top" href="http://spark-project.org">PySpark</a></th>
+ </tr></table></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Sun Feb 2 22:20:29 2014
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>