~ubuntu-branches/ubuntu/raring/weka/raring

« back to all changes in this revision

Viewing changes to weka/classifiers/mi/supportVector/MIRBFKernel.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner, Soeren Sonnenburg, Torsten Werner
  • Date: 2008-08-10 21:27:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080810212705-tr8etpnkdx2ziktp
Tags: 3.5.8-1
[ Soeren Sonnenburg ]
* Bump Standards Version to 3.8.0.
* Remove references to non-free Java in debian/copyright.

[ Torsten Werner ]
* new upstream release
* Switch to openjdk-6.
* Move package to main.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import weka.core.Instance;
28
28
import weka.core.Instances;
29
29
import weka.core.MultiInstanceCapabilitiesHandler;
 
30
import weka.core.RevisionUtils;
30
31
import weka.core.Capabilities.Capability;
31
32
 
32
33
/**
47
48
 *  (default: checks on)</pre>
48
49
 * 
49
50
 * <pre> -C &lt;num&gt;
50
 
 *  The size of the cache (a prime number).
 
51
 *  The size of the cache (a prime number), 0 for full cache and 
 
52
 *  -1 to turn it off.
51
53
 *  (default: 250007)</pre>
52
54
 * 
53
55
 * <pre> -G &lt;num&gt;
61
63
 * @author Stuart Inglis (stuart@reeltwo.com) (sparse vector code)
62
64
 * @author J. Lindgren (jtlindgr{at}cs.helsinki.fi) (RBF kernel)
63
65
 * @author Lin Dong (ld21@cs.waikato.ac.nz) (MIkernel)
64
 
 * @version $Revision: 1.2 $ 
 
66
 * @version $Revision: 1.4 $ 
65
67
 */
66
68
public class MIRBFKernel 
67
69
  extends RBFKernel
202
204
        m_kernelPrecalc[i][j] = dotProd(insts.instance(j), insts.instance(j));
203
205
    }
204
206
  }
 
207
  
 
208
  /**
 
209
   * Returns the revision string.
 
210
   * 
 
211
   * @return            the revision
 
212
   */
 
213
  public String getRevision() {
 
214
    return RevisionUtils.extract("$Revision: 1.4 $");
 
215
  }
205
216
}
 
217