使用Tensorflow构造LogisticRegression
使用Tensorflow构造LogisticRegression
import numpy as np
import tensorflow as tf
import matplotlib.pyplot as plt
from tensorflow.examples.tutorials.mnist import input_data
#加载mnist数据集,one_hot=True为0,1格式
m...
原创
2018-10-23 19:19:06 ·
267 阅读 ·
0 评论