File: TREE

package info (click to toggle)
pymvpa 0.4.5~dev23-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 6,884 kB
  • ctags: 3,480
  • sloc: python: 25,450; cpp: 2,663; ansic: 445; makefile: 426; sh: 194
file content (56 lines) | stat: -rw-r--r-- 1,381 bytes parent folder | download | duplicates (3)
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
XXX Dataset might need to get labelweights parameter which could be
    used by some classifiers

Mapper                              Dataset (S1)
  |                                    \- appendtohistory(item)
  | \-ICAMapper          \             |
MaskMapper                \-------  MappedDataset (S1, Mapper)
   \ forward(ndarray)                  |
                                    MaskedDataset (S1, mask)
									   |
								  NiftiDataset

Splitter                               ErrorFunction
  |                                         |
NFoldSplitter(S2)                     CrossValidation
     \ call(dataset)



   Clf  (LinearSVM)
  train          \- weights 
  predict
      |
 BoostedClassifier    


 Clf  <- optimizeClassifier(optimizer, clf, parameter_to_optimize)



default combiner = average

 OptimizerAlgorithm
      |
 LineSearchOptimizer   GridSearch   FeatureStrip(SensitivityAnalyzer)
                                       after train return ErrorFunction, sensitivity, 


 Optimizer
      |
   ParameterOptimizer(optimizeralgorithm, parameter, classifier)
   BoostedOptimizer(splitter, optimizer)
   

# NOTES

Sensitivity -> RankList (N.argsort)

sens <- Combine
dataset <- selectImportantFeature

RFE(dataset, sensAnalyzer):
do
  sens <- sensAnalyzer(dataset)
  dataset <- selectImportantFeature(dataset, sens)
until the world collapses into