[Scipy-svn] r3203 - in trunk/Lib/sandbox: ann pyem svm

scipy-svn at scipy.org scipy-svn at scipy.org
Fri Jul 27 07:31:57 EDT 2007


Author: cdavid
Date: 2007-07-27 06:31:47 -0500 (Fri, 27 Jul 2007)
New Revision: 3203

Modified:
   trunk/Lib/sandbox/ann/__init__.py
   trunk/Lib/sandbox/pyem/__init__.py
   trunk/Lib/sandbox/svm/__init__.py
Log:
deprecate svm and fix typo.

Modified: trunk/Lib/sandbox/ann/__init__.py
===================================================================
--- trunk/Lib/sandbox/ann/__init__.py	2007-07-27 09:42:36 UTC (rev 3202)
+++ trunk/Lib/sandbox/ann/__init__.py	2007-07-27 11:31:47 UTC (rev 3203)
@@ -6,7 +6,7 @@
 """ann has been moved to scikits. Please install
 scikits.learn instead, and change your import to the following:
 
-from scickits.learn.machine import ann.
+from scikits.learn.machine import ann
 
 For informations about scikits, see:
 http://projects.scipy.org/scipy/scikits/""")

Modified: trunk/Lib/sandbox/pyem/__init__.py
===================================================================
--- trunk/Lib/sandbox/pyem/__init__.py	2007-07-27 09:42:36 UTC (rev 3202)
+++ trunk/Lib/sandbox/pyem/__init__.py	2007-07-27 11:31:47 UTC (rev 3203)
@@ -1,11 +1,11 @@
 #! /usr/bin/env python
-# Last Change: Fri Jul 27 12:00 PM 2007 J
+# Last Change: Fri Jul 27 08:00 PM 2007 J
 
 raise ImportError(
 """pyem has been moved to scikits and renamed to em. Please install
 scikits.learn instead, and change your import to the following:
 
-from scickits.learn.machine import em.
+from scikits.learn.machine import em
 
 For informations about scikits, see:
 http://projects.scipy.org/scipy/scikits/""")

Modified: trunk/Lib/sandbox/svm/__init__.py
===================================================================
--- trunk/Lib/sandbox/svm/__init__.py	2007-07-27 09:42:36 UTC (rev 3202)
+++ trunk/Lib/sandbox/svm/__init__.py	2007-07-27 11:31:47 UTC (rev 3203)
@@ -59,6 +59,15 @@
        v = results.predict_values(testdata)
 """
 
+raise ImportError(
+"""svm has been moved to scikits. Please install
+scikits.learn instead, and change your import to the following:
+
+from scikits.learn.machine import svm
+
+For informations about scikits, see:
+http://projects.scipy.org/scipy/scikits/""")
+
 from classification import *
 from regression import *
 from oneclass import *




More information about the Scipy-svn mailing list