Package de.fzi.power.regression.r
Class AbstractNonLinearRegression<Q extends javax.measure.quantity.Quantity>
- java.lang.Object
-
- de.fzi.power.regression.r.AbstractRegression<Q>
-
- de.fzi.power.regression.r.AbstractNonLinearRegression<Q>
-
- Direct Known Subclasses:
NonLinearSquaresRegression
,RobustNonLinearSquaresRegression
public abstract class AbstractNonLinearRegression<Q extends javax.measure.quantity.Quantity> extends AbstractRegression<Q>
-
-
Field Summary
-
Fields inherited from class de.fzi.power.regression.r.AbstractRegression
DATA_FRAME_NAME, FIT_FNC, measurements, R_ACCESSOR, R_ADDITIONAL_COMMAND, R_ASSIGNMENT_OPERATOR, R_BLOCK_END, R_COMMAND_POSTFIX, R_PARAM_SEPARATOR, R_REGRESSION_RELATIONHSIP_OPERATOR, R_START_PARAM_NAME_ASSIGN, R_START_VALUE_ASSIGNMENT_OPERATOR, R_START_VALUES_BLOCK, R_TARGET_NAME, targetMetric
-
-
Constructor Summary
Constructors Constructor Description AbstractNonLinearRegression(org.vedantatree.expressionoasis.expressions.Expression expression, List<VariableMeasurements> measurements, List<ConstantModelParameter<?,? extends javax.measure.quantity.Quantity>> constants, TargetMeasurements targetMetric)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Class<?>,ExportTripleProvider<String>>
createRCompatibleExportVisitorConfiguration()
List<DoubleModelParameter<? extends javax.measure.quantity.Quantity>>
deriveParameters()
File
generateVectorPlot(int graphicsWidth, int graphicsHeight, int fontSize)
protected String
getAdditionalParameters()
Double
getAIC()
String
getFormula()
Iterable<String>
getRequiredPackages()
-
Methods inherited from class de.fzi.power.regression.r.AbstractRegression
constructModel, getFunctionName
-
-
-
-
Constructor Detail
-
AbstractNonLinearRegression
public AbstractNonLinearRegression(org.vedantatree.expressionoasis.expressions.Expression expression, List<VariableMeasurements> measurements, List<ConstantModelParameter<?,? extends javax.measure.quantity.Quantity>> constants, TargetMeasurements targetMetric)
-
-
Method Detail
-
deriveParameters
public List<DoubleModelParameter<? extends javax.measure.quantity.Quantity>> deriveParameters()
-
getFormula
public String getFormula()
- Specified by:
getFormula
in classAbstractRegression<Q extends javax.measure.quantity.Quantity>
-
createRCompatibleExportVisitorConfiguration
public Map<Class<?>,ExportTripleProvider<String>> createRCompatibleExportVisitorConfiguration()
-
generateVectorPlot
public File generateVectorPlot(int graphicsWidth, int graphicsHeight, int fontSize) throws IOException
- Throws:
IOException
-
getRequiredPackages
public Iterable<String> getRequiredPackages()
- Specified by:
getRequiredPackages
in classAbstractRegression<Q extends javax.measure.quantity.Quantity>
-
getAdditionalParameters
protected String getAdditionalParameters()
- Specified by:
getAdditionalParameters
in classAbstractRegression<Q extends javax.measure.quantity.Quantity>
-
getAIC
public Double getAIC()
-
-