Plot the final hypothesis curve along with training points

Assignment Help Other Subject
Reference no: EM131078270

Assignment: K-means Clustering and Radial Basis Functions (RBF)

Problem 1: In this problem you will use the data file "vizData.csv" (x and y denote the input and target) to visualize the effect of gamma in the RBF model on a simple data set. Use all training points in the data set as cluster centers.

1. Create a regression RBF model with gamma equal 5. Plot the final hypothesis curve along with the training points on the same plot.

2. Create a regression RBF model with gamma equal 1/5. Plot the final hypothesis curve along with the training points on the same plot.

Problem 2: In this problem you will use the data file "kMeansData.csv" (x1 and x2 denote the input features) to create 3 clusters using unsupervised Lloyd's k-means algorithm.

The training should only stop if the difference between the cluster center locations in two consecutive iterations is less than 0.001 or if the number of iterations has reached 1000. For the initial selection of cluster locations choose 3 points from the data set randomly.
After convergence, report the final cluster centers. Plot the 3 clusters in different colors with cluster centers clearly marked on the plot.

Problem 3: In this problem you will use the data file "rbfClassification.csv" to create an RBF classification model. x1 and x2 denote the input features and cls denotes the target class of the corresponding data points.

1. Use k-means clustering to determine the location of 2 cluster centers that you will use in your RBF model. Report the coordinate of the cluster centers.

2. Train an RBF model using = 0.5. Report the correct classification rate of your model.

Attachment:- Data.zip

Reference no: EM131078270

Questions Cloud

Global financial crisis and eurozone sovereign debt crisis : Countries around the world are still struggling to reenergize their sluggish economies from the impact of the Global Financial Crisis (GFC) and the Eurozone Sovereign Debt Crisis. What treasury management strategies would you recommend for a sustaina..
Net advantage to leasing the firm will lease the equipment : Buster’s Beverages is negotiating a lease on a new piece of equipment that would cost $100,000 if purchased. The equipment falls into the MACRS 3-year class, and it would be used for 3 years and then sold, because the firm plans to move to a new faci..
Compute the weighted average cost of capital of the firm : A firm has a capital structure with $100 million in equity and $100 million of debt. The cost of equity capital is 14% and the pretax cost of debt is 8%. If the marginal tax rate of the firm is 30%, compute the weighted average cost of capital of the..
Influence the cash flow and risk of the project : Commodore Corporation is deciding whether it makes sense to invest in a project today, or to postpone this decision for one year. The investment timing option does not affect the expected cash flows and should therefore have no impact on the project’..
Plot the final hypothesis curve along with training points : Create a regression RBF model with gamma equal 5. Plot the final hypothesis curve along with the training points on the same plot. Create a regression RBF model with gamma equal 1/5. Plot the final hypothesis curve along with the training points o..
About the true values future sales and costs : Real options change the risk, but not the size, of projects' expected cash flows. Real options are likely to reduce the cost of capital that should be used to discount a project's expected cash flows. Real options are less valuable when there is a lo..
What is the price of the bonds : Bennington Industrial Machines issued 153,000 zero coupon bonds six years ago. The bonds originally had 30 years to maturity with a yield to maturity of 7.3 percent. What is the market value of the company's debt? What is the price of the bonds?
Activity-based costing system with three activity cost pools : Abagail Corp. uses activity-based costing system with three activity cost pools. The following information is provided: Costs: Wages and salaries $ 202,000 Depreciation 102,000 Utilities 112,000 Total $440,000 Activity Cost Pools Assembly Setting Up ..
Future value of the annual savings over ten years : Beverly and Kyle Nelson currently insure their cars with separate companies, paying $580 and $615 a year. If they insured both cars with the same company, they would save 20 percent on the annual premiums. What would be the future value of the annual..

Reviews

Write a Review

Other Subject Questions & Answers

  Causally determined by prior events-interpret freedom

Why does Carolyn believe that a person can be free even if her choices and actions are causally determined by prior events? Why does she think that this is how we should interpret 'freedom'?

  Indicate how and why you think they may be impacted

Choose one of the following scenarios and imagine you have been asked to respond to the crisis with some form of intervention. For your chosen scenario: Identify all of the people who may be impacted by this crisis, whether directly or indirectly. ..

  What are foreign exchange rates and how they determined

What are foreign exchange rates? How are they determined

  Example of an organic micronutrient

Which of the following is an example of an organic micronutrient? are inorganic nutrients that are not broken down by the human body or destroyed by heat.

  Differences between theravadin and mahayana buddhism

What are the major differences between Theravadin and Mahayana Buddhism? In your opinion, what type of person might beattracted to each type and why?

  Arrested for assaulting

Two men were arrested for assaulting each other in what would be called a "bar brawl." The bar owner did not press charges, and the two men were released.

  What is earths mantle what elements make up the earths

1. what is earths mantle?2. what elements make up the earths mantle?3. describe the big splash theory of the moons

  Case nutriment''s new hires

With the demand for more nutritional food options growing, Nutriment Biotech is positioned to become a leader in agricultural biotechnology. Nutriment is a start- up biotech company that is working to develop genetically engineered food crops that of..

  Political problem associated with the act

Examination of either the Clean Air Act or the Clean Water Act - Describe the major provisions of and amendments to the act and evaluate the overall effectiveness of the act in protecting our air or water resources.

  Demonstrating the low external validity

When Latan and Darley (1970) later tested the effects of the number of bystanders on whether people intervene in an emergency, they left the laboratory and staged a fake theft at a convenience store.

  How does light and color in indoor work environment impact

How does light and color in indoor work environment impact psychological functioning? Is this a cross-cultural effect?

  Type of quality control

You may be aware of this, but you have a lot of submissions where the person uploaded the directions for the paper, not the paper. So, as an example, HR587ON, you have three submissions that are the instructions from the professor in how to write the..

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