Java Doc for FCBFSearch.java in  » Science » weka » weka » attributeSelection » 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.attributeSelection 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   weka.attributeSelection.ASSearch
      weka.attributeSelection.FCBFSearch

FCBFSearch
public class FCBFSearch extends ASSearch implements RankedOutputSearch,StartSetHandler,OptionHandler,TechnicalInformationHandler(Code)
FCBF :

Feature selection method based on correlation measureand relevance&redundancy analysis. Use in conjunction with an attribute set evaluator (SymmetricalUncertAttributeEval).

For more information see:

Lei Yu, Huan Liu: Feature Selection for High-Dimensional Data: A Fast Correlation-Based Filter Solution. In: Proceedings of the Twentieth International Conference on Machine Learning, 856-863, 2003.

BibTeX:

 @inproceedings{Yu2003,
 author = {Lei Yu and Huan Liu},
 booktitle = {Proceedings of the Twentieth International Conference on Machine Learning},
 pages = {856-863},
 publisher = {AAAI Press},
 title = {Feature Selection for High-Dimensional Data: A Fast Correlation-Based Filter Solution},
 year = {2003}
 }
 

Valid options are:

 -D <create dataset>
 Specify Whether the selector generates a new dataset.
 -P <start set>
 Specify a starting set of attributes.
 Eg. 1,3,5-7.
 Any starting attributes specified are
 ignored during the ranking.
 -T <threshold>
 Specify a theshold by which attributes
 may be discarded from the ranking.
 -N <num to select>
 Specify number of attributes to select

author:
   Zheng Zhao: zhaozheng at asu.edu
version:
   $Revision: 1.6 $


Field Summary
final static  longserialVersionUID
    

Constructor Summary
public  FCBFSearch()
    

Method Summary
public  StringgenerateDataOutputTipText()
    
public  StringgenerateRankingTipText()
    
public  intgetCalculatedNumToSelect()
     Gets the calculated number to select.
public  booleangetGenerateDataOutput()
     Returns the flag, by which the AttributeSelection module decide whether create a new dataset according to the selected features.
public  booleangetGenerateRanking()
     This is a dummy method.
public  intgetNumToSelect()
     Gets the number of attributes to be retained.
public  String[]getOptions()
     Gets the current settings of ReliefFAttributeEval.
public  StringgetStartSet()
    
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  doublegetThreshold()
     Returns the threshold so that the AttributeSelection module can discard attributes from the ranking.
public  StringglobalInfo()
    
public  EnumerationlistOptions()
     Returns an enumeration describing the available options.
public  StringnumToSelectTipText()
    
public  double[][]rankedAttributes()
    
protected  voidresetOptions()
    
public  int[]search(ASEvaluation ASEval, Instances data)
     Kind of a dummy search algorithm.
public  voidsetGenerateDataOutput(boolean doGenerate)
     Sets the flag, by which the AttributeSelection module decide whether create a new dataset according to the selected features.
public  voidsetGenerateRanking(boolean doRank)
     This is a dummy set method---Ranker is ONLY capable of producing a ranked list of attributes for attribute evaluators.
public  voidsetNumToSelect(int n)
     Specify the number of attributes to select from the ranked list.
public  voidsetOptions(String[] options)
     Parses a given list of options.
public  voidsetStartSet(String startSet)
     Sets a starting set of attributes for the search.
public  voidsetThreshold(double threshold)
     Set the threshold by which the AttributeSelection module can discard attributes.
public  StringstartSetTipText()
    
public  StringthresholdTipText()
    
public  StringtoString()
    

Field Detail
serialVersionUID
final static long serialVersionUID(Code)
for serialization




Constructor Detail
FCBFSearch
public FCBFSearch()(Code)
Constructor




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



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



getCalculatedNumToSelect
public int getCalculatedNumToSelect()(Code)
Gets the calculated number to select. This might be computed from a threshold, or if < 0 is set as the number to select then it is set to the number of attributes in the (transformed) data. the calculated number of attributes to select



