# We Helped With This MATLAB Programming Homework: Have A Similar One?

SOLVED
Category Programming MATLAB Undergraduate Solved Matlab Coding Tutors

## Assignment Description

1. From the iris dataset take instances 51-75, 101-125 as the training data and instances 76- 100, 126-150 as test data for classes versicolor and virginica. Train a linear discriminant analysis (=minimum Mahalanobis classifier) with the training data set and use the trained classifier to classify the test data.

(a) Use Matlab and PRTools to calculate the confusion matrix.

(b) Give the numbers of true positives, false negatives, false positives, true negatives in this case.

(c) Calculate precision, recall, f-measure, false alarm rate, and accuracy.

2. Based on the adult data set from the UCL machine learning repository, predict whether someone is rich ( ’>50K’) or not, based on the following features: age, fnlwgt, education-num, race, sex, capital-gain, capital-loss, hours-per-week, native country. Convert the string attributes race, sex, native-country into a number, white →1, non-white→ 0, male→ 1, female→ 0, US-born→ 1, non-US born → 0, ’>50K’→2, <=50K’→ 1.

Perform 10-fold cross-validation with the classifiers: minimumdistance classifier, minimum Mahalanobis classifier (=linear discriminant analysis), quadratic classifier, k-nearest neighbor, and support vector machine. Calculate the f-measure. Compare the results of the 5 classifiers to a classifier that randomly guesses a class, and to a classifier that always predicts ’<=50k’ (poor). Comment on the results!

Is it free to get my assignment evaluated?

Yes. No hidden fees. You pay for the solution only, and all the explanations about how to run it are included in the price. It takes up to 24 hours to get a quote from an expert. In some cases, we can help you faster if an expert is available, but you should always order in advance to avoid the risks. You can place a new order here.

How much does it cost?

The cost depends on many factors: how far away the deadline is, how hard/big the task is, if it is code only or a report, etc. We try to give rough estimates here, but it is just for orientation (in USD):

 Regular homework \$20 - \$150 Advanced homework \$100 - \$300 Group project or a report \$200 - \$500 Mid-term or final project \$200 - \$800 Live exam help \$100 - \$300 Full thesis \$1000 - \$3000

How do I pay?

Credit card or PayPal. You don't need to create/have a Payal account in order to pay by a credit card. Paypal offers you "buyer's protection" in case of any issues.

Why do I need to pay in advance?

We have no way to request money after we send you the solution. PayPal works as a middleman, which protects you in case of any disputes, so you should feel safe paying using PayPal.

Do you do essays?

No, unless it is a data analysis essay or report. This is because essays are very personal and it is easy to see when they are written by another person. This is not the case with math and programming.

Why there are no discounts?

It is because we don't want to lie - in such services no discount can be set in advance because we set the price knowing that there is a discount. For example, if we wanted to ask for \$100, we could tell that the price is \$200 and because you are special, we can do a 50% discount. It is the way all scam websites operate. We set honest prices instead, so there is no need for fake discounts.

Do you do live tutoring?

No, it is simply not how we operate. How often do you meet a great programmer who is also a great speaker? Rarely. It is why we encourage our experts to write down explanations instead of having a live call. It is often enough to get you started - analyzing and running the solutions is a big part of learning.

What happens if I am not satisfied with the solution?

Another expert will review the task, and if your claim is reasonable - we refund the payment and often block the freelancer from our platform. Because we are so harsh with our experts - the ones working with us are very trustworthy to deliver high-quality assignment solutions on time.

Customer Feedback

"Thanks for explanations after the assignment was already completed... Emily is such a nice tutor! "

Order #13073

Find Us On