What do you observe about the model performances

Assignment Help Computer Engineering
Reference no: EM133430048

Questions: The objective of this lab is Build a SVM model for Face Recognition Problem
We will use a very famous dataset, called Labelled Faces in the Wild, which consists of 1288 faces of famous people, and it is available at Canvas, and also,
You can find more information about the data used in this lab here:
Each image consists of 1850 features: we could proceed by simply using each of them in the model.
Fitting a SVM to non-linear data using the Kernel Trick produces non- linear decision boundaries. In particular, we seek to build SVM model with a radial basis function (RBF) kernel.
Use a grid search cross-validation to explore random combinations of parameters.
Steps to do:
1. Loading the data
2. Print the field names (that is, the keys to the dictionary)
3. Print the dataset description contained. Print the data, its shape, and the target names.
4. Divide the data into features (X) using the faces. data and target (y) using faces. target.
5. Splitting the data into training and testing sets. We train the model with 70% of the samples and test with the remaining 30%.
6. Declare SVM model with kernel='rbf', class_weight='balanced'
7. Use a grid search cross-validationwith 10 CV to explore random combinations of parameters.
8. predict on the test set, using the best model from above step.
9. Model performances
10. What do you observe about the model performances?

 

 

Reference no: EM133430048

Questions Cloud

Social work ethics from your virtual volunteer experience : What have you learned about social work ethics from your virtual volunteer experience ? What have you learned about professionalism?
What is the first layer of security infrastructure for an it : Define in your own words what a layered security solution is for a State Government IT infrastructure. Why should an organization consider a layered security
Why do we use middleware applications in distributed systems : Distribution transparency, is a common terminology in Distributed Systems, explain this terminology and give examples of different types of transparency?
Cycle of socialization : Using the Cycle of Socialization reading, identify how you "do gender" every day. Discuss how gender equality can benefit all.
What do you observe about the model performances : What do you observe about the model performances? predict on the test set, using the best model from above step.
Write a summary on using traditional storage over vhd : Write a summary on using traditional storage over VHD or vice versa. Include the pros/cons and features relevant to its use on a current version of Windows
What are some stereotypes about poor people : What are some stereotypes about poor people and how can we help them to fight them so that they do not become self-fulfilling prophecies for them?
What research method will you use and why : What ethical considerations must be made to keep your research ethically sound? Write out your responses in APA format. Your completed assignment
Why are exit doors push to open and not pull : What does the author mean when he says "designers get away with more if the product is fun and enjoyable." Why is this true? Why do things intended to be used

Reviews

Write a Review

Computer Engineering Questions & Answers

  What information can be brought to bear

We do know that the client has an advertising plan and budget in place where in he is presently spending 5% on creation of ad and 95% on airing of the commercial. It has been seen that the quality of advertise designing is falling and not upto the..

  What is the probability of getting exactly k heads

What is the probability of getting exactly k heads on n tosses, where coin has a probability of p in coming up heads on each toss? What about k or more heads?

  Select four standard corporate executive positions and

question 1.choose four standard corporate executive positions and describe their role on the it steering

  Define physical network segmentation and microsegmentation

Explain the difference between physical network segmentation and microsegmentation as they relate to cloud security. Explain what it means to implement.

  Discuss the nature of competition in your market

Select a business strategy that you think is relevant to online e-commerce business in tourist industry in Australia and assigned business category.

  How the os processes data and interacts with the hard drive

For this assignment, describe the functions of the OS with greater detail. Describe how the OS processes data and interacts with the hard drive and RAM.

  The use of a cli command line interface gives flexibility

the use of a cli command line interface provides flexibility and power for the user who knows how to use the cli

  Questioncreate the logic for program that performs

questioncreate the logic for program that performs arithmetic functions. design a program to contain two numeric

  What can go wrong in bisection

Vectorize MySqrt so that it can handle the case when A is a matrix of nonnegative numbers.

  Assess the security and the operational needs

Assess the security and the operational needs for controlling wireless transmissions. How does this change in a personal, small-office, or large-enterprise.

  Create a class called class to represent a class of students

Create a class called Class to represent a class of students. The class should store the name of the class (Biology, History, etc), the name of the instructor, the number of students, the average GPA of the students in the class, and finally the s..

  Why has functional programming never become dominant

Imperative programming was the dominant paradigm from the dawn of computing until about 1990. Why has functional or logic programming never become dominant?

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