100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Homework 2 with Correct Answers Georgia Institute Of Technology ISYE 6501 $12.49   Add to cart

Exam (elaborations)

Homework 2 with Correct Answers Georgia Institute Of Technology ISYE 6501

 5 views  0 purchase
  • Course
  • Institution

Question 3.1 Using the same data set (credit_card_ or credit_card_) as in Question 2.2, use the ksvm or kknn function to find a good classifier: (a) using cross-validation (do this for the k-nearest-neighbors model; SVM is optional); Cross Validation is a model evaluation method to see how wel...

[Show more]

Preview 2 out of 10  pages

  • April 11, 2023
  • 10
  • 2022/2023
  • Exam (elaborations)
  • Questions & answers
avatar-seller
Question 3.1
Using the same data set (credit_card_data.txt or credit_card_data-headers.txt)
as in Question 2.2, use the ksvm or kknn function to find a good classifier:
(a) using cross-validation (do this for the k-nearest-neighbors model;
SVM is optional);
Cross Validation is a model evaluation method to see how well our model has performed and prevent over
fitting. Supposed we receive a dataset with n data points, we do not use all these data points for training
instead we split them into training data and testing data . We use different iterations of this training data
and test data to check the efficiency of our model .
Different type of cross validation methods that I came across are – Holdout method, Leave one out cross
validation and K-fold cross validation .

For k-nearest-neighbors model (knn) model , I am going to use the Leave one out cross validation . In this
case – if I have n datapoint, I leave one out and use n-1 for training purpose .

, Display my_model to find error and Best K . (In this case best k = 58)




Now, let us check the accuracy for our model :

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ExamsConnoisseur. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80467 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.49
  • (0)
  Add to cart