﻿ SimpleLinearRegression Methods

# SimpleLinearRegression Methods

The SimpleLinearRegression type exposes the following members.

Methods
NameDescription
CoefficientOfDetermination(Double, Double, Double)
Gets the coefficient of determination, or R² (r-squared).
CoefficientOfDetermination(Double, Double, Boolean, Double)
Gets the coefficient of determination, as known as R² (r-squared).
Compute(Double) Obsolete.
Computes the regression for a single input.
Compute(Double) Obsolete.
Computes the regression output for a given input.
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 linear regression directly from data points.
GetConfidenceInterval
Gets the confidence interval for an input point.
GetDegreesOfFreedom
Gets the degrees of freedom when fitting the regression.
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
GetPredictionInterval
Gets the prediction interval for an input point.
GetPredictionStandardError
Gets the standard error of the prediction for a particular input point.
GetStandardError(Double, Double)
Gets the overall regression standard error.
GetStandardError(Double, Double, Double)
Gets the standard error of the fit for a particular input point.
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.)
Top
Extension Methods
NameDescription
HasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
IsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)