Generate data in two classes with two features

Assignment Help Econometrics
Reference no: EM131044779

Generate data in two classes, with two features. These features are all independent Gaussian variates with standard deviation 1. Their mean vectors are (-1, -1) in class 1 and (1, 1) in class 2. To each feature vector apply a random rotation of angle θ, θ chosen uniformly from 0 to 2π. Generate 50 observations from each class to form the training set, and 500 in each class as the test set. Apply four different classifiers:

1. Nearest-neighbors.

2. Nearest-neighbors with hints: ten randomly rotated versions of each data point are added to the training set before applying nearestneighbors.

3. Invariant metric nearest-neighbors, using Euclidean distance invariant to rotations about the origin.

4. Tangent distance nearest-neighbors. In each case choose the number of neighbors by tenfold cross-validation. Compare the results.

Reference no: EM131044779

Questions Cloud

Confidence interval estimate for mean production rate : The sample mean production rate for the 18 employees was 80 parts per hour. The sample standard deviation was 10 parts per hour. Construct the 90% confidence interval estimate for the mean production rate for the new method.
Analyst following both cinnamon and cambridge : Cinnamon, Inc. is a diversified manufacturing company headquartered in the United Kingdom. It complies with IFRS. In 2009, Cinnamon held a 19 percent passive equity ownership interest in Cambridge Processing that was classified as available-for-sa..
Develop a scatter diagram : a. Develop a scatter diagram. b. Show correlation at the 0.05 significance level. c. Develop the regression line for the data. d. Add the regression line to your scatter diagram.
What are some benefits and drawbacks of the expository : What are some benefits and drawbacks of the expository, guided inquiry, and free discovery teaching methodologies? Discuss.
Generate data in two classes with two features : Tangent distance nearest-neighbors. In each case choose the number of neighbors by tenfold cross-validation. Compare the results.
Calculate the net present value of the proposed mine : Seth Bullock, the owner of Bullock Gold Mining, is evaluating a new gold mine in South Dakota. Dan Dority, the company's geologist, has just finished his analysis of the mine site. He has estimated that the mine would be productive for eight years af..
Approximate probability that the average song : It is known that song length is not normally distributed. Suppose a sample of 25 songs is taken from the population. What is the approximate probability that the average song length will last more than 3.5 minutes? Round to the nearest thousandth.
Diversified manufacturing company headquartered : Cinnamon, Inc. is a diversified manufacturing company headquartered in the United Kingdom. It complies with IFRS. In 2009, Cinnamon held a 19 percent passive equity ownership interest in Cambridge Processing that was classified as available-for-sa..
Approximate probability that the average song length : It is known that song length is not normally distributed. Suppose a sample of 25 songs is taken from the population. What is the approximate probability that the average song length will last more than 5.25 minutes? Round to the nearest thousandth..

Reviews

Write a Review

Econometrics Questions & Answers

  Design a simple econometric research project

Design a simple econometric research project

  Multiplicative decomposition method

Multiplicative decomposition method

  Market for cigarettes

The Australian government administers two programs that affect the market for cigarettes.

  Solve the forecast model

Solve the forecast model

  What are the marginal abatement cost functions

What are the marginal abatement cost functions for each of the two areas? Calculate the loss in the two areas due to over-control (for the rural area) and under-control (for the urban area).

  Write the t statistic for testing the null hypothesis

Explain why this model violates the assumption of no perfect collinearity.  Write the t statistic for testing the null hypothesis

  What is economics system

What is economics system? What are the types of economics system? Briefly explain each type of economics system by giving examples of nations that are close to each type

  Multiple choice questions related to market concentration

Determine when a competitively produced product generates negative externalities in production, the industry will,

  Calculating number of units produced by firm

Assume a company has the following production function: Q = 100 K.5 L1 . Currently, the company hires 1,000 workers and employs 100 units of capital.

  Question about mobile commerce

M-commerce also known as mobile commerce is being lumped in with several strategic internet plans. Explain some of the industries that are likely to use mobile commerce and how it is working for them.

  Calculating the average days past due and average flow time

Auto Data manufactures custom engineering testing machine. The following 5-orders are currently in the design department:

  Mechanism of an english auction and second price auction

Briefly discuss the difference between mechanism of an oral or English auction and a Vickrey or second price auction.

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