Receives a dispath value method
and data matrix like [[x-1a x-1b x-1c...x-1z y-1]... [x-na x-nb x-nc...x-nz y-n]] with features and outputs
And generates betas list like [b-0 b-a..b-z] using linear regression which can be used to predict output for any input [x-a...x-z]
Like Y = b-0 * 1 + b-a * x-a + .... + b-z * x-z
Receives a dispath value `method` and data matrix like [[x-1a x-1b x-1c...x-1z y-1]... [x-na x-nb x-nc...x-nz y-n]] with features and outputs And generates betas list like [b-0 b-a..b-z] using linear regression which can be used to predict output for any input [x-a...x-z] Like Y = b-0 * 1 + b-a * x-a + .... + b-z * x-z
(generate-input-matrix data)
Receives a data matrix like [[x-1a x-1b x-1c...x-1z y-1]... [x-na x-nb x-nc...x-nz y-n]] with features and outputs And generates an input matrix like [[1 x-1a x-1b x-1c...x-1z]... [1 x-na x-nb x-nc...x-nz]]
Receives a data matrix like [[x-1a x-1b x-1c...x-1z y-1]... [x-na x-nb x-nc...x-nz y-n]] with features and outputs And generates an input matrix like [[1 x-1a x-1b x-1c...x-1z]... [1 x-na x-nb x-nc...x-nz]]
(generate-output-matrix data)
Receives a data matrix like [[x-1a x-1b x-1c...x-1z y-1]... [x-na x-nb x-nc...x-nz y-n]] with features and outputs And generates an output matrix like [[y-1]... [y-n]]
Receives a data matrix like [[x-1a x-1b x-1c...x-1z y-1]... [x-na x-nb x-nc...x-nz y-n]] with features and outputs And generates an output matrix like [[y-1]... [y-n]]
(predict betas inputs)
Predicts output value for a set of features [x-a...x-z] Given the beta values [b-0 b-a...b-z] for the training data
Predicts output value for a set of features [x-a...x-z] Given the beta values [b-0 b-a...b-z] for the training data
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close