-
Notifications
You must be signed in to change notification settings - Fork 0
/
GLOBALS.html
116 lines (114 loc) · 6.23 KB
/
GLOBALS.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>GLOBALS.py</title>
<link rel="stylesheet" href="pycco.css">
</head>
<body>
<div id='container'>
<div id="background"></div>
<div class='section'>
<div class='docs'><h1>GLOBALS.py</h1></div>
</div>
<div class='clearall'>
<div class='section' id='section-0'>
<div class='docs'>
<div class='octowrap'>
<a class='octothorpe' href='#section-0'>#</a>
</div>
<p><img
src="https://avatars0.githubusercontent.com/u/23156192?v=3&s=200"
align=right
width=70>
<em>Just another <a href="http://ttv1.github.com">Timm Tool</a>.</em>
<br clear=all></p>
<hr />
<p>our = options(
"python smore.py",</p>
</div>
<div class='code'>
<div class="highlight"><pre><span class="n">Timm</span> <span class="n">Tools</span><span class="p">:</span> <span class="n">misc</span> <span class="n">python</span> <span class="n">methods</span> <span class="p">(</span><span class="n">data</span> <span class="n">mining</span><span class="p">,</span> <span class="n">optimization</span><span class="p">)</span><span class="o">.</span>
<span class="p">(</span><span class="n">C</span><span class="p">)</span> <span class="mi">2016</span><span class="p">,</span><span class="mi">2017</span> <span class="n">Tim</span> <span class="n">Menzies</span><span class="p">,</span> <span class="n">George</span> <span class="n">Mathews</span> <span class="n">MIT</span><span class="p">,</span> <span class="n">v2</span><span class="o">.</span>
<span class="n">The</span> <span class="n">stuff</span> <span class="n">we</span> <span class="n">can</span> <span class="n">use</span> <span class="ow">is</span> <span class="n">either</span> <span class="n">simple</span><span class="p">,</span> <span class="ow">or</span> <span class="ow">not</span> <span class="n">at</span> <span class="nb">all</span><span class="o">.</span><span class="s">""",</span>
<span class="s"> "",</span>
<span class="s"> all=[</span>
<span class="s"> "Misc options."</span>
<span class="s"> ,h("disable 'ok' functions while loading", brave = False)</span>
<span class="s"> ,h("run all tests", egs= False)</span>
<span class="s"> ,h("show import dependencies", depends= False)</span>
<span class="s"> ,h("found for flags", rounding= 3)</span>
<span class="s"> ,h("verbose level (0=silent)", verbose= [0,1,2,3])</span>
<span class="s"> ],</span>
<span class="s"> maths=[</span>
<span class="s"> "misc maths stuff"</span>
<span class="s"> ,h("set random number seed", seed=1)</span>
<span class="s"> ],</span>
<span class="s"> thing=[</span>
<span class="s"> "Incrementally sample data."</span>
<span class="s"> ,h("set character marking unknowns",unknown="?")</span>
<span class="s"> ],</span>
<span class="s"> sample=[</span>
<span class="s"> "Keeping and analyzing (some) raw data"</span>
<span class="s"> ,h("samples per column", samples= 512)</span>
<span class="s"> ,h("small effect (Cliff's delta)", cliffs= [0.147, 0.33, 0.474][0])</span>
<span class="s"> ,h("bootstrap repeats", b=1000)</span>
<span class="s"> ,h("recursive bi-cluster, epsilon", epsilon=0)</span>
<span class="s"> ,h("recursive bi-cluster, enough" , enough=0.5)</span>
<span class="s"> ,h("recrusive bi-cluster, trival" , trivial=1.01)</span>
<span class="s"> ],</span>
<span class="s"> num=[</span>
<span class="s"> "Numeric samples"</span>
<span class="s"> ,h("Cohen's d", d=0.3)</span>
<span class="s"> ,h("</span><span class="si">%s</span><span class="s">tatistically confidence", conf=95)</span>
<span class="s"> ,h("Hedges' test threshold", hedges=0.38)</span>
<span class="s"> ],</span>
<span class="s"> sym=[</span>
<span class="s"> "Samples of symbols."</span>
<span class="s"> ,h("bayesian k", k= 1)</span>
<span class="s"> ,h("bayesian m", m= 2)</span>
<span class="s"> ],</span>
<span class="s"> groups=[</span>
<span class="s"> "Groupings of distance"</span>
<span class="s"> ,h("distance power", f = 2)</span>
<span class="s"> ,h("distance columns", cols = ["objs","decs"])</span>
<span class="s"> ,h("cull factor", cull = 0.5)</span>
<span class="s"> ,h("smallest group size", minGroup = 30)</span>
<span class="s"> ,h("split redos", splitRedo = 20) </span>
<span class="s"> ,h("split bigger", splitBigger= 0.1) </span>
<span class="s"> ]</span>
<span class="s">)</span>
<span class="s">if __name__ == "__main__":</span>
<span class="s"> print("cull",our.groups.cull)</span>
<span class="s"> print("verbose",our.all.verbose)</span>
<span class="s"> print(our.all)</span>
<span class="s">#DIVIDER</span>
</pre></div>
</div>
</div>
<div class='clearall'></div>
<div class='section' id='section-1'>
<div class='docs'>
<div class='octowrap'>
<a class='octothorpe' href='#section-1'>#</a>
</div>
<hr />
<h2>Copyleft</h2>
<p><img align=right
src="https://s-media-cache-ak0.pinimg.com/236x/9f/6d/3f/9f6d3f9e606fc448b5f781391e4cb3c3.jpg"
width=170>
Copyright © 2016 Tim Menzies <a href="mailto:tim@menzies.us">tim@menzies.us</a></p>
<p>This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The F*ck You Want
To Public License, Version 2, as published by Sam Hocevar. See
<a href="http://www.wtfpl.net">http://www.wtfpl.net</a> for more details.</p>
<p>Share and enjoy.</p>
</div>
<div class='code'>
<div class="highlight"><pre></pre></div>
</div>
</div>
<div class='clearall'></div>
</div>
</body>