answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
suter [353]
2 years ago
14

Suppose you have a dataset with m = 50m=50 examples and n = 200000n=200000 features for each example. You want to use multivaria

te linear regression to fit the parameters \thetaθ to our data. Should you prefer gradient descent or the normal equation?
Mathematics
1 answer:
Kamila [148]2 years ago
3 0

Answer:

Step-by-step explanation:

Consider X to be the matrix whose columns are the values for our 50 examples. The normal equation gives us the values of \theta in the following way

\theta = (X^{T}X)^{-1}X^{T}y

The matrix X^{T}X however, might not be invertible when m\leq n. So we must use the pseudo inverse to solve the problem. For a big number of features, calculating the pseudoinverse might be computational expensive. So, gradient descent should be prefered.

You might be interested in
Before she started hiking, Jessica’s altimeter read +250 meters. She climbed 200 meters and reached point A, which is at an elev
valentinak56 [21]
At point A, the reading on the altimeter is 450; at point B, it's negative 50. Was there a typo here? It's not clear what the question is.
5 0
2 years ago
Read 2 more answers
5. A metal ornament is being designed such that its perimeter is created by four identical three-quarter circles
Mnenie [13.5K]

Answer:

(a) 12π in

(b) 53.5 in

(c) 96 grams

Step-by-step explanation:

In the figure attached, the ornament is shown

(a) four three-quarter circles is equivalent to 4*3/4 = 3 circles. The perimeter of a circle is the total length of the circular portions.

Perimeter of each circle: 2*π*r

The radius is 2 in long, then for 3 circles:

Perimeter = 3*2*π*2 = 12π in

(b) Perimeter of square: 4*side length

The side length of the square is 4 in, then:

Total length of wire needed = 4*4 + 12π = 53.5 in

(c) The wire weighs 1.8 grams per inch, then:

total weight of the ornament = 1.8 grams/in * 53.5 in = 96 grams

4 0
2 years ago
2. Tennis rackets can be packaged in cartons holding 2 rackets cach or in
Liula [17]

Answer:

There were 14 cartons of size 2 rackets and 24 cartons of size 3 rackets

Step-by-step explanation:

Assume that the number of cartons holding 2 rackets is x and the number of cartons holding 3 rackets is y

∵ There are x cartons of 2 rackets

∵ There are y cartons of 3 rackets

∵ They used 38 cartons

∴ x + y = 38 ⇒ (1)

∵ They packed a total of 100 rackets

∴ 2x + 3y = 100 ⇒ (2)

Let us solve the system of equations

→ Multiply equation (1) by -2 to make the coefficients of x in

   the equations equal in values and different is signs

∵ -2(x) + -2(y) = -2(38)

∴ -2x - 2y = -76 ⇒ (3)

→ Add equations (2) and (3)

∴ y = 24

→ Substitute the value of y in equation (1) or (2) to find x

∵ x + 24 = 38

→ Subtract 24 from both sides

∴ x + 24 - 24 = 38 - 24

∴ x = 14

There were 14 cartons of size 2 rackets and 24 cartons of size 3 rackets

7 0
2 years ago
The perimeter of a pool table is about 7.8m. four times the length equals nine times the width. What are the dimensions of the t
Nana76 [90]

The pool's dimension are  l = 2.7 m and w = 1.2 m

Step-by-step explanation:

Step 1 :

Given

The pool's perimeter = 7.8 m

Four times the pool's length = nine times the pool's width.

=> 4l = 9w  => l = (\frac{9}{4}) w

Where l is the pool's length and w is the pool's width

Step 2:

The rectangle's formula for perimeter is 2 (l+w)

Substituting l = (\frac{9}{4}) w ,

2[ (\frac{9}{4}) w + w]  = 7.8 (given)

(\frac{13}{2}) w  = 7.8 = > w = 1.2 m

Step 3 :

l = (\frac{9}{4}) w = (\frac{9}{4}) 1.2 = 2.7

l = 2.7 m

Step 4 :

Answer :

The pool's dimension are  l = 2.7 m and w = 1.2 m

6 0
2 years ago
Gary buried a time capsule in his backyard so that the top of the capsule was 1.81.81, point, 8 meters underground. He covered t
topjm [15]

Answer:

The sign is buried 0.60 of a meter below the ground.

Step-by-step explanation:

7 0
2 years ago
Other questions:
  • Manuel has 15 goldfish. This is 6 more than Quinn has. How many goldfish does a Quinn have?
    13·1 answer
  • Mandy drives to work every day. The distance she travels is given by the equation d = 4.5t, where d is the distance traveled and
    14·2 answers
  • 9x^2 - 42x + 49= 64 can this be the area of a squere?
    9·2 answers
  • A kilogram is about 2.2pounds. A cube of water 30cm on edge weighs about how many pounds?
    10·1 answer
  • Which translation maps the vertex of the graph of the function f(x) = x2 onto the vertex of the function g(x) = x2 – 10x +2?
    11·1 answer
  • Graph g(x), where f(x) = 4x − 2 and g(x) = f(x + 1)
    13·1 answer
  • There are 16 chocolates on a plate and 5 of them are made with dark chocolate. If you pick one, what is the probability that it
    8·1 answer
  • 11. Braydon buys a new CD and pays 8% sales tax. If the sales tax is $1.20, calculate
    6·1 answer
  • Which table shows a function that is decreasing only over the interval (–1, 1)? A 2-column table with 5 rows. The first column i
    5·2 answers
  • A cosine function has been reflected over the x-axis and horizontally compressed by a factor of One-third
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!