1 Star 0 Fork 11

我是城墟垣/TensorFlow-Course

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.rst 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Amirsina Torfi 提交于 2018-11-01 01:45 +08:00 . README update

Linear SVM

This document is dedicated to explain how to run the python script for this tutorial. For this tutorial, we will create a linear SVM for separation of the data. The data that is used for this code is linearly separable.

Python Environment

WARNING: If TensorFlow is installed in any environment(virtual environment, ...), it must be activated at first. So at first make sure the tensorFlow is available in the current environment using the following script:

How to run the code in Terminal?

Please root to the code/ directory and run the python script as the general form of below:

python [python_code_file.py]

As an example the code can be executed as follows:

python linear_svm.py

How to run the code in IDEs?

Since the code is ready-to-go, as long as the TensorFlow can be called in the IDE editor(Pycharm, Spyder,..), the code can be executed successfully.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/williamzhu89/TensorFlow-Course.git
git@gitee.com:williamzhu89/TensorFlow-Course.git
williamzhu89
TensorFlow-Course
TensorFlow-Course
master

搜索帮助