Skip to content

Commit ad076fe

Browse files
committed
Remove this redundant constructor
1 parent d390d0d commit ad076fe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Algorithms/MachineLearning/LogisticRegression.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,10 @@ namespace Algorithms.MachineLearning;
99
public class LogisticRegression
1010
{
1111
private double[] weights = [];
12-
private double bias = 0;
12+
private double bias;
1313

1414
public int FeatureCount => weights.Length;
1515

16-
public LogisticRegression()
17-
{
18-
}
19-
2016
/// <summary>
2117
/// Fit the model using gradient descent.
2218
/// </summary>

0 commit comments

Comments
 (0)