now the test suite checks the error. should be easier
It is not easier, Marco. The test suite is filled with noise, and there is no tip on what method to use. Moreover, the last test case goes against what available data provides (which is always monotonically increasing). Even with machine learning, we would not guess the next value using partial and noisy data. If we are trying to classify an animal, but all data is noisy and comes from the animal's tail, it is almost impossible to guess what the animal is.
For any new challengers, know that it is a polynomial that you are looking for and it is NOT a line. All test cases have noise, but they all refer to the same polynomial (an even function). The results were taken from the noiseless polynomial, so there is no need to find an exact number (unless you can somehow discover the polynomial).
is case three and error ? one should specify a method/regression assumptions for such problems.
give nth decimal place of pi
Program an exclusive OR operation with logical operators
Make an awesome ramp for a tiny motorcycle stuntman
Is the Point in a Circle?
Maximum value in a matrix
Find the function 2
frame of the matrix
Distance of the centroids of the balls
Inverse of Hilbert matrix
Given a matrix, return the last eigen value
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office