public class LogisticRegressionModelData extends Object
LogisticRegressionModelServable
.Modifier and Type | Field and Description |
---|---|
DenseVector |
coefficient |
long |
modelVersion |
Constructor and Description |
---|
LogisticRegressionModelData() |
LogisticRegressionModelData(DenseVector coefficient,
long modelVersion) |
Modifier and Type | Method and Description |
---|---|
void |
encode(OutputStream outputStream)
Serializes the instance and writes to the output stream.
|
public DenseVector coefficient
public long modelVersion
public LogisticRegressionModelData()
public LogisticRegressionModelData(DenseVector coefficient, long modelVersion)
@VisibleForTesting public void encode(OutputStream outputStream) throws IOException
outputStream
- The stream to write to.IOException
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.