
CS231n
文章平均质量分 86
嫉妒的虚荣
这个作者很懒,什么都没留下…
展开
-
CS231n(Spring 2019)Assignment 1 - Two-Layer Neural Network
(in cs231n/classifiers/neural_net.py)from __future__ import print_functionfrom builtins import rangefrom builtins import objectimport numpy as npimport matplotlib.pyplot as pltfrom past.builtins import xrangeclass TwoLayerNet(object): """原创 2020-08-04 17:30:02 · 346 阅读 · 0 评论 -
CS231n(Spring 2019)Assignment 1 - SVM
Preprocessing# Load the raw CIFAR-10 data.cifar10_dir = 'cs231n/datasets/cifar-10-batches-py'# Cleaning up variables to prevent loading data multiple times (which may cause memory issue)try: del X_train, y_train del X_test, y_test print('Clea原创 2020-07-19 00:19:34 · 2482 阅读 · 0 评论 -
CS231n(Spring 2019)Assignment 1 - Softmax
Preprocessingdef get_CIFAR10_data(num_training=49000, num_validation=1000, num_test=1000, num_dev=500): """ Load the CIFAR-10 dataset from disk and perform preprocessing to prepare it for the linear classifier. These are the same steps as we u原创 2020-07-17 00:41:23 · 302 阅读 · 0 评论 -
笔记:CS231n(Spring 2019)Assignment 1 - kNN
Setup & Download data首先是在相关下载作业的压缩包和数据集Preprocessing加载CIFAR10数据集Training data shape: (50000, 32, 32, 3)Training labels shape: (50000,)Test data shape: (10000, 32, 32, 3)Test labels sha...原创 2020-02-22 22:26:35 · 454 阅读 · 0 评论