没有项目描述

dffml-model-tensorflow的Python项目详细描述


tensorflow库的dffml模型

关于

由tensorflow支持的dffml模型。

演示

Demo

This demo was taken before the below steps were updated, the actual accuracy may vary as this video shows accuracy being assessed against the training data. You should try it for yourself and see!

安装

virtualenv -p python3.7 .venv. .venv/bin/activatepython3.7 -m pip install --user -U dffml[tensorflow]

用法

wget http://download.tensorflow.org/data/iris_training.csvwget http://download.tensorflow.org/data/iris_test.csvhead iris_training.csvsed -i 's/.*setosa,versicolor,virginica/SepalLength,SepalWidth,PetalLength,PetalWidth,classification/g' *.csvhead iris_training.csvdffml train \  -model dnn \  -sources csv=iris_training.csv \  -classifications 0 1 2 \  -features \    def:SepalLength:float:1 \    def:SepalWidth:float:1 \    def:PetalLength:float:1 \    def:PetalWidth:float:1 \  -num_epochs 3000 \  -steps 20000 \  -log debugdffml accuracy \  -model dnn \  -sources csv=iris_test.csv \  -classifications 0 1 2 \  -features \    def:SepalLength:float:1 \    def:SepalWidth:float:1 \    def:PetalLength:float:1 \    def:PetalWidth:float:1 \  -log criticaldffml predict all \  -model dnn \  -sources csv=iris_test.csv \  -classifications 0 1 2 \  -features \    def:SepalLength:float:1 \    def:SepalWidth:float:1 \    def:PetalLength:float:1 \    def:PetalWidth:float:1 \  -caching \  -log critical \  > results.jsonhead -n 33 results.json

许可证

dffml tensorflow模型在 MIT License

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
使用Scala对Java进行单元测试?   java无法将应用程序部署到Tomcat   java如何在IntelliJ IDEA中创建补丁?   java如何在安卓中编程设置列表视图高度   java如何使用charAt检查字符串是否以AZ或AZ开头?   java在SQL查询中使用非限制值   java函数在不同的Android版本中返回不同的datetime值   java方法应该在实现动作的类中,还是在实现的类中?   java从另一个线程的类访问线程类的公共静态arrayList   java是否像重新引发相同的异常?   java如何从localhost访问本地文件   javaurl。openStream非常慢   java数组越界和空指针异常   java我只是在某种程度上破坏了Netbeans,我不知道如何修复它   java是否可以延迟类的加载,而这些类可能在以后动态加载?   java断开外壳输出到文件   从blob服务回调时出现java Google应用程序引擎错误   java将SparseArray存储在JSON中并使用它   使用IText for Java进行pdf文本定位   java如何更改SearchView的样式?