-
Notifications
You must be signed in to change notification settings - Fork 4
LinearRegressionModel
Barry Stahl edited this page Jan 13, 2025
·
2 revisions
This c# solution demonstrates the train/test/predict cycle for the simplest possible AI model, a linear regression with 1 input, and 1 output neuron. This combination of a single weighted input (M) and a single bias (B) on the output results in the equation Y = mX + B
, the linear equation that is the foundation of all neural networks.
Since this is a simple linear regression, there is no need for an activation function in this example.