PolynomialRegression Class 
Namespace: Accord.Statistics.Models.Regression.Linear
[SerializableAttribute] public class PolynomialRegression : TransformBase<double, double>, ILinearRegression, IFormattable
The PolynomialRegression type exposes the following members.
Name  Description  

PolynomialRegression 
Creates a new Polynomial Linear Regression.
 
PolynomialRegression(Int32) 
Creates a new Polynomial Linear Regression.
 
PolynomialRegression(MultipleLinearRegression) 
Creates a new Polynomial Linear Regression.

Name  Description  

Coefficients  Obsolete.
Gets the coefficients of the polynomial regression,
with the first being the higherorder term and the last
the intercept term.
 
Degree 
Gets the degree of the polynomial used by the regression.
 
Intercept 
Gets or sets the intercept value for the regression.
 
NumberOfInputs 
Gets the number of inputs accepted by the model.
(Inherited from TransformBaseTInput, TOutput.)  
NumberOfOutputs 
Gets the number of outputs generated by the model.
(Inherited from TransformBaseTInput, TOutput.)  
Weights 
Gets or sets the linear weights of the regression model. The
intercept term is not stored in this vector, but is instead
available through the Intercept property.

Name  Description  

CoefficientOfDetermination(Double, Double) 
Gets the coefficient of determination, as known as R² (rsquared).
 
CoefficientOfDetermination(Double, Double, Boolean) 
Gets the coefficient of determination, as known as R² (rsquared).
 
Compute(Double)  Obsolete.
Computes the regressed model output for the given input.
 
Compute(Double)  Obsolete.
Computes the regressed model output for the given inputs.
 
Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
Finalize  Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)  
FromData 
Creates a new polynomial regression directly from data points.
 
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)  
Regress  Obsolete.
Performs the regression using the input and output
data, returning the sum of squared errors of the fit.
 
ToString 
Returns a System.String representing the regression.
(Overrides ObjectToString.)  
ToString(IFormatProvider) 
Returns a System.String representing the regression.
 
ToString(String) 
Returns a System.String representing the regression.
 
ToString(String, IFormatProvider) 
Returns a System.String representing the regression.
 
Transform(TInput) 
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
(Inherited from TransformBaseTInput, TOutput.)  
Transform(Double) 
Applies the transformation to an input, producing an associated output.
(Overrides TransformBaseTInput, TOutputTransform(TInput).)  
Transform(TInput, TOutput) 
Applies the transformation to an input, producing an associated output.
(Inherited from TransformBaseTInput, TOutput.) 
Name  Description  

HasMethod 
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)  
ToT  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)  
ToT  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by Matrix.) 