org.knime.base.node.mine.bfn.fuzzy.shrink
Class VolumeRuleBasedShrink

java.lang.Object
  extended by org.knime.base.node.mine.bfn.fuzzy.shrink.VolumeRuleBasedShrink
All Implemented Interfaces:
Shrink

public final class VolumeRuleBasedShrink
extends Object
implements Shrink

Calculates the volume loss from the left or right support or core region border to the new value, divided by the support spread d1_i*Prod(i!=k)d2_k/Prod(k)d2_k = d1_i/d2_i.

Author:
Thomas Gabriel, University of Konstanz

Field Summary
 
Fields inherited from interface org.knime.base.node.mine.bfn.fuzzy.shrink.Shrink
SHRINK_KEY, SHRINKS
 
Method Summary
static Shrink getInstance()
           
 double leftCoreLoss(double value, MembershipFunction mem)
          leftCoreLoss(.).
 double leftSuppLoss(double value, MembershipFunction mem)
          leftSuppLoss(.).
 double rightCoreLoss(double value, MembershipFunction mem)
          rightCoreLoss(.).
 double rightSuppLoss(double value, MembershipFunction mem)
          rightSuppLoss(.).
 String toString()
          Returns the string representation VolumeRuleBased for this shrink function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static Shrink getInstance()
Returns:
a new instance of the ShrinkVolumeRuleBased object

leftSuppLoss

public double leftSuppLoss(double value,
                           MembershipFunction mem)
Description copied from interface: Shrink
leftSuppLoss(.).

Specified by:
leftSuppLoss in interface Shrink
Parameters:
value - current value
mem - holds parameter of fuzzy membership function
Returns:
loss normalized loss in volume in the left support region

leftCoreLoss

public double leftCoreLoss(double value,
                           MembershipFunction mem)
Description copied from interface: Shrink
leftCoreLoss(.).

Specified by:
leftCoreLoss in interface Shrink
Parameters:
value - current value
mem - holds parameter of fuzzy membership function
Returns:
loss normalized loss in volume in the left core region

rightSuppLoss

public double rightSuppLoss(double value,
                            MembershipFunction mem)
Description copied from interface: Shrink
rightSuppLoss(.).

Specified by:
rightSuppLoss in interface Shrink
Parameters:
value - current value
mem - holds parameter of fuzzy membership function
Returns:
loss normalized loss in volume in the right support region

rightCoreLoss

public double rightCoreLoss(double value,
                            MembershipFunction mem)
rightCoreLoss(.).

Specified by:
rightCoreLoss in interface Shrink
Parameters:
value - current value
mem - holds parameter of fuzzy membership function
Returns:
loss normalized loss in volume in the right core region

toString

public final String toString()
Returns the string representation VolumeRuleBased for this shrink function.

Overrides:
toString in class Object
Returns:
a name for this shrink function


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.