Coder Social home page Coder Social logo

denrydu / cs231n_assignment1 Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 676 KB

斯坦福大学cs231n课程的第一项作业之我的解答。Solution for Assignment1 (Images classification, kNN, SVM, SoftMax, FullyConnected Neural Network)

Shell 0.25% Jupyter Notebook 94.08% Python 5.67%
softmax-classifier assignment1 knn softmax svm

cs231n_assignment1's Introduction

Solution and tutorial

Assignment One for class cs231n in Standford

斯坦福cs231n计算机视觉课程作业#1

Table (目录)

1.Instruction of this assignment (课业导引)

Goals

In this assignment you will practice putting together a simple image classification pipeline based on the k-Nearest Neighbor or the SVM/Softmax classifier. The goals of this assignment are as follows:

  • Understand the basic Image Classification pipeline and the data-driven approach (train/predict stages) (了解 图像分类数据驱动算法 的大致过程)
  • Understand the train/val/test splits and the use of validation data for hyperparameter tuning. (理解 数据集分割 和利用验证集进行 超参数调优 )
  • Develop proficiency in writing efficient vectorized code with numpy (利用numpy矩阵化运算 提升性能 )
  • Implement and apply a k-Nearest Neighbor (kNN) classifier (实现 kNN分类器 )
  • Implement and apply a Multiclass Support Vector Machine (SVM) classifier (实现 SVM分类器 )
  • Implement and apply a Softmax classifier (实现 SoftMax分类器 )
  • Implement and apply a Two layer neural network classifier (实现 两层神经网络分类器 )
  • Understand the differences and tradeoffs between these classifiers (理解 各个分类器不同和优劣之处 )
  • Get a basic understanding of performance improvements from using higher-level representations as opposed to raw pixels, e.g. color histograms, Histogram of Gradient (HOG) features, etc. (对于诸如 HOG 等不同于单位像素的 高级表达形式 对于表现的提升做一个初步的了解)

2.Video record of this class (课程视频)

3.Tutorial to start (如何安装和开始)

How to set up Local Development

Download. Starter code containing jupyter notebooks can be downloaded here.
Install Packages. Once you have the starter code, activate your environment (the one you installed in the Software Setup page) and run (运行脚本安装运行环境,强烈推荐此教程方法)

pip install -r requirements.txt.

如果需要在conda虚拟环境中安装,则运行以下命令(具体见上一段链接):

python -m pip install -r requirements.txt.

Download CIFAR-10. Next, you will need to download the CIFAR-10 dataset. Run the following from the assignment1 directory: (运行脚本下载cifar-10数据集)

cd cs231n/datasets
./get_datasets.sh

Start Jupyter Server. After you have the CIFAR-10 data, you should start the Jupyter server from the assignment1 directory by executing jupyter notebook in your terminal.

4.Solution in Detail (方案详解)

Unfinished, please wait...


Details about this assignment can be found on the course webpage, under Assignment #1 of Spring 2019.

cs231n_assignment1's People

Contributors

denrydu avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.