亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? checkkernel.java

?? Weka
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
/* *    This program is free software; you can redistribute it and/or modify *    it under the terms of the GNU General Public License as published by *    the Free Software Foundation; either version 2 of the License, or *    (at your option) any later version. * *    This program is distributed in the hope that it will be useful, *    but WITHOUT ANY WARRANTY; without even the implied warranty of *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *    GNU General Public License for more details. * *    You should have received a copy of the GNU General Public License *    along with this program; if not, write to the Free Software *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *//* * CheckKernel.java * Copyright (C) 2006 University of Waikato, Hamilton, New Zealand * */package weka.classifiers.functions.supportVector;import weka.core.Attribute;import weka.core.CheckScheme;import weka.core.FastVector;import weka.core.Instances;import weka.core.MultiInstanceCapabilitiesHandler;import weka.core.Option;import weka.core.OptionHandler;import weka.core.SerializationHelper;import weka.core.TestInstances;import weka.core.Utils;import weka.core.WeightedInstancesHandler;import java.util.Enumeration;import java.util.Random;import java.util.Vector;/** * Class for examining the capabilities and finding problems with  * kernels. If you implement an kernels using the WEKA.libraries, * you should run the checks on it to ensure robustness and correct * operation. Passing all the tests of this object does not mean * bugs in the kernels don't exist, but this will help find some * common ones. <p/> *  * Typical usage: <p/> * <code>java weka.classifiers.functions.supportVector.CheckKernel -W kernel_name  * -- kernel_options </code><p/> *  * CheckKernel reports on the following: * <ul> *    <li> Kernel abilities  *      <ul> *         <li> Possible command line options to the kernels </li> *         <li> Whether the kernels can predict nominal, numeric, string,  *              date or relational class attributes. </li> *         <li> Whether the kernels can handle numeric predictor attributes </li> *         <li> Whether the kernels can handle nominal predictor attributes </li> *         <li> Whether the kernels can handle string predictor attributes </li> *         <li> Whether the kernels can handle date predictor attributes </li> *         <li> Whether the kernels can handle relational predictor attributes </li> *         <li> Whether the kernels can handle multi-instance data </li> *         <li> Whether the kernels can handle missing predictor values </li> *         <li> Whether the kernels can handle missing class values </li> *         <li> Whether a nominal kernels only handles 2 class problems </li> *         <li> Whether the kernels can handle instance weights </li> *      </ul> *    </li> *    <li> Correct functioning  *      <ul> *         <li> Correct initialisation during buildKernel (i.e. no result *              changes when buildKernel called repeatedly) </li> *         <li> Whether the kernels alters the data passed to it  *              (number of instances, instance order, instance weights, etc) </li> *      </ul> *    </li> *    <li> Degenerate cases  *      <ul> *         <li> building kernels with zero training instances </li> *         <li> all but one predictor attribute values missing </li> *         <li> all predictor attribute values missing </li> *         <li> all but one class values missing </li> *         <li> all class values missing </li> *      </ul> *    </li> * </ul> * Running CheckKernel with the debug option set will output the  * training and test datasets for any failed tests.<p/> * * The <code>weka.classifiers.AbstractKernelTest</code> uses this * class to test all the kernels. Any changes here, have to be  * checked in that abstract test class, too. <p/> * <!-- options-start --> * Valid options are: <p/> *  * <pre> -D *  Turn on debugging output.</pre> *  * <pre> -S *  Silent mode - prints nothing to stdout.</pre> *  * <pre> -N &lt;num&gt; *  The number of instances in the datasets (default 20).</pre> *  * <pre> -nominal &lt;num&gt; *  The number of nominal attributes (default 2).</pre> *  * <pre> -nominal-values &lt;num&gt; *  The number of values for nominal attributes (default 1).</pre> *  * <pre> -numeric &lt;num&gt; *  The number of numeric attributes (default 1).</pre> *  * <pre> -string &lt;num&gt; *  The number of string attributes (default 1).</pre> *  * <pre> -date &lt;num&gt; *  The number of date attributes (default 1).</pre> *  * <pre> -relational &lt;num&gt; *  The number of relational attributes (default 1).</pre> *  * <pre> -num-instances-relational &lt;num&gt; *  The number of instances in relational/bag attributes (default 10).</pre> *  * <pre> -words &lt;comma-separated-list&gt; *  The words to use in string attributes.</pre> *  * <pre> -word-separators &lt;chars&gt; *  The word separators to use in string attributes.</pre> *  * <pre> -W *  Full name of the kernel analysed. *  eg: weka.classifiers.functions.supportVector.RBFKernel *  (default weka.classifiers.functions.supportVector.RBFKernel)</pre> *  * <pre>  * Options specific to kernel weka.classifiers.functions.supportVector.RBFKernel: * </pre> *  * <pre> -D *  Enables debugging output (if available) to be printed. *  (default: off)</pre> *  * <pre> -no-checks *  Turns off all checks - use with caution! *  (default: checks on)</pre> *  * <pre> -C &lt;num&gt; *  The size of the cache (a prime number), 0 for full cache and  *  -1 to turn it off. *  (default: 250007)</pre> *  * <pre> -G &lt;num&gt; *  The Gamma parameter. *  (default: 0.01)</pre> *  <!-- options-end --> * * Options after -- are passed to the designated kernel.<p/> * * @author Len Trigg (trigg@cs.waikato.ac.nz) * @author FracPete (fracpete at waikato dot ac dot nz) * @version $Revision: 1.2 $ * @see TestInstances */public class CheckKernel  extends CheckScheme {  /*   * Note about test methods:   * - methods return array of booleans   * - first index: success or not   * - second index: acceptable or not (e.g., Exception is OK)   *   * FracPete (fracpete at waikato dot ac dot nz)   */    /*** The kernel to be examined */  protected Kernel m_Kernel = new weka.classifiers.functions.supportVector.RBFKernel();    /**   * Returns an enumeration describing the available options.   *   * @return an enumeration of all the available options.   */  public Enumeration listOptions() {    Vector result = new Vector();        Enumeration en = super.listOptions();    while (en.hasMoreElements())      result.addElement(en.nextElement());        result.addElement(new Option(        "\tFull name of the kernel analysed.\n"        +"\teg: weka.classifiers.functions.supportVector.RBFKernel\n"        + "\t(default weka.classifiers.functions.supportVector.RBFKernel)",        "W", 1, "-W"));        if ((m_Kernel != null)         && (m_Kernel instanceof OptionHandler)) {      result.addElement(new Option("", "", 0,           "\nOptions specific to kernel "          + m_Kernel.getClass().getName()          + ":"));      Enumeration enu = ((OptionHandler)m_Kernel).listOptions();      while (enu.hasMoreElements())        result.addElement(enu.nextElement());    }        return result.elements();  }    /**   * Parses a given list of options.    *   <!-- options-start -->   * Valid options are: <p/>   *    * <pre> -D   *  Turn on debugging output.</pre>   *    * <pre> -S   *  Silent mode - prints nothing to stdout.</pre>   *    * <pre> -N &lt;num&gt;   *  The number of instances in the datasets (default 20).</pre>   *    * <pre> -nominal &lt;num&gt;   *  The number of nominal attributes (default 2).</pre>   *    * <pre> -nominal-values &lt;num&gt;   *  The number of values for nominal attributes (default 1).</pre>   *    * <pre> -numeric &lt;num&gt;   *  The number of numeric attributes (default 1).</pre>   *    * <pre> -string &lt;num&gt;   *  The number of string attributes (default 1).</pre>   *    * <pre> -date &lt;num&gt;   *  The number of date attributes (default 1).</pre>   *    * <pre> -relational &lt;num&gt;   *  The number of relational attributes (default 1).</pre>   *    * <pre> -num-instances-relational &lt;num&gt;   *  The number of instances in relational/bag attributes (default 10).</pre>   *    * <pre> -words &lt;comma-separated-list&gt;   *  The words to use in string attributes.</pre>   *    * <pre> -word-separators &lt;chars&gt;   *  The word separators to use in string attributes.</pre>   *    * <pre> -W   *  Full name of the kernel analysed.   *  eg: weka.classifiers.functions.supportVector.RBFKernel   *  (default weka.classifiers.functions.supportVector.RBFKernel)</pre>   *    * <pre>    * Options specific to kernel weka.classifiers.functions.supportVector.RBFKernel:   * </pre>   *    * <pre> -D   *  Enables debugging output (if available) to be printed.   *  (default: off)</pre>   *    * <pre> -no-checks   *  Turns off all checks - use with caution!   *  (default: checks on)</pre>   *    * <pre> -C &lt;num&gt;   *  The size of the cache (a prime number), 0 for full cache and    *  -1 to turn it off.   *  (default: 250007)</pre>   *    * <pre> -G &lt;num&gt;   *  The Gamma parameter.   *  (default: 0.01)</pre>   *    <!-- options-end -->   *   * @param options the list of options as an array of strings   * @throws Exception if an option is not supported   */  public void setOptions(String[] options) throws Exception {    String      tmpStr;        super.setOptions(options);        tmpStr = Utils.getOption('W', options);    if (tmpStr.length() == 0)      tmpStr = weka.classifiers.functions.supportVector.RBFKernel.class.getName();    setKernel(	(Kernel) forName(	    "weka.classifiers.functions.supportVector", 	    Kernel.class, 	    tmpStr, 	    Utils.partitionOptions(options)));  }    /**   * Gets the current settings of the CheckKernel.   *   * @return an array of strings suitable for passing to setOptions   */  public String[] getOptions() {    Vector        result;    String[]      options;    int           i;        result = new Vector();        options = super.getOptions();    for (i = 0; i < options.length; i++)      result.add(options[i]);        if (getKernel() != null) {      result.add("-W");      result.add(getKernel().getClass().getName());    }        if ((m_Kernel != null) && (m_Kernel instanceof OptionHandler))      options = ((OptionHandler) m_Kernel).getOptions();    else      options = new String[0];        if (options.length > 0) {      result.add("--");      for (i = 0; i < options.length; i++)        result.add(options[i]);    }        return (String[]) result.toArray(new String[result.size()]);  }    /**   * Begin the tests, reporting results to System.out   */  public void doTests() {        if (getKernel() == null) {      println("\n=== No kernel set ===");      return;    }    println("\n=== Check on kernel: "        + getKernel().getClass().getName()        + " ===\n");        // Start tests    m_ClasspathProblems = false;    println("--> Checking for interfaces");    canTakeOptions();    boolean weightedInstancesHandler = weightedInstancesHandler()[0];    boolean multiInstanceHandler = multiInstanceHandler()[0];

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人精品影视| 国产精品沙发午睡系列990531| 不卡的av电影| 国产麻豆欧美日韩一区| 理论电影国产精品| 国内精品不卡在线| 麻豆精品在线看| 蜜臀av性久久久久蜜臀aⅴ| 秋霞影院一区二区| 久久国内精品自在自线400部| 麻豆精品国产91久久久久久| 精品亚洲国产成人av制服丝袜| 国产精品私人自拍| 久久久久久综合| 久久久国产精品麻豆| 中文字幕免费在线观看视频一区| 亚洲精品一区二区三区福利| 国产欧美一二三区| 一区二区三区在线不卡| 亚洲国产精品天堂| 久久99精品网久久| 国产成人在线视频免费播放| 92国产精品观看| 色琪琪一区二区三区亚洲区| 欧美人妇做爰xxxⅹ性高电影| 日韩午夜激情视频| 久久精品一区二区| 一区二区三区在线视频播放| 洋洋av久久久久久久一区| 偷窥少妇高潮呻吟av久久免费| 另类小说综合欧美亚洲| 成人av在线网| 欧美精品高清视频| 欧美高清在线精品一区| 亚洲成人高清在线| 国产99久久久久久免费看农村| 色综合亚洲欧洲| 精品国产区一区| 一区二区三区四区视频精品免费 | 日日骚欧美日韩| 国产成人啪午夜精品网站男同| 91丨porny丨蝌蚪视频| 制服.丝袜.亚洲.中文.综合 | av在线播放一区二区三区| 欧美性大战久久久久久久蜜臀| 精品国产乱码91久久久久久网站| 亚洲乱码国产乱码精品精的特点| 精品一区免费av| 51精品国自产在线| 国产欧美视频一区二区三区| 首页亚洲欧美制服丝腿| 99re这里只有精品6| 精品久久久久久最新网址| 亚洲大片免费看| 97久久久精品综合88久久| 欧美精品一区二区在线播放| 日韩电影在线看| 欧美私人免费视频| 中文字幕亚洲不卡| 福利视频网站一区二区三区| 欧美mv和日韩mv国产网站| 亚洲18色成人| 91国偷自产一区二区三区成为亚洲经典| 久久你懂得1024| 国内精品国产成人| 欧美精品一区二区三区在线 | 国产盗摄视频一区二区三区| 日韩精品一区二区三区中文不卡| 亚洲一区二区3| 91色porny在线视频| 国产精品福利一区| www.久久久久久久久| 国产欧美一区视频| 国产91精品露脸国语对白| 国产亚洲美州欧州综合国| 免费不卡在线视频| 欧美一区二区精品在线| 亚洲一区二区三区三| 色综合久久99| 亚洲一区二区三区精品在线| 欧美视频自拍偷拍| 日韩激情视频在线观看| 欧美一区二区国产| 国内精品写真在线观看| 久久精品一二三| 成人一区在线看| 亚洲欧美日韩小说| 欧美日韩美女一区二区| 日韩综合在线视频| 精品国产网站在线观看| 国产成人精品一区二区三区网站观看 | 91网站在线播放| 国产精品视频一二三区| 成人av免费观看| 亚洲欧美国产毛片在线| 欧美剧在线免费观看网站| 天天综合色天天综合色h| 精品少妇一区二区三区免费观看| 日韩精品久久久久久| 久久这里只有精品首页| 成人一区二区三区视频| 夜夜嗨av一区二区三区| 91精品免费观看| 国产精品一区在线观看你懂的| 欧美极品美女视频| 91视频xxxx| 久久精工是国产品牌吗| 中文字幕一区二区三区av| 欧美日韩视频在线一区二区| 精品一区二区三区影院在线午夜| 国产精品欧美极品| 在线不卡的av| 99视频热这里只有精品免费| 五月婷婷另类国产| 国产精品国产三级国产| 日韩一区二区三区视频| 成人av在线一区二区三区| 青椒成人免费视频| 亚洲色图色小说| 精品电影一区二区| 日本久久一区二区| 国产成+人+日韩+欧美+亚洲| 亚洲成人高清在线| 亚洲免费观看高清完整版在线| 日韩一级片网址| 欧美最新大片在线看| 成人一区在线看| 国内不卡的二区三区中文字幕 | 99久久综合精品| 精品一区二区三区日韩| 亚洲成年人影院| 亚洲免费在线看| 中文子幕无线码一区tr| 日韩精品一区二区三区在线 | 成人性生交大合| 激情综合网最新| 日本视频一区二区| 亚洲福利一二三区| 一区二区三区在线观看动漫| 国产日韩在线不卡| 久久久久久久久久久电影| 欧美人成免费网站| 欧美福利视频一区| 欧美自拍偷拍午夜视频| 97超碰欧美中文字幕| 国产一区视频网站| 麻豆成人综合网| 久久精品噜噜噜成人88aⅴ | 日韩欧美www| 3atv一区二区三区| 欧美日韩国产不卡| 欧美一级夜夜爽| 欧美老女人在线| 在线91免费看| 91精品久久久久久久99蜜桃 | 紧缚捆绑精品一区二区| 精品在线你懂的| 青青青爽久久午夜综合久久午夜| 夜夜嗨av一区二区三区网页| 亚洲欧美日韩电影| 亚洲日本免费电影| 欧美精品久久99久久在免费线 | 国产精品久久久久影院老司| 久久综合99re88久久爱| 日韩欧美国产1| 国产亚洲成年网址在线观看| 欧美日韩日日骚| 国产精品综合二区| 91精品国产一区二区| 91丨porny丨蝌蚪视频| 亚洲欧美偷拍三级| 欧美日韩aaa| 日韩电影在线一区二区| 色婷婷久久久亚洲一区二区三区| 久久蜜桃av一区二区天堂| 亚洲欧洲韩国日本视频| 韩国理伦片一区二区三区在线播放| 欧美三级资源在线| 亚洲曰韩产成在线| 日本久久电影网| 中文字幕欧美三区| 怡红院av一区二区三区| 欧美美女直播网站| 久久99精品视频| 天天免费综合色| 欧美日韩精品一区二区| 国产精品无码永久免费888| 免费xxxx性欧美18vr| 欧美丝袜第三区| 丝袜a∨在线一区二区三区不卡| 色综合久久久久综合体桃花网| 亚洲精选一二三| 精品乱码亚洲一区二区不卡| 亚洲福利视频一区二区| 欧美一区二区三区影视| 久久不见久久见中文字幕免费| 337p日本欧洲亚洲大胆色噜噜| 亚洲国产一区二区视频| 亚洲国产精品久久人人爱蜜臀| 久久精品免费看|