PSMath.Format.ps1xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8" ?>
 
<Configuration>
    <ViewDefinitions>
        <View>
            <Name>Accord.Statistics.Analysis.LogisticRegressionAnalysis</Name>
            <ViewSelectedBy>
                <TypeName>Accord.Statistics.Analysis.LogisticRegressionAnalysis</TypeName>
            </ViewSelectedBy>
            <CustomControl>
                <CustomEntries>
                    <CustomEntry>
                        <CustomItem>
                            <ExpressionBinding>
                                <ScriptBlock>
(($_.Coefficients | Format-Table Name, Value, OddsRatio, StandardError, Wald, LikelihoodRatio | Out-String) -Replace "(\r?\n)+", "`n" ) +
(($_ | Format-List NumberOfSamples, LogLikelihood, Deviance, @{ l = "AIC"; e = { $_.Deviance + 2 * ($_.Inputs.Count + 1) } } | Out-String) -Replace "(\r?\n)+", "`n" -Replace "(\r?\n)$", "")
                                </ScriptBlock>
                            </ExpressionBinding>
                        </CustomItem>
                    </CustomEntry>
                </CustomEntries>
            </CustomControl>
        </View>
 
        <View>
            <Name>Horker.Math.Matrix</Name>
            <ViewSelectedBy>
                <TypeName>Horker.Math.Matrix</TypeName>
            </ViewSelectedBy>
            <CustomControl>
                <CustomEntries>
                    <CustomEntry>
                        <CustomItem>
                            <ExpressionBinding>
                                <ScriptBlock>
                                    $_.AsString()
                                </ScriptBlock>
                            </ExpressionBinding>
                        </CustomItem>
                    </CustomEntry>
                </CustomEntries>
            </CustomControl>
        </View>
    </ViewDefinitions>
</Configuration>