Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PROBLEM 3 MNIST, 2 0 NG Preprocessing Your second task is normalization. The type of normalization used depends on the task and dataset. Common types

PROBLEM 3 MNIST, 20 NG Preprocessing
Your second task is normalization. The type of normalization used depends on the task and dataset. Common types of normalization include:
Shift-and-scale normalization: subtract the minimum, then divide by new maximum. Now all values are between 0-1
Zero mean, unit variance : subtract the mean, divide by the appropriate value to get variance=1
Term-Frequency (TF) weighting : map each term in a document with its frequency (text only; see the wiki page) It is up to you to determine the appropriate normalization.
available in Matlab/Java/Python/R.
Distance/similarity options to implement:
euclidian distance (required, library)
euclidian distance (required, your own - use batches if you run into memory issues)
edit distance (required for text)-or- cosine similarity (required for vectors)
jaccard similarity (optional)
Manhattan distance (optional)
DATASET:
train-images-idx3-ubyte.gz: training set images (9912422 bytes)
train-labels-idx1-ubyte.gz: training set labels (28881 bytes)
t10k-images-idx3-ubyte.gz: test set images (1648877 bytes)
t10k-labels-idx1-ubyte.gz: test set labels (4542 bytes)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions

Question

Id probably just get more upset. Its bett er to just drop it.

Answered: 1 week ago