Reference no: EM132501133
ECE 228 Machine Learning for Physical Applications - University of California
Classifiers and Autoencoding
In this Python programming homework we hope to provide you with an opportunity to become comfortable with linear, convolutional, dropout layers and general construction of a model in a deep learning framework. We make use of the Keras Tensorflow2 framework for its ease of use to those new to deep learning frameworks. This homework allows use of PyTorch with the requirement that the coder adheres to the layout of the notebook.
Meaning, substituting the PyTorch class defining a network is placed where the corresponding Tensorflow2 code is located. Please print the network after initialization.
For ease we would like that you answer the questions in markdown cells directly in the notebook. The questions are located at the top of the notebook so you do not have to search. Answers should be a short paragraph (except for 2.3) with any requested plots generated from the code below.
Overfitting
In this section you will construct a classifier for the Fashion MNIST dataset and see an example of model overfitting.
Deliverables: A working model according to the design specified, Answers to questions.
Dropout
The goal here is to provide one of a few possible improvements to deal with overfitting issues. Dropout is also useful as a "stress test" of your model. During training it randomly disconnects a percentage of connections between layers. This forces a network not to rely too heavily on any one connection, but to distribute information properly throughout the network.
Deliverables: A working model according to the design specified, Answers to questions.
Vanilla Autoencoder
Autoencoders are a simple but useful model. Similar to how a one-hot encoding transforms data into a useful form for a particular network. Autoencoders provide powerful nonlinear encoding of data by squeezing the data through a "bottleneck" called the latent space. Which in a sense filters the data down to a sparse basis or representation of the data. The goal is to find a smallest latent space which gives a highly accurate reconstruction of the data.
Deliverables: A working model according to the design specified and latent space representation.
Convolutional Autoencoder
A more powerful and complex form of autoencoder which can combine local information to create complex abstract features across 2D image patches. Using max pooling provides invariant features while only using convolution layers to reduce feature map size yields equivariant features. Deliverables: A working model according to the design specified and latent space representation.
Anomaly Detection
In this section you are given a dataset of vibration data coming from a machine pump. The data has 8 channels, one for each acoustic sensor location. There is background noise. Your goal is to construct an autoencoder that can detect the anomaly data. You are free to approach this as you see fit with the only stipulation being that you can outperform a baseline model by finding more than 75 of the 143 anomalies. The data was created using the torchaudio MelSpectrogram function and is a subset of a newer dataset developed for machine condition detection. This data can be used for class projects and the melspectrogram starter code can be used for anyone working with acoustic data.
Deliverables: A working model, histogram plot, mean and std. dev. of normal data, and confusion matrix for a 2 standard deviation threshold as results. Match your test/validation/training names to final given code to calculate true positives.
Describe your design decisions regarding your model. Choice of layers, layer sizing, choice of loss function, choice of nonlinearity, shape of data input and why, batch sizing, hyper parameters, etc.
Attachment:- Classifiers and Autoencoding.rar
What is the value of the firm assets prior
: The firm has 100,000 shares outstanding. The cost of capital is 20% and the firm faces a 40% tax on all corporate earnings.
|
Find the full product cost per unit including upstream
: Find the full product cost per unit, including upstream, manufacturing, and downstream activities. Also compute the relative proportion of each main cost.
|
STA101 - Statistics for Business Assignment
: STA101 - Statistics for Business Assignment Help and Solution - Elite Education Institute, Australia. Determine the mean, median and mode
|
Which investment type should the investor choose
: He can also make invest the $10,000 in a bank account earning 6% per month compounded weekly over the same 40-week period.
|
ECE 228 Machine Learning for Physical Applications
: ECE 228 Machine Learning for Physical Applications Assignment help and Solution, University of California - Assessment Writing Service
|
What is the optimal order quantity for market 1
: a) What is the optimal order quantity for market 1? What is the optimal safety stock for market 1?
|
Cindy pre-tax earning
: Cindy's marginal tax rate is 20%. This $1600 medical expense is equivalent to how much of Cindy's pre-tax earning? (to the nearest dollar)
|
Calculate the cost of common stock for the firm
: Jaffe Co. just paid dividend of $1.65 per share. Dividends are expected to grow at 2 % forever. The stock is currently. $70 per share.
|
What is the variance of the stock returns
: There is 25 percent probability of a bad economy, 28 percent probability of a normal economy, and 47 percent probability of a hot economy.
|