-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from nickcafferry/master
auto review
- Loading branch information
Showing
4 changed files
with
232 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,124 @@ | ||
This chapter shows how to implement various SVM methods with TensorFlow. We first | ||
create a linear SVM and also show how it can be used for regression. We then introduce | ||
kernels (RBF Gaussian kernel) and show how to use it to split up non-linear data. We | ||
finish with a multi-dimensional implementation of non-linear SVMs to work with multiple | ||
classes. | ||
.. note:: | ||
|
||
This chapter shows how to implement various SVM methods with TensorFlow. We first | ||
create a linear SVM and also show how it can be used for regression. We then introduce | ||
kernels (RBF Gaussian kernel) and show how to use it to split up non-linear data. We | ||
finish with a multi-dimensional implementation of non-linear SVMs to work with multiple | ||
classes. | ||
|
||
引言 | ||
===== | ||
---------------- | ||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
/03_Linear_Regression/01_Using_the_Matrix_Inverse_Method/index | ||
|
||
|
||
We introduce the concept of SVMs and how we will go about implementing them in the TensorFlow | ||
framework. | ||
|
||
下载本章 :download:`Jupyter Notebook </03_Linear_Regression/01_Using_the_Matrix_Inverse_Method/01_lin_reg_inverse.ipynb>` | ||
|
||
------------ | ||
|
||
线性支持向量机 | ||
============== | ||
--------------- | ||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
/03_Linear_Regression/02_Implementing_a_Decomposition_Method/index | ||
|
||
We create a linear SVM to separate I. setosa based on sepal length and pedal width in the Iris | ||
data set. | ||
|
||
.. image:: | ||
|
||
下载本章 :download:`Jupyter Notebook </03_Linear_Regression/02_Implementing_a_Decomposition_Method/02_lin_reg_decomposition.ipynb>` | ||
|
||
----- | ||
|
||
回归线性回归 | ||
============= | ||
-------------- | ||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
/03_Linear_Regression/03_TensorFlow_Way_of_Linear_Regression/index | ||
|
||
The heart of SVMs is separating classes with a line. We change tweek the algorithm slightly | ||
to perform SVM regression. | ||
|
||
.. image:: | ||
|
||
下载本章 :download:`Jupyter Notebook </03_Linear_Regression/03_TensorFlow_Way_of_Linear_Regression/03_lin_reg_tensorflow_way.ipynb>` | ||
|
||
----------- | ||
|
||
TensorFlow中的核 | ||
================= | ||
---------- | ||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
/03_Linear_Regression/04_Loss_Functions_in_Linear_Regressions/index | ||
|
||
In order to extend SVMs into non-linear data, we explain and show how to implement different kernels | ||
in TensorFlow. | ||
|
||
下载本章 :download:`Jupyter Notebook </03_Linear_Regression/04_Loss_Functions_in_Linear_Regressions/04_lin_reg_l1_vs_l2.ipynb>` | ||
|
||
----------- | ||
|
||
非线性支持向量机 | ||
============== | ||
------------- | ||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
/03_Linear_Regression/05_Implementing_Deming_Regression/index | ||
|
||
We use the Gaussian kernel (RBF) to separate non-linear classes. | ||
|
||
下载本章 :download:`Jupyter Notebook </03_Linear_Regression/05_Implementing_Deming_Regression/05_deming_regression.ipynb>` | ||
|
||
------------- | ||
|
||
多类支持向量机 | ||
============= | ||
----------- | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
/03_Linear_Regression/06_Implementing_Lasso_and_Ridge_Regression/index | ||
|
||
SVMs are inherently binary predictors. We show how to extend them in a one-vs-all strategy in | ||
TensorFlow. | ||
TensorFlow. | ||
|
||
.. image:: | ||
|
||
下载本章 :download:`Jupyter Notebook </03_Linear_Regression/06_Implementing_Lasso_and_Ridge_Regression/06_lasso_and_ridge_regression.ipynb>` | ||
|
||
----------- | ||
|
||
本章学习模块 | ||
----------- | ||
|
||
.. Submodules | ||
.. ---------- | ||
*tensorflow\.zeros* | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. automodule:: tensorflow.zeros | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
------ | ||
|
||
*tensorflow\.ones* | ||
^^^^^^^^^^^^^^^^^^ | ||
|
||
.. automodule:: tensorflow.ones | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.