Java Doc for MIEMDD.java in  » Science » weka » weka » classifiers » mi » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » weka » weka.classifiers.mi 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


weka.classifiers.RandomizableClassifier
   weka.classifiers.mi.MIEMDD

MIEMDD
public class MIEMDD extends RandomizableClassifier implements OptionHandler,MultiInstanceCapabilitiesHandler,TechnicalInformationHandler(Code)
EMDD model builds heavily upon Dietterich's Diverse Density (DD) algorithm.
It is a general framework for MI learning of converting the MI problem to a single-instance setting using EM. In this implementation, we use most-likely cause DD model and only use 3 random selected postive bags as initial starting points of EM.

For more information see:

Qi Zhang, Sally A. Goldman: EM-DD: An Improved Multiple-Instance Learning Technique. In: Advances in Neural Information Processing Systems 14, 1073-108, 2001.

BibTeX:

 @inproceedings{Zhang2001,
 author = {Qi Zhang and Sally A. Goldman},
 booktitle = {Advances in Neural Information Processing Systems 14},
 pages = {1073-108},
 publisher = {MIT Press},
 title = {EM-DD: An Improved Multiple-Instance Learning Technique},
 year = {2001}
 }
 

Valid options are:

 -N <num>
 Whether to 0=normalize/1=standardize/2=neither.
 (default 1=standardize)
 -S <num>
 Random number seed.
 (default 1)
 -D
 If set, classifier is run in debug mode and
 may output additional info to the console

author:
   Eibe Frank (eibe@cs.waikato.ac.nz)
author:
   Lin Dong (ld21@cs.waikato.ac.nz)
version:
   $Revision: 1.5 $


Field Summary
final public static  intFILTER_NONE
    
final public static  intFILTER_NORMALIZE
    
final public static  intFILTER_STANDARDIZE
    
final public static  Tag[]TAGS_FILTER
    
protected  Instancesm_Attributes
    
protected  intm_ClassIndex
    
protected  int[]m_Classes
    
protected  double[][][]m_Data
    
protected  Filterm_Filter
     The filter used to standardize/normalize all values.
protected  ReplaceMissingValuesm_Missing
     The filter used to get rid of missing values.
protected  intm_NumClasses
    
protected  double[]m_Par
    
protected  double[][]m_emData
    
protected  intm_filterType
    
final static  longserialVersionUID
    


Method Summary
public  voidbuildClassifier(Instances train)
    
public  double[]distributionForInstance(Instance exmp)
    
public  StringfilterTypeTipText()
    
protected  intfindInstance(int i, double[] x)
    
public  CapabilitiesgetCapabilities()
     Returns default capabilities of the classifier.
public  SelectedTaggetFilterType()
     Gets how the training data will be transformed.
public  CapabilitiesgetMultiInstanceCapabilities()
     Returns the capabilities of this multi-instance classifier for the relational data.
public  String[]getOptions()
     Gets the current settings of the classifier.
public  TechnicalInformationgetTechnicalInformation()
     Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.
public  StringglobalInfo()
    
public  EnumerationlistOptions()
    
public static  voidmain(String[] argv)
     Main method for testing this class.
public  voidsetFilterType(SelectedTag newType)
     Sets how the training data will be transformed.
public  voidsetOptions(String[] options)
     Parses a given list of options.
public  StringtoString()
     Gets a string describing the classifier.

Field Detail
FILTER_NONE
final public static int FILTER_NONE(Code)
No normalization/standardization



FILTER_NORMALIZE
final public static int FILTER_NORMALIZE(Code)
Normalize training data



FILTER_STANDARDIZE
final public static int FILTER_STANDARDIZE(Code)
Standardize training data



TAGS_FILTER
final public static Tag[] TAGS_FILTER(Code)
The filter to apply to the training data



m_Attributes
protected Instances m_Attributes(Code)
All attribute names



m_ClassIndex
protected int m_ClassIndex(Code)
The index of the class attribute



m_Classes
protected int[] m_Classes(Code)
Class labels for each bag



m_Data
protected double[][][] m_Data(Code)
MI data



