Class ParameterPLS
- java.lang.Object
-
- com.actelion.research.calc.regression.ParameterRegressionMethod
-
- com.actelion.research.calc.regression.linear.pls.ParameterPLS
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ParameterRegressionMethod>
- Direct Known Subclasses:
ParameterPLSBoxCox
public class ParameterPLS extends ParameterRegressionMethod
ParameterPLSModest v. Korff
Created by korffmo1 on 06.12.18.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static booleanCENTER_DATAprotected intfactorsstatic intFACTORSstatic java.lang.StringTAG_FACTORS-
Fields inherited from class com.actelion.research.calc.regression.ParameterRegressionMethod
properties, TAG_NAME, TAG_STRING
-
-
Constructor Summary
Constructors Modifier Constructor Description ParameterPLS()ParameterPLS(int factors)ParameterPLS(ParameterPLS p)protectedParameterPLS(java.lang.String name, int factors)For inheritance of BxCox power transformation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ParameterRegressionMethod o)voidcopy(ParameterPLS orig)protected voiddecodeProperties2Parameter()Decodes the properties to the needed variables.booleanequals(java.lang.Object obj)intgetFactors()static java.util.List<java.lang.String>getHeader()booleanisCenterData()static voidmain(java.lang.String[] args)voidread(java.io.File fiProperties)voidsetCenterData(boolean centerData)voidsetFactors(int factors)java.lang.StringtoString()voidwrite(java.io.File fiProperties)-
Methods inherited from class com.actelion.research.calc.regression.ParameterRegressionMethod
copy, getName, getProperties, read, setName, write2String
-
-
-
-
Field Detail
-
FACTORS
public static final int FACTORS
- See Also:
- Constant Field Values
-
TAG_FACTORS
public static final java.lang.String TAG_FACTORS
- See Also:
- Constant Field Values
-
CENTER_DATA
public static final boolean CENTER_DATA
- See Also:
- Constant Field Values
-
factors
protected int factors
-
-
Constructor Detail
-
ParameterPLS
public ParameterPLS()
-
ParameterPLS
public ParameterPLS(int factors)
-
ParameterPLS
public ParameterPLS(ParameterPLS p)
-
ParameterPLS
protected ParameterPLS(java.lang.String name, int factors)For inheritance of BxCox power transformation.- Parameters:
name-factors-
-
-
Method Detail
-
copy
public void copy(ParameterPLS orig)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classParameterRegressionMethod
-
getFactors
public int getFactors()
-
setFactors
public void setFactors(int factors)
-
isCenterData
public boolean isCenterData()
-
setCenterData
public void setCenterData(boolean centerData)
-
decodeProperties2Parameter
protected void decodeProperties2Parameter()
Description copied from class:ParameterRegressionMethodDecodes the properties to the needed variables.- Specified by:
decodeProperties2Parameterin classParameterRegressionMethod
-
compareTo
public int compareTo(ParameterRegressionMethod o)
-
read
public void read(java.io.File fiProperties) throws java.io.IOException- Overrides:
readin classParameterRegressionMethod- Throws:
java.io.IOException
-
write
public void write(java.io.File fiProperties) throws java.io.IOException- Overrides:
writein classParameterRegressionMethod- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getHeader
public static java.util.List<java.lang.String> getHeader()
-
main
public static void main(java.lang.String[] args) throws java.io.IOException- Throws:
java.io.IOException
-
-