群智感知课程实验
evilwind2000
这个作者很懒,什么都没留下…
展开
-
python实现两层神经网络识别手写数字体(2)
博客等结课再开放。。。 # coding: utf-8 from collections import OrderedDict try: import urllib.request except ImportError: raise ImportError('You should use Python 3.x') import numpy as np import mnist def softmax(x): if x.ndim == 2: x = x.T原创 2021-05-27 21:12:01 · 218 阅读 · 0 评论 -
python实现两层神经网络识别手写数字体
第一部分是下载数据 第二部分常用函数 第三部分是神经网络类 第四部分主函数 # coding: utf-8 try: import urllib.request except ImportError: raise ImportError('You should use Python 3.x') import os.path import gzip import pickle import os import math import numpy as np # 以下部分为下载数据集 url_原创 2021-05-13 20:26:51 · 289 阅读 · 0 评论