in Education by
I have a dataset with labels and datapoints, problem is that rather then a classification problem I want to get a linair estimator, for example : dataset=prdataset([2,4,6,8]',[1,2,3,4]') testset=prdataset([3,5,7,9]') classifier=dataset*ldc %should probably be changed? result=testset*classifier result.data now becomes ans = 1.0e-307 * 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 0.2225 which is very wrong. Ideally it would be [1.5,2.5,3.5,4.5]' or something to close to it. Any idea how to do this in PRtools or in something simulair? This is a linair dependancy but I would also like to be able to play around with other types of dependancies? Also it would be a huge bonus of the system was somewhat clever about NaN values which heavily polute my real dataset. I have already found that linearr class but when I use that I get weirdly sized datasets in return, dataset=prdataset([2,4,6,8]',[1,2,3,4]') testset=prdataset([3,5,7,9]') classifier=dataset*linearr%should probably be changed? result=testset*classifier gives me the values 0.1000 -0.3000 -0.7000 -1.1000 -0.5000 -0.5000 -0.5000 -0.5000 -1.1000 -0.7000 -0.3000 0.1000 -1.7000 -0.9000 -0.1000 0.7000 which is again incorrect. In chat they suggested using .* instead of * that resulted in Error using * Inner matrix dimensions must agree. Error in linearr (line 42) beta = prinv(X'*X)*X'*gettargets(x); Error in prmap (line 139) [d, varargout{:}] = feval(mapp,a,pars{:}); Error in * Error in dyadicm (line 81) v1 = a*v1; % train first mapping Error in prmap (line 139) [d, varargout{:}] = feval(mapp,a,pars{:}); Error in * In the linearr code. Just to be clear I'm looking for a way to, given a large set of values find the set of polynomials that best describes their relation (where the polynomials that are considered is a parameter of the program, in the example 1st order). So in our example the polynomial is 1/2a+0. In my final version I want to use a larger number of parameters (10-20) and it may require quadratic estimation. Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
You can use shallow Neural Network to fit the data. A fairly simple neural network can fit any practical function. Suppose, for instance, that you have data from a health clinic. You want to design a network that can predict the percentage of body fat of a person, given 13 anatomical measurements. You have a total of 252 example people for which you have those 13 items of data and their associated percentages of body fat. So, you can solve this problem in two ways: Use a graphical user interface, nftool, as described in https://in.mathworks.com/help/deeplearning/gs/fit-data-with-a-neural-network.html#f9-43356p. Use command-line functions, as described in https://in.mathworks.com/help/deeplearning/gs/fit-data-with-a-neural-network.html#f9-33554 It is generally best to start with the GUI, and then to use the GUI to automatically generate command-line scripts. Before using either method, first define the problem by selecting a data set. Each GUI has access to many sample data sets that you can use to experiment with the toolbox (see Sample Data Sets for Shallow Neural Networks). If you have a specific problem that you want to solve, you can load your own data into the workspace. The next section describes the data format. If you want to be build successful data science career then enroll for best data science certification.

Related questions

0 votes
    I am writing down a simple schedule planner app using WinForms in Visual Basic .NET, and I have this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 3, 2022 in Education by JackTerrance
0 votes
    How to replace the values of NA with zeros in some column and data frame I have? Select the correct answer from above options...
asked Jan 20, 2022 in Education by JackTerrance
0 votes
    Explain Constitution and its three distinct interrelated components. (i) What is a Constitution? (ii) set of rules ... of objectives and values Please answer the above question....
asked Aug 4, 2022 in Education by JackTerrance
0 votes
    I have a distribution of tube radius r, and I would like to plot tubes for all the sampled r in ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    Which of the following should be set on chunk by chunk basis to store results of computation? (a) ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 30, 2021 in Education by JackTerrance
0 votes
    Which of the following analysis is usually modeled by deterministic set of equations? (a) Predictive (b) Causal ... and answers pdf, Data Science interview questions for beginners...
asked Oct 30, 2021 in Education by JackTerrance
0 votes
    Which of the following will set the character that represents missing value? (a) na.quote (b) na. ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following plots are used to check if a data set or time series is random? (a) Lag ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following can be used to generate balanced cross-validation groupings from a set of data? (a ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following argument is used to set importance values? (a) scale (b) set (c) value (d ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following set the floating-point error callback function or log object? (a) setter (b) ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following can also be used to find new variables that are linear combinations of the original set ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following can be used to impute data sets based only on information in the training set? ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    I want to display the label of an input inside its input, so that when I click the input, the ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 3, 2022 in Education by JackTerrance
0 votes
    Why Should I Use Numpy Rather Than Idl, Matlab, Octave, Or Yorick?...
asked Apr 25, 2021 in Technology by JackTerrance
...