source: src/main/java/weka/classifiers/lazy/kstar/KStarWrapper.java @ 13

Last change on this file since 13 was 4, checked in by gnappo, 14 years ago

Import di weka.

File size: 1.8 KB
Line 
1/*
2 *    This program is free software; you can redistribute it and/or modify
3 *    it under the terms of the GNU General Public License as published by
4 *    the Free Software Foundation; either version 2 of the License, or
5 *    (at your option) any later version.
6 *
7 *    This program is distributed in the hope that it will be useful,
8 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
9 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 *    GNU General Public License for more details.
11 *
12 *    You should have received a copy of the GNU General Public License
13 *    along with this program; if not, write to the Free Software
14 *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
15 */
16
17/**
18 *    KStarWrapper.java
19 *    Copyright (C) 1995 Univeristy of Waikato
20 *    Java port to Weka by Abdelaziz Mahoui (am14@cs.waikato.ac.nz).
21 *
22 */
23
24package weka.classifiers.lazy.kstar;
25
26import weka.core.RevisionHandler;
27import weka.core.RevisionUtils;
28
29/*
30 * @author Len Trigg (len@reeltwo.com)
31 * @author Abdelaziz Mahoui (am14@cs.waikato.ac.nz)
32 * @version $Revision 1.0 $
33 */
34public class KStarWrapper
35  implements RevisionHandler {
36
37  /** used/reused to hold the sphere size */
38  public double sphere = 0.0;
39
40  /** used/reused to hold the actual entropy */
41  public double actEntropy = 0.0;
42
43  /** used/reused to hold the random entropy */
44  public double randEntropy = 0.0;
45
46  /** used/reused to hold the average transformation probability */
47  public double avgProb = 0.0;
48
49  /** used/reused to hold the smallest transformation probability */
50  public double minProb = 0.0;
51 
52  /**
53   * Returns the revision string.
54   *
55   * @return            the revision
56   */
57  public String getRevision() {
58    return RevisionUtils.extract("$Revision: 1.7 $");
59  }
60
61}
Note: See TracBrowser for help on using the repository browser.