m_Filter
protected Filter m_Filter(Code)
The filter used to standardize/normalize all values.



m_Missing
protected ReplaceMissingValues m_Missing(Code)
The filter used to get rid of missing values.



m_NumClasses
protected int m_NumClasses(Code)
The number of the class labels



m_Par
protected double[] m_Par(Code)



m_emData
protected double[][] m_emData(Code)
MI data



m_filterType
protected int m_filterType(Code)
Whether to normalize/standardize/neither, default:standardize



serialVersionUID
final static long serialVersionUID(Code)
for serialization





Method Detail
buildClassifier
public void buildClassifier(Instances train) throws Exception(Code)
Builds the classifier
Parameters:
  train - the training data to be used for generating theboosted classifier.
throws:
  Exception - if the classifier could not be built successfully



distributionForInstance
public double[] distributionForInstance(Instance exmp) throws Exception(Code)
Computes the distribution for a given exemplar
Parameters:
  exmp - the exemplar for which distribution is computed the distribution
throws:
  Exception - if the distribution can't be computed successfully



filterTypeTipText
public String filterTypeTipText()(Code)
Returns the tip text for this property tip text for this property suitable fordisplaying in the explorer/experimenter gui



findInstance
protected int findInstance(int i, double[] x)(Code)
given x, find the instance in ith bag with the most likelihood probability, which is most likely to responsible for the label of the bag For a positive bag, find the instance with the maximal probability of being positive For a negative bag, find the instance with the minimal probability of being negative
Parameters:
  i - the bag index
Parameters:
  x - the current values of variables index of the instance in the bag



getCapabilities
public Capabilities getCapabilities()(Code)
Returns default capabilities of the classifier. the capabilities of this classifier



getFilterType
public SelectedTag getFilterType()(Code)
Gets how the training data will be transformed. Will be one of FILTER_NORMALIZE, FILTER_STANDARDIZE, FILTER_NONE. the filtering mode



getMultiInstanceCapabilities
public Capabilities getMultiInstanceCapabilities()(Code)
Returns the capabilities of this multi-instance classifier for the relational data. the capabilities of this object
See Also:   Capabilities



getOptions
public String[] getOptions()(Code)
Gets the current settings of the classifier. an array of strings suitable for passing to setOptions



getTechnicalInformation
public TechnicalInformation getTechnicalInformation()(Code)
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on. the technical information about this class



globalInfo
public String globalInfo()(Code)
Returns a string describing this filter a description of the filter suitable fordisplaying in the explorer/experimenter gui



listOptions
public Enumeration listOptions()(Code)
Returns an enumeration describing the available options an enumeration of all the available options



main
public static void main(String[] argv)(Code)
Main method for testing this class.
Parameters:
  argv - should contain the command line arguments to thescheme (see Evaluation)



setFilterType
public void setFilterType(SelectedTag newType)(Code)
Sets how the training data will be transformed. Should be one of FILTER_NORMALIZE, FILTER_STANDARDIZE, FILTER_NONE.
Parameters:
  newType - the new filtering mode



setOptions
public void setOptions(String[] options) throws Exception(Code)
Parses a given list of options.

Valid options are:

 -N <num>
 Whether to 0=normalize/1=standardize/2=neither.
 (default 1=standardize)
 -S <num>
 Random number seed.
 (default 1)
 -D
 If set, classifier is run in debug mode and
 may output additional info to the console

Parameters:
  options - the list of options as an array of strings
throws:
  Exception - if an option is not supported



toString
public String toString()(Code)
Gets a string describing the classifier. a string describing the classifer built.



Fields inherited from weka.classifiers.RandomizableClassifier
protected int m_Seed(Code)(Java Doc)

Methods inherited from weka.classifiers.RandomizableClassifier
public String[] getOptions()(Code)(Java Doc)
public int getSeed()(Code)(Java Doc)
public Enumeration listOptions()(Code)(Java Doc)
public String seedTipText()(Code)(Java Doc)
public void setOptions(String[] options) throws Exception(Code)(Java Doc)
public void setSeed(int seed)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.