Commits

Aleš Erjavec committed 17b1758

Small fix for RFE documentation.

  • Participants
  • Parent commits 40b5a91

Comments (0)

Files changed (1)

File Orange/classification/svm/__init__.py

 
 
 class RFE(object):
-
-    """Iterative feature elimination based on weights computed by
+    """
+    Iterative feature elimination based on weights computed by a
     linear SVM.
 
-    Example::
+    Example:
 
         >>> table = Orange.data.Table("promoters.tab")
         >>> svm_l = Orange.classification.svm.SVMLearner(
 
     def __init__(self, learner=None):
         """
-        :param learner: A linear svm learner for use with
-            :class:`ScoreSVMWeights`.
+        :param learner: A linear svm learner for use for scoring (this
+            learner is passed to :class:`ScoreSVMWeights`)
+
+        :type learner: :class:`LinearSVMLearner` or :class:`SVMLearner` with
+            linear kernel
+
+        .. seealso:: :class:`ScoreSVMWeights`
 
         """
         self.learner = learner