/images/Yiyang.png

Yiyang Dong

MIT 18.S191 | Spring 2021 | Notes

Note on Course: Introduction to Computational Thinking Computational science can be summed up by a simplified workflow: data ==> input ==> process ==> model ==> visualize ==> output Topics Include: Image Analysis Particle Dynamics and Ray Tracing Epidemic Propagation Climate Modeling Module 1: Images https://computationalthinking.mit.edu/Spring21/images/ 1. Install Julia and Pluto Step 1: Download from https://julialang.org/downloads/ Step 2: Open Julia and Install Pluto To install Pluto, we want to run a package manager command.

OpenCV Notes 01 | Feature Detection

0. Understanding Features What are the main features in an image? How can finding those features be useful to us? Jigsaw Puzzle Game How do you play jigsaw puzzles? How do you arrange lots of scrambled image pieces into a big single image? How can you stitch a lot of natural images to a single image? Answers: We are looking for specific patterns or specific features which are unique, can be easily tracked and can be easily compared.

Paper Notes 00 | How to Read a Paper

PaperNotes00 | How to Read a Paper 此篇笔记是PaperNotes系列的第 1 篇,我将S. Keshav教授在 2016 年写作的How to Read a Paper 进行摘抄,翻译和要点总结: http://blizzard.cs.uwaterloo.ca/keshav/home/Papers/data/07/paper-reading.pdf ABSTRACT Researchers spend a great deal of time reading research papers. However, this skill is rarely taught, leading to much wasted effort. This article outlines a practical and efficient three-pass method for reading research papers. I also describe how to use this method to do a literature survey.

OpenGL Notes | Basics

OpenGL is a graphics API used for real time rendering calculations that are processed by the GPU 1. Screen and Coordinates 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 # Initialize pygame Screen pygame.init() # Screen Size screen_width = 1000 screen_height = 800 screen = pygame.display.set_mode((screen_width, screen_height), DOUBLEBUF | OPENGL) pygame.display.set_caption("OpenGL in Python") # Specify which matrix is the current matrix def init_ortho(): glMatrixMode(GL_PROJECTION) glLoadIdentity() # Clear the System gluOrtho2D(0, 1000, 0, 680) # set the window coordinates # (left, right, bottom, top) glMatrixMode(GLenum mode): sets the current matrix mode

Deep Learning Notes | Art Generation with Neural Style Transfer

神经网络是通过梯度下降算法每一次优化(最小化)成本函数让训练集中的预测值接近真实值,每一次更新参数 optimize a cost function to get a set of parameter values. With Neural Style Transfer, you’ll get to optimize a cost function to get pixel values. ! 1. Neural Style Transfer Neural Style Transfer (NST) uses a pre-trained convolutional network (VGG-19), and optimizes a cost function to get pixel values updated. It merges two images, namely: a “content” image (C) and a “style” image (S), to create a “generated” image (G).

Deep Learning Notes | Word Embedding

自然语言处理:为文字建立统计模型 0. Sequence Data Many data sources are sequential in nature, and call for special treatment when building predictive models: Documents such as books and movie reviews, newspaper articles, and tweets The sequence and relative positions of words in a document capture the narrative, theme and tone, tasks: topic classification, sentiment analysis, and language translation. Time Series of weather and finantial information tasks: weather / market indices prediction Recorded Speech and Sound Recordings tasks: text transcription of a speech, or music generation A sentence can be represented as a sequence of L words, include slang or non-words, have spelling errors.