getGenerateDataOutput
public boolean getGenerateDataOutput()(Code)
Returns the flag, by which the AttributeSelection module decide whether create a new dataset according to the selected features. the flag, by which the AttributeSelection module decidewhether create a new dataset according to the selected features.



getGenerateRanking
public boolean getGenerateRanking()(Code)
This is a dummy method. Ranker can ONLY be used with attribute evaluators and as such can only produce a ranked list of attributes true all the time.



getNumToSelect
public int getNumToSelect()(Code)
Gets the number of attributes to be retained. the number of attributes to retain



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



getStartSet
public String getStartSet()(Code)
Returns a list of attributes (and or attribute ranges) as a String a list of attributes (and or attribute ranges)



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



getThreshold
public double getThreshold()(Code)
Returns the threshold so that the AttributeSelection module can discard attributes from the ranking. the threshold



globalInfo
public String globalInfo()(Code)
Returns a string describing this search method a description of the search 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.



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



rankedAttributes
public double[][] rankedAttributes() throws Exception(Code)
Sorts the evaluated attribute list an array of sorted (highest eval to lowest) attribute indexes
throws:
  Exception - of sorting can't be done.



resetOptions
protected void resetOptions()(Code)
Resets stuff to default values



search
public int[] search(ASEvaluation ASEval, Instances data) throws Exception(Code)
Kind of a dummy search algorithm. Calls a Attribute evaluator to evaluate each attribute not included in the startSet and then sorts them to produce a ranked list of attributes.
Parameters:
  ASEval - the attribute evaluator to guide the search
Parameters:
  data - the training instances. an array (not necessarily ordered) of selected attribute indexes
throws:
  Exception - if the search can't be completed



setGenerateDataOutput
public void setGenerateDataOutput(boolean doGenerate)(Code)
Sets the flag, by which the AttributeSelection module decide whether create a new dataset according to the selected features.
Parameters:
  doGenerate - the flag, by which the AttributeSelection moduledecide whether create a new dataset according to the selectedfeatures



setGenerateRanking
public void setGenerateRanking(boolean doRank)(Code)
This is a dummy set method---Ranker is ONLY capable of producing a ranked list of attributes for attribute evaluators.
Parameters:
  doRank - this parameter is N/A and is ignored



setNumToSelect
public void setNumToSelect(int n)(Code)
Specify the number of attributes to select from the ranked list. -1 indicates that all attributes are to be retained.
Parameters:
  n - the number of attributes to retain



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

Valid options are:

 -D <create dataset>
 Specify Whether the selector generates a new dataset.
 -P <start set>
 Specify a starting set of attributes.
 Eg. 1,3,5-7.
 Any starting attributes specified are
 ignored during the ranking.
 -T <threshold>
 Specify a theshold by which attributes
 may be discarded from the ranking.
 -N <num to select>
 Specify number of attributes to select

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



setStartSet
public void setStartSet(String startSet) throws Exception(Code)
Sets a starting set of attributes for the search. It is the search method's responsibility to report this start set (if any) in its toString() method.
Parameters:
  startSet - a string containing a list of attributes (and or ranges),eg. 1,2,6,10-15.
throws:
  Exception - if start set can't be set.



setThreshold
public void setThreshold(double threshold)(Code)
Set the threshold by which the AttributeSelection module can discard attributes.
Parameters:
  threshold - the threshold.



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



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



toString
public String toString()(Code)
returns a description of the search as a String a description of the search



Methods inherited from weka.attributeSelection.ASSearch
public static ASSearch forName(String searchName, String[] options) throws Exception(Code)(Java Doc)
public static ASSearch[] makeCopies(ASSearch model, int num) throws Exception(Code)(Java Doc)
abstract public int[] search(ASEvaluation ASEvaluator, Instances data) throws Exception(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.