Coder Social home page Coder Social logo

ai_accelerators_hw_1_x6a4's Introduction

CS236781: Deep Learning on Computational Accelerators

Homework Assignment 1

Faculty of Computer Science, Technion.

Introduction

In this first homework assignment we'll familiarize ourselves with PyTorch as a general-purpose tensor library with automatic gradient calculation capabilities. We'll use it to implement some traditional machine-learning algorithms and remind ourselves about basic concepts such as different data sets and their uses, model hyperparameters, cross-validation, loss functions and gradient derivation. We'll also familiarize ourselves with other highly important python machine learning packages such as numpy, sklearn and pandas.

General Guidelines

  • Please read the getting started page on the course website. It explains how to setup, run and submit the assignment.
  • The text and code cells in these notebooks are intended to guide you through the assignment and help you verify your solutions. The notebooks do not need to be edited at all (unless you wish to play around). The only exception is to fill your name(s) in the above cell before submission. Please do not remove sections or change the order of any cells.
  • All your code (and even answers to questions) should be written in the files within the python package corresponding the assignment number (hw1, hw2, etc). You can of course use any editor or IDE to work on these files.

Contents

  • Part 1: Working with data in PyTorch
    • Datasets
    • Built-in Datasets and Transforms
    • DataLoaders and Samplers
    • Training, Validation and Test Sets
  • Part 2: Nearest-neighbor image classification:
    • kNN Classification
    • Cross-validation
  • Part 3: Multiclass linear classification
    • Linear Classification
    • Loss Functions
    • Optimizing a Loss Function with Gradient Descent
    • Training the model with SGD
    • Automatic differentiation
  • Part 4: Linear Regression
    • Dataset exploration
    • Linear Regression Model
    • Adding nonlinear features
    • Generalization

ai_accelerators_hw_1_x6a4's People

Contributors

ethanbar11 avatar trellixvulnteam 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.