summaryrefslogtreecommitdiff
path: root/views/lazar_algorithm.haml
blob: 76a993b8017fc79c15c94e07a8505c3942fc86d2 (plain)
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
%dl#lazar_algorithm
  %dt
    %code lazar
    prediction
    (
    = hide_link "#lazar_algorithm"
    )
  %dd 
    %p
      %code lazar
      searches the training dataset for  
      = toggle_link "#similarity", "similar"
      compounds 
      %em (neighbors)
      and calculates the prediction from their measured activities.
      %code lazar
      calculates predictions using
      %ul
        %li
          a majority vote (weighted by compound similarity) for
          %em classification
          (
          %a{:href => "http://www.in-silico.de/articles/modi020905.pdf", :rel => "external"} original publication
          )
        %li
          a local QSAR model based on neighbors for
          %em regression
          (
          %a{:href => "http://www.in-silico.de/articles/mh_tf.pdf", :rel => "external"} original publication
          )

    %p
      = toggle_link "#significant_fragments", "Significant fragments"
      are highlighted in the structure display as follows:
      - if @value_map.empty?
        %ul
          %li
            .active activating fragments
          %li
            .inactive deactivating fragments 
          %li
            .inconclusive regions, where activating and deactivating fragments overlap
          %li
            .other inert parts
      - else
        %ul
          %li
            .active= "features that occur predominately in compounds with activity: \"#{@value_map[@value_map.keys.sort.last]}\""
          %li
            .inactive= "features that occur predominately in compounds with activity: \"#{@value_map[@value_map.keys.sort.first]}\""
          %li
            .inconclusive regions, where fragments from different classes overlap
          %li
            .other inert parts
      - if @value_map.size > 2
        .notice Incomplete implementation of feature highlighting and display of significant fragments. Only features for 2 classes are shown!


    %p
      Please keep in mind that predictions are based on the measured activities of neighbors. 
      = toggle_link "#significant_fragments", "Significant fragments"
      are solely used to determine 
      = toggle_link "#similarity", "activity specific similarities"
      of neighbors.