Commits

Miran Levar  committed ec1108d

Documentation fixes

  • Participants
  • Parent commits d9c46e4

Comments (0)

Files changed (5)

File _multitarget/binary.py

 """
-.. index:: Multi-target Binary Relevance Learner
+.. index:: Binary Relevance Learner
 
 ***************************************
-Multi-target Binary Relevance Learner
+Binary Relevance Learner
 ***************************************
 
 

File _multitarget/chain.py

 """
-.. index:: Multi-target Classifier Chain Learner
+.. index:: Classifier Chain Learner
 
 ***************************************
-Multi-target Classifier Chain Learner
+Classifier Chain Learner
 ***************************************
 
 
     :members:
     :show-inheritance:
 
+
+Ensemble Classifier Chain Learner
+###################################
+
+
 .. index:: Multi-target Ensemble Classifier Chain Learner
 .. autoclass:: Orange.multitarget.chain.EnsembleClassifierChainLearner
     :members:

File _multitarget/neural.py

 Multi-target Neural Network Learner
 ***************************************
 
-additional use cases, for MT data
+Example of multi-target  usage:
 
+.. literalinclude:: ../../_multitarget/neural.py
+    :lines: 17-
 """
 
 from Orange.classification.neural import NeuralNetworkLearner, NeuralNetworkClassifier

File docs/rst/Orange.multitarget.neural.rst

+.. automodule:: Orange.classification.neural
+
+
+
 .. automodule:: Orange.multitarget.neural

File docs/rst/code/multitarget.py

 import Orange
-data = Orange.data.Table('multitarget-synthetic')
+data = Orange.data.Table('multitarget:bridges.tab')
 print 'Features:', data.domain.features
 print 'Classes:', data.domain.class_vars
 print 'First instance:', data[0]
 c_majority = mt_majority(data)
 print 'Chain Majority predictions:\n', c_majority(data[0])
 
-pls = Orange.multitarget.pls.PLSRegressionLearner()
+pls = Orange.multitarget.pls.PLSClassificationLearner()
 c_pls = pls(data)
 print 'PLS predictions:\n', c_pls(data[0])
 
-mt_tree = Orange.multitarget.tree.MultiTreeLearner(max_depth=3)
-c_tree = mt_tree(data)
-print 'Multi-target Tree predictions:\n', c_tree(data[0])
-
 clust_tree = Orange.multitarget.tree.ClusteringTreeLearner()
 c_clust_tree = clust_tree(data)
 print 'Clustering Tree predictions: \n', c_clust_tree(data[0])