摘要: 直接给代码: 1 # -- coding: gbk -- 2 from sklearn.datasets import load_breast_cancer 3 from sklearn.tree import DecisionTreeClassifier 4 from sklearn.model_ 阅读全文
posted @ 2020-03-26 23:58 博二爷 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 注释很清楚: 1 import tensorflow as tf 2 import os 3 import numpy as np 4 import matplotlib.pyplot as plt 5 os.environ["CUDA_VISIBLE_DEVICES"]="0" 6 learnin 阅读全文
posted @ 2020-03-26 12:44 博二爷 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 解析在注释里: 1 import tensorflow as tf 2 from tensorflow.examples.tutorials.mnist import input_data 3 import os 4 os.environ["CUDA_VISIBLE_DEVICES"]="0" 5 阅读全文
posted @ 2020-03-26 12:43 博二爷 阅读(606) 评论(0) 推荐(0) 编辑