. Show that the algorithm just described satisfies the requirements for being a RP solver for ERMH.

1. On the basis of the preceding, prove that for any ≥ 3, the ERMHnk problem is NP-hard.

2 In this exercise we show that hardness of solving the ERM problem is equivalent to hardness of proper PAC learning. Recall that by “properness” of the algorithm we mean that it must output a hypothesis from the hypothesis class. To formalize this statement, we first need the following definition. Definition 8.2. The complexity class Randomized Polynomial (RP) time is the class of all decision problems (that is, problems in which on any instance one has to find out whether the answer is YES or NO) for which there exists a probabilistic algorithm (namely, the algorithm is allowed to flip random coins while it is running) with these properties: _ On any input instance the algorithm runs in polynomial time in the input size. _ If the correct answer is NO, the algorithm must return NO. _ If the correct answer is YES, the algorithm returns YES with probability ≥1/2 and returns NO with probability 1−a.1

Clearly the class RP contains the class P. It is also known that RP is contained in the class NP. It is not known whether any equality holds among these three complexity classes, but it is widely believed that NP is strictly larger than RP. In particular, it is believed that NP-hard problems cannot be solved by a randomized polynomial time algorithm. _ Show that if a class is properly PAC learnable by a polynomial time algorithm, then the ERMproblem is in the class RP. In particular, this implies that whenever the ERMproblem is NP-hard (for example, the class of intersections of

halfspaces discussed in the previous exercise), then, unless NP = RP, there exists no polynomial time proper PAC learning algorithm for HHint: Assume you have an algorithm that properly PAC learns a class in

time polynomial in some class parameter as well as in 1/_ and 1. Your goal is to use that algorithm as a subroutine to contract an algorithm for solving the ERMproblem in random polynomial time. Given a training set, ∈ (× {±1}m), and some ∈ whose error on is zero, apply the PAC learning algorithm to the uniform distribution over and run it so that with probability ≥ 0.3 it finds a function that has error less than = 1/|S| (with respect to that uniform distribution). Show that the algorithm just described satisfies the requirements for being a RP solver for ERMH.

 

find the cost of your paper

Name Date Period Genetics Practice Problems

• Name Date Period Genetics Practice Problems #3 – Monohybrid Problems Worksheet 1 Directions: Using the table and rules below, complete Table 2: If you use a separate sheet of….

Sound propagating in a moving medium is governed by a so-called convected wave equation. Consider the case where the background flow velocity is uniform in the x-direction with velocity V….

Based on the following data given at Table 1 and 2 , determine a) the diameter and b) high of the carbon bed

Air at a flow rate 1.70 m2/h (16 oC, 1 atm) and containing 0.5 mol % ethylene acetate and no water vapor is to be treated with activated carbon with….