osdl.html

来自「weka是机器学习和数据挖掘领域最有影响力的开源项目之一」· HTML 代码 · 共 437 行 · 第 1/2 页

HTML
437
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_10) on Fri Jan 26 16:34:45 NZDT 2007 --><TITLE>OSDL</TITLE><META NAME="keywords" CONTENT="weka.classifiers.misc.OSDL class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="OSDL";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../weka/classifiers/misc/OLM.html" title="class in weka.classifiers.misc"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/classifiers/misc/VFI.html" title="class in weka.classifiers.misc"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?weka/classifiers/misc/OSDL.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="OSDL.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_weka.classifiers.misc.monotone.OSDLCore">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">weka.classifiers.misc</FONT><BR>Class OSDL</H2><PRE>java.lang.Object  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">weka.classifiers.Classifier</A>      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../weka/classifiers/misc/monotone/OSDLCore.html" title="class in weka.classifiers.misc.monotone">weka.classifiers.misc.monotone.OSDLCore</A>          <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>weka.classifiers.misc.OSDL</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Cloneable, <A HREF="../../../weka/core/CapabilitiesHandler.html" title="interface in weka.core">CapabilitiesHandler</A>, <A HREF="../../../weka/core/OptionHandler.html" title="interface in weka.core">OptionHandler</A>, <A HREF="../../../weka/core/TechnicalInformationHandler.html" title="interface in weka.core">TechnicalInformationHandler</A></DD></DL><HR><DL><DT><PRE>public class <B>OSDL</B><DT>extends <A HREF="../../../weka/classifiers/misc/monotone/OSDLCore.html" title="class in weka.classifiers.misc.monotone">OSDLCore</A></DL></PRE><P><!-- globalinfo-start --> This class is an implementation of the Ordinal Stochastic Dominance Learner.<br/> Further information regarding the OSDL-algorithm can be found in:<br/> <br/> S. Lievens, B. De Baets, K. Cao-Van (2006). A Probabilistic Framework for the Design of Instance-Based Supervised Ranking Algorithms in an Ordinal Setting. Annals of Operations Research..<br/> <br/> Kim Cao-Van (2003). Supervised ranking: from semantics to algorithms.<br/> <br/> Stijn Lievens (2004). Studie en implementatie van instantie-gebaseerde algoritmen voor gesuperviseerd rangschikken.<br/> <br/> For more information about supervised ranking, see<br/> <br/> http://users.ugent.be/~slievens/supervised_ranking.php <p/> <!-- globalinfo-end --> <!-- technical-bibtex-start --> BibTeX: <pre> &#64;article{Lievens2006,    author = {S. Lievens and B. De Baets and K. Cao-Van},    journal = {Annals of Operations Research},    title = {A Probabilistic Framework for the Design of Instance-Based Supervised Ranking Algorithms in an Ordinal Setting},    year = {2006} }  &#64;phdthesis{Cao-Van2003,    author = {Kim Cao-Van},    school = {Ghent University},    title = {Supervised ranking: from semantics to algorithms},    year = {2003} }  &#64;mastersthesis{Lievens2004,    author = {Stijn Lievens},    school = {Ghent University},    title = {Studie en implementatie van instantie-gebaseerde algoritmen voor gesuperviseerd rangschikken},    year = {2004} } </pre> <p/> <!-- technical-bibtex-end --> <!-- options-start --> Valid options are: <p/>  <pre> -D  If set, classifier is run in debug mode and  may output additional info to the console</pre>  <pre> -C &lt;REG|WSUM|MAX|MED|RMED&gt;  Sets the classification type to be used.  (Default: MED)</pre>  <pre> -B  Use the balanced version of the Ordinal Stochastic Dominance Learner</pre>  <pre> -W  Use the weighted version of the Ordinal Stochastic Dominance Learner</pre>  <pre> -S &lt;value of interpolation parameter&gt;  Sets the value of the interpolation parameter (not with -W/T/P/L/U)  (default: 0.5).</pre>  <pre> -T  Tune the interpolation parameter (not with -W/S)  (default: off)</pre>  <pre> -L &lt;Lower bound for interpolation parameter&gt;  Lower bound for the interpolation parameter (not with -W/S)  (default: 0)</pre>  <pre> -U &lt;Upper bound for interpolation parameter&gt;  Upper bound for the interpolation parameter (not with -W/S)  (default: 1)</pre>  <pre> -P &lt;Number of parts&gt;  Determines the step size for tuning the interpolation  parameter, nl. (U-L)/P (not with -W/S)  (default: 10)</pre>  <!-- options-end --> More precisely, this is a simple extension of the OSDLCore class,  so that the OSDLCore class can be used within the WEKA environment. The problem with OSDLCore is that it implements both <code> classifyInstance </code> and <code> distributionForInstance </code> in a non trivial way. <p> One can evaluate a model easily with the method <code> evaluateModel </code> from the <code> Evaluation </code> class.  However, for nominal classes they do the following: they use <code> distributionForInstance </code>  and then pick the class with maximal probability.  This procedure is <b> not </b> valid for a ranking algorithm, since this destroys the required monotonicity property. </p> <p>  This class reimplements <code> distributionForInstance </code> in the  following way:  first <code> classifyInstance </code> of  <code> OSDLCore </code>  is used and the chosen label then gets  assigned probability one.  This ensures that the classification  accuracy is calculated correctly, but possibly some other statistics  are no longer meaningful. </p><P><P><DL><DT><B>Version:</B></DT>  <DD>$Revision: 1.1 $</DD><DT><B>Author:</B></DT>  <DD>Stijn Lievens (stijn.lievens@ugent.be)</DD><DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#weka.classifiers.misc.OSDL">Serialized Form</A></DL><HR>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?