Data mining and machine learning assignment

Assignment Help Python Programming
Reference no: EM132490090

Part I. Latent Space

Question 1. A scatter plot of the r = 2-dimensional representation of the faces in the r = 2-dimensional latent space, together with the faces which represent the two dimensions/features of the two-dimensional representation.

Question 2. A visualization of the faces which define the features of the latent space for r = 5.

Question 3. The reconstruction of the faces with indices i ∈ {0, 10, 20} when using a rank of r ∈ {5, 25, 50, 100} For example, the reconstruction of a picture when using 25, 50 and 100 (centered) principal components should look like those in Fig. 1.

Question 4. Point out differences and similarities of the three methods and describe how the differ- ences in the matrix factorization objective functions are expressed in the latent space.

Part  II. Classification methods and metrics

Question 1. Using the Naive Bayes method (you are free to use an implementation at your choice) perform binary classification on the HW3 dataset. Try to maximize the accuracy obtained on the validation set, while training the model on the training set. Report the results of the worst and best performing models using: confusion matrix and accuracy in percentages. Draw the decision boundaries of the worst and best models obtained. Perform a qualitative discussion on the process followed and the results obtained.

Question 2. Using the CART algorithm (you are free to use an implementation at your choice) perform binary classification on the HW3 dataset. Try to maximize the accuracy obtained on the validation set, while training the model on the training set. Report the results of the worst and best performing models using: confusion matrix and accuracy in percentages. Draw the decision boundaries of the worst and best models obtained. Draw the best and the worst CART models obtained. Perform a qualitative discussion on the process followed and the results obtained.

Question 3. Using Support Vector Machine - SVM (you are free to use an implementation at your choice) perform binary classification on the HW3 dataset. Use two kernels for SVM: (a) linear and (b) radial basis function. For both kernels, try to maximize the accuracy obtained on the validation set, while training the model on the training set. For both kernels, report the results of the worst and best performing models using: confusion matrix and accuracy in percentages. For both kernels, draw the decision boundaries of the worst and best models obtained. Perform a qualitative discussion on the process followed and the results obtained.

Question 4. Add to the Neural Networks code that you implemented yourself from scratch for HW3 Part I

f (x) = x, ∀x ∈ 0

f (x) = x, ∀x ≥ 0

f (x) = { 0.3x, ∀x < 0

Please perform and report the following using the HW3 dataset:

Present in the report the derivations of the two above mentioned activation functions to use them for the optimization process of the MLP

For each of the above mentioned activation functions, create one MLP model where the hidden neurons activation is set to chosen activation function, while the remaining configuration is exactly the same as the one defined in the "Problem" section of HW3.

For both MLP models, try to maximize the accuracy obtained on the validation set, while training the model on the training set.

For both MLP models, draw the decision boundaries of the worst and best models obtained.

Perform a qualitative discussion on the process followed and the results obtained.

Question 5. Discuss on the advantages and disadvantages of using all of the methods from part II (Classification methods and metrics) of this resit exam. Which one do you believe that is the best method to use on the HW3 dataset? Why?

Attachment:- Data Mining and Machine Learning.rar

Reference no: EM132490090

Questions Cloud

Determine if each expense is revenue : Examine this list and determine if each expense is revenue or capital expenditure. Provide a short explanation for your choice. Capital & Revenue Expenditure
ENEE20002 - Advanced Electrical Machines and Drives : ENEE20002 - Advanced Electrical Machines and Drives Assignment Help and Solution, Central Queensland University, Australia. Derive the open-loop block diagram
Prepare statement of owner equity for year ended december : Prepare Multiple-step Income Statement for the year ended December 31, 2018. Prepare Statement of Owner's Equity for the year ended December 31, 2018.
Is dna and histone binding sequence specific : Is DNA and histone binding sequence specific? If it is, how can you tell where the histone core will bind to the DNA sequence? Does it prefer A-T or C-G base pa
Data mining and machine learning assignment : Data Mining and Machine Learning Assignment help and solution, Eindhoven University of Technology - assessment writing service
Determine the company depreciation charge for the year : Compute the company's depreciation charge for the year to 31 July 20X7 using The reducing balance method.Assume that depreciation is charged from the first year
List the five major causes of evolutionary change : List the five major causes of evolutionary change that can be inferred from the Hardy-Weinberg formula
Explain what happens when a neuron is stimulated : Explain what happens when a neuron is stimulated. Use the terms nerve impulse, action potential and wave of depolarization.
Prepare a statement of financial position and presented : Prepare a statement of financial position, presented and classified according to generally accepted accounting principles with appropriate notes

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd