ShapOptimized
01 Syntax
Microsoft.VisualBasic.Math.Statistics.ShapleyValue.TreeShape.ShapOptimized
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| stdcopy | 1 | Ala C++ std::copy - see http://www.cplusplus.com/reference/algorithm/copy/ (Copies the elements in the range [first,last) into the range beginning at result.) |
| extendPath | 1 | extend our decision path with a fraction of one and zero extensions |
| unwindPath | 1 | undo a previous extension of the decision path |
| unwoundPathSum | 1 | determine what the total permutation weight would be if we unwound a previous extension in the decision path |
| calculateContributions | 1 |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| pathArray | 1 | temporary variables, for use inside recursion - minimizing number of passed parameters |
04 Members
stdcopy(
Int32, Int32, Int32)Ala C++ std::copy - see http://www.cplusplus.com/reference/algorithm/copy/ (Copies the elements in the range [first,last) into the range beginning at result.)
extendPath(
Int32, Int32, Double, Double, Int32)extend our decision path with a fraction of one and zero extensions
Parameters
| Name | Type | Description |
|---|---|---|
uniquePathPtr | Int32 | - |
uniqueDepth | Int32 | - |
zeroFraction | Double | - |
oneFraction | Double | - |
featureIndex | Int32 | - |
unwindPath(
Int32, Int32, Int32)undo a previous extension of the decision path
Parameters
| Name | Type | Description |
|---|---|---|
uniquePathPtr | Int32 | - |
uniqueDepth | Int32 | - |
pathIndex | Int32 | - |
unwoundPathSum(
Int32, Int32, Int32)determine what the total permutation weight would be if we unwound a previous extension in the decision path
Parameters
| Name | Type | Description |
|---|---|---|
uniquePathPtr | Int32 | - |
uniqueDepth | Int32 | - |
pathIndex | Int32 | - |
pathArray
temporary variables, for use inside recursion - minimizing number of passed parameters
calculateContributions()