Ignore:
Timestamp:
02/07/12 22:35:42 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Remove links from documentation to datasets. Remove datasets reference directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/tutorial/rst/discretization.rst

    r9385 r9994  
    3434 
    3535Here is a script which demonstraters the basics of discretization in 
    36 Orange (:download:`disc.py <code/disc.py>`, uses :download:`iris.tab <code/iris.tab>`):: 
     36Orange (:download:`disc.py <code/disc.py>`):: 
    3737 
    3838   import orange 
     
    9696discretized using quartiles (``sl``) and using Fayyad-Irani's 
    9797algorithm (``sl_ent``). We shall also keep the original (continuous) 
    98 attribute ``sepal width`` (from :download:`disc2.py <code/disc2.py>`, uses :download:`iris.tab <code/iris.tab>`):: 
     98attribute ``sepal width`` (from :download:`disc2.py <code/disc2.py>`):: 
    9999 
    100100   def printexamples(data, inxs, msg="First %i examples"): 
     
    180180Both, ``EquiNDiscretization`` and ``EntropyDiscretization`` construct 
    181181transformer objects of type ``IntervalDiscretizer``. It's cut-off 
    182 points are stored in a list points (:download:`disc4.py <code/disc4.py>`, uses :download:`iris.tab <code/iris.tab>`):: 
     182points are stored in a list points (:download:`disc4.py <code/disc4.py>`):: 
    183183 
    184184   import orange 
     
    211211change anything the discretization will actually do to the data. In 
    212212the following example, we have rounded the cut-off points for the 
    213 attribute ``pl`` (:download:`disc5.py <code/disc5.py>`, uses :download:`iris.tab <code/iris.tab>`):: 
     213attribute ``pl`` (:download:`disc5.py <code/disc5.py>`):: 
    214214 
    215215   import orange 
     
    256256 
    257257Let's now discretize Iris' attribute pl using three intervals with 
    258 cut-off points 2.0 and 4.0 (:download:`disc6.py <code/disc6.py>`, uses :download:`iris.tab <code/iris.tab>`):: 
     258cut-off points 2.0 and 4.0 (:download:`disc6.py <code/disc6.py>`):: 
    259259 
    260260   import orange 
     
    299299from their original continuous versions, so you need only to convert 
    300300the testing examples to a new (discretized) domain. Following code 
    301 shows how (:download:`disc7.py <code/disc7.py>`, uses :download:`iris.tab <code/iris.tab>`):: 
     301shows how (:download:`disc7.py <code/disc7.py>`):: 
    302302 
    303303   import orange 
Note: See TracChangeset for help on using the changeset viewer.