For this question, you need to implement a simple linear regression from scratch without using a library. The linear equation that you need to use for this exercise is y=50x+22, which you will use to generate some synthetic data with random variation to make the problem interesting.
Lets discuss more in detail.
To begin, you need to randomly select 20 x values between 0 and 100 using a uniform distribution. To do this, you can use a for loop to iterate through the range of 0 to 100 and randomly select 20 x values.
Once you have your x values, you can then use the linear equation of y=50x+22 to calculate the corresponding y values. Finally, you can use these x and y values to create a linear regression and check if it rounds to the original equation.
Grading criteria: The result of your linear regression should round to the original equation. It is not expected to be perfect.
You can find more detailed steps on how to solve this problem in the sample notebook that will be going over in class. This should get you 80% through problem 1.
Learn more about linear regression.
brainly.com/question/29665935
#SPJ11
you work at a large department store selling computer products. iwina walks in and wants to buy a wireless router. she explains that the media streaming device she ordered online supports a transmission speed of up to 200 mbps. what type of router should you recommend?
If Iwina's media streaming device supports a transmission speed of up to 200 Mbps, I would recommend a wireless router that supports at least 802.11n wireless standard.
What is a 802.11n wireless standard?802.11n is a wireless networking standard that operates on both the 2.4 GHz and 5 GHz frequency bands. It offers higher speeds and greater range compared to earlier wireless standards, and is commonly used in home and small business networks.
Thus, if Iwina's media streaming device supports a transmission speed of up to 200 Mbps, I would recommend a wireless router that supports at least 802.11n wireless standard. This wireless standard supports a theoretical maximum speed of up to 600 Mbps, which should provide enough bandwidth to support Iwina's device. Alternatively, a router that supports the newer 802.11ac wireless standard could also be considered, as it offers even higher theoretical speeds.
Learn more about wireless router on:
https://brainly.com/question/30079964
#SPJ1