Skip to content

Commit d96c00e

Browse files
authored
Merge pull request #1806 from ajdapretnar/update-docs
Update docs
2 parents 66d2f24 + b44c46b commit d96c00e

38 files changed

+298
-143
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,16 @@ e.g.:
9898
orange-canvas
9999

100100

101-
Windows dev setup
102-
-----------------
101+
Compiling on Windows
102+
--------------------
103103

104-
Windows + GCC:
104+
Get appropriate wheels for missing libraries. You will need `numpy+mkl <http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy>`_
105+
and `scipy <http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy>`_.
105106

106-
python setup.py build_ext --inplace --compile=mingw32
107+
Install them with
108+
109+
pip install some-wheel.whl
110+
111+
Install `Visual Studio compiler <http://landinghub.visualstudio.com/visual-cpp-build-tools>`_. Then go to Orange3 folder and run:
112+
113+
python setup.py build_ext -i --compiler=msvc install

doc/visual-programming/source/index.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ Data
2323
:maxdepth: 1
2424

2525
widgets/data/file
26-
widgets/data/sql
26+
widgets/data/sqltable
2727
widgets/data/save
2828
widgets/data/datainfo
2929
widgets/data/datatable
3030
widgets/data/selectcolumns
3131
widgets/data/selectrows
3232
widgets/data/datasampler
33+
widgets/data/transpose
3334
widgets/data/discretize
3435
widgets/data/continuize
3536
widgets/data/concatenate
36-
widgets/data/transpose
3737
widgets/data/paintdata
3838
widgets/data/pythonscript
3939
widgets/data/featureconstructor
@@ -67,6 +67,8 @@ Visualize
6767
widgets/visualize/cn2ruleviewer
6868
widgets/visualize/mosaicdisplay
6969
widgets/visualize/silhouetteplot
70+
widgets/visualize/treeviewer
71+
widgets/visualize/map
7072

7173

7274
Classify
@@ -78,7 +80,6 @@ Classify
7880
widgets/classify/naivebayes
7981
widgets/classify/logisticregression
8082
widgets/classify/classificationtree
81-
widgets/classify/classificationtreeviewer
8283
widgets/classify/knearestneighbours
8384
widgets/classify/loadclassifier
8485
widgets/classify/majority
@@ -121,8 +122,8 @@ Unsupervised
121122
widgets/unsupervised/savedistancematrix
122123
widgets/unsupervised/hierarchicalclustering
123124
widgets/unsupervised/kmeansclustering
124-
widgets/unsupervised/manifoldlearning
125125
widgets/unsupervised/mds
126+
widgets/unsupervised/manifoldlearning
126127

127128

128129
Evaluation

doc/visual-programming/source/widgets/classify/classificationtree.rst

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,21 @@ Signals
3434
Description
3535
-----------
3636

37-
.. figure:: images/ClassificationTree-stamped.png
37+
**Classification Tree** is a simple classification algorithm that splits the data into nodes by class purity. It is a precursor to :doc:`Random Forest <randomforest>`. Classification Tree in Orange is designed in-house and can handle both discrete and continuous data sets.
38+
39+
.. figure:: images/Classification-Tree-stamped.png
3840

3941
1. The learner can be given a name under which it will appear in other
4042
widgets. The default name is "Classification Tree".
4143

42-
2. In *Feature selection*, you can choose a measure for split selection:
43-
44-
- `Entropy <http://www.saedsayad.com/decision_tree.htm>`_
45-
(measure of homogeneity)
46-
- `Gini index <https://en.wikipedia.org/wiki/Gini_coefficient>`_
47-
(measure of dispersion)
48-
49-
3. *Pruning* criteria:
50-
51-
- **Minimal instances in leaves**; if checked, the algorithm will
52-
never construct a split which would put less than the specified
53-
number of training examples into any of the branches.
54-
- **Stop splitting nodes with less instances than** forbids the
55-
algorithm to split the nodes with less than the given number of
56-
instances.
57-
- **Limit the depth** of the classification tree.
58-
59-
4. Produce a report.
44+
2. Tree parameters:
45+
- **Induce binary tree**: build a binary tree (split into two child nodes)
46+
- **Min. number of instances in leaves**: if checked, the algorithm will never construct a split which would put less than the specified number of training examples into any of the branches.
47+
- **Do not split subsets smaller than**: forbids the algorithm to split the nodes with less than the given number of instances.
48+
- **Stop when majority reaches [%]**: stop splitting the nodes after a specified majority threshold is reached
49+
- **Limit the maximal tree depth**: limits the depth of the classification tree to the specified number of node levels.
6050

61-
5. After changing the settings, you need to click *Apply*, which will
51+
3. Produce a report. After changing the settings, you need to click *Apply*, which will
6252
put the new learner in the output and, if the training examples are
6353
given, construct a new classifier and output it as well. Alternatively, tick the box on the left and changes will be communicated automatically.
6454

@@ -68,12 +58,12 @@ Examples
6858
There are two typical uses for this widget. First, you may want to
6959
induce a model and check what it looks like. You do it with the schema
7060
below; to learn more about it, see the documentation on
71-
:doc:`Classification Tree Viewer <classificationtreeviewer>`.
61+
:doc:`Tree Viewer <../visualize/treeviewer>`.
7262

73-
.. figure:: images/ClassificationTreeViewer-SimpleSchema.png
63+
.. figure:: images/Classification-Tree-SimpleSchema.png
7464

75-
The second schema checks the accuracy of the algorithm.
65+
The second schema checks the nodes of the built tree.
7666

77-
.. figure:: images/ClassificationTreeViewer-Interaction.png
67+
.. figure:: images/Classification-Tree-Subset.png
7868

7969
We used the *Iris* data set in both examples.

doc/visual-programming/source/widgets/classify/classificationtreeviewer.rst

Lines changed: 0 additions & 76 deletions
This file was deleted.
Binary file not shown.
29.1 KB
Loading
37 KB
Loading
5.46 KB
Loading
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)