nlp
1.2.0
nlp
/
com.londogard.nlp.meachinelearning.predictors.classifiers
/
LogisticRegression
Logistic
Regression
public
final
class
LogisticRegression
implements
Classifier
Content copied to clipboard
Constructors
Functions
Constructors
Logistic
Regression
Link copied to clipboard
public
LogisticRegression
LogisticRegression
(
GradientDescent
optimizer
)
Content copied to clipboard
Functions
fit
Link copied to clipboard
public
Unit
fit
(
MultiArray
<
Float
,
D2
>
X
,
NDArray
<
Integer
,
D2
>
y
)
Content copied to clipboard
predict
Link copied to clipboard
public
NDArray
<
Integer
,
D2
>
predict
(
MultiArray
<
Float
,
D2
>
X
)
Content copied to clipboard
predict
Proba
Link copied to clipboard
public
final
MultiArray
<
Float
,
D2
>
predictProba
(
MultiArray
<
Float
,
D2
>
X
)
Content copied to clipboard