public class LMConverter extends ModelConverter<RGenericVector>
| Constructor and Description |
|---|
LMConverter(RGenericVector lm) |
| Modifier and Type | Method and Description |
|---|---|
org.dmg.pmml.Model |
encodeModel(org.jpmml.converter.Schema schema) |
void |
encodeSchema(RExpEncoder encoder) |
protected void |
encodeSchema(RExp terms,
FormulaContext context,
RExpEncoder encoder) |
List<String> |
getCoefficientNames() |
Double |
getFeatureCoefficient(org.jpmml.converter.Feature feature,
RDoubleVector coefficients) |
List<Double> |
getFeatureCoefficients(List<? extends org.jpmml.converter.Feature> features,
RDoubleVector coefficients) |
String |
getInterceptName() |
encode, encodeActiveValues, encodeOutputValues, encodePMML, encodeTargetValues, encodeVerificationData, encodeVerificationDatacreateEncoder, encodePMML, getObject, getOption, getOptions, newConverterpublic static final String INTERCEPT
public LMConverter(RGenericVector lm)
public void encodeSchema(RExpEncoder encoder)
encodeSchema in class ModelConverter<RGenericVector>protected void encodeSchema(RExp terms, FormulaContext context, RExpEncoder encoder)
public org.dmg.pmml.Model encodeModel(org.jpmml.converter.Schema schema)
encodeModel in class ModelConverter<RGenericVector>public String getInterceptName()
public List<Double> getFeatureCoefficients(List<? extends org.jpmml.converter.Feature> features, RDoubleVector coefficients)
public Double getFeatureCoefficient(org.jpmml.converter.Feature feature, RDoubleVector coefficients)
Copyright © 2022. All rights reserved.