Ignore:
Timestamp:
02/24/12 19:03:05 (2 years ago)
Author:
Lan Zagar <lan.zagar@…>
Branch:
default
rebase_source:
f33a19bc2bfc8f52ac2e2928e53df9fb37f5b9ab
Message:

Some more code style and doc improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/regression/pls.py

    r10330 r10367  
    4141 
    4242To predict values for the first two data instances 
    43 use the followin code  
     43use the following code:  
    4444 
    4545.. literalinclude:: code/pls-example.py 
    4646    :lines: 16-20 
    4747 
    48 Output 
    49  
    50 :: 
     48Output:: 
    5149 
    5250    Actual     [<orange.Value 'Y1'='0.490'>, <orange.Value 'Y2'='1.237'>, <orange.Value 'Y3'='1.808'>, <orange.Value 'Y4'='0.422'>] 
     
    5755 
    5856To see the coefficient of the model (in this case they are stored in a matrix) 
    59 print the model 
     57print the model: 
    6058 
    6159.. literalinclude:: code/pls-example.py 
    6260    :lines: 22 
    6361 
    64 The ouptut looks like 
    65  
    66 :: 
     62The ouptut looks like this:: 
    6763 
    6864    Regression coefficients: 
Note: See TracChangeset for help on using the changeset viewer.