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

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

?? smoreg.java

?? Weka
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
      }      // for debuggage      // checkSets();      // checkAlphas();      // Compute (i_low, b_low) and (i_up, b_up) by applying the conditions      // mentionned above, using only i1, i2 and indices in I_0      m_bLow = -Double.MAX_VALUE; m_bUp = Double.MAX_VALUE;      m_iLow =-1; m_iUp = -1;      for (int i = m_I0.getNext(-1); i != -1; i = m_I0.getNext(i)) {	if(0 < m_alpha_[i] && m_alpha_[i] < m_C * m_data.instance(i).weight() && 	   (m_fcache[i] + m_epsilon > m_bLow)){	  m_bLow = m_fcache[i] + m_epsilon; m_iLow = i;	} else if(0 < m_alpha[i] && m_alpha[i] < m_C * m_data.instance(i).weight() && 		  (m_fcache[i] - m_epsilon > m_bLow)){	  m_bLow = m_fcache[i] - m_epsilon; m_iLow = i;	}	if(0 < m_alpha[i] && m_alpha[i] < m_C * m_data.instance(i).weight() && 	   (m_fcache[i] - m_epsilon < m_bUp)){	  m_bUp = m_fcache[i] - m_epsilon; m_iUp = i;	} else if(0 < m_alpha_[i] && m_alpha_[i] < m_C * m_data.instance(i).weight() && 		  (m_fcache[i] + m_epsilon < m_bUp)){		    	  m_bUp = m_fcache[i] + m_epsilon; m_iUp = i;	}      }      if(!m_I0.contains(i1)){	if(m_I2.contains(i1) && 	   (m_fcache[i1] + m_epsilon > m_bLow)){	  m_bLow = m_fcache[i1] + m_epsilon; m_iLow = i1;	} else if (m_I1.contains(i1) && 		   (m_fcache[i1] - m_epsilon > m_bLow)){	  m_bLow = m_fcache[i1] - m_epsilon; m_iLow = i1;	}	if(m_I3.contains(i1) && 	   (m_fcache[i1] - m_epsilon < m_bUp)){	  m_bUp = m_fcache[i1] - m_epsilon; m_iUp = i1;	} else if (m_I1.contains(i1) && 		   (m_fcache[i1] + m_epsilon < m_bUp)){	  m_bUp = m_fcache[i1] + m_epsilon; m_iUp = i1;	}      }	          if(!m_I0.contains(i2)){	if(m_I2.contains(i2) && 	   (m_fcache[i2] + m_epsilon > m_bLow)){	  m_bLow = m_fcache[i2] + m_epsilon; m_iLow = i2;	} else if (m_I1.contains(i2) && 		   (m_fcache[i2] - m_epsilon > m_bLow)){	  m_bLow = m_fcache[i2] - m_epsilon; m_iLow = i2;	}	if(m_I3.contains(i2) && 	   (m_fcache[i2] - m_epsilon < m_bUp)){	  m_bUp = m_fcache[i2] - m_epsilon; m_iUp = i2;	} else if (m_I1.contains(i2) && 		   (m_fcache[i2] + m_epsilon < m_bUp)){	  m_bUp = m_fcache[i2] + m_epsilon; m_iUp = i2;	}      }      if(m_iLow == -1 || m_iUp == -1){	throw new RuntimeException("Fatal error! The program failled to "				   + "initialize i_Low, iUp.");      }      return true;    } else {      return false;    }      }  /**   * Classifies a given instance.   *   * @param inst the instance to be classified   * @return the classification   * @throws Exception if instance could not be classified   * successfully   */  public double classifyInstance(Instance inst) throws Exception {    // Filter instance    if (!m_checksTurnedOff) {      m_Missing.input(inst);      m_Missing.batchFinished();      inst = m_Missing.output();    }    if (m_NominalToBinary != null) {      m_NominalToBinary.input(inst);      m_NominalToBinary.batchFinished();      inst = m_NominalToBinary.output();    }	    if (m_Filter != null) {      m_Filter.input(inst);      m_Filter.batchFinished();      inst = m_Filter.output();    }    // classification :    double result = m_b;    // Is the machine linear?    if (m_KernelIsLinear) {	      // Is weight vector stored in sparse format?      if (m_sparseWeights == null) {	int n1 = inst.numValues(); 	for (int p = 0; p < n1; p++) {	  if (inst.index(p) != m_classIndex) {	    result += m_weights[inst.index(p)] * inst.valueSparse(p);	  }	}      } else {	int n1 = inst.numValues(); int n2 = m_sparseWeights.length;	for (int p1 = 0, p2 = 0; p1 < n1 && p2 < n2;) {	  int ind1 = inst.index(p1); 	  int ind2 = m_sparseIndices[p2];	  if (ind1 == ind2) {	    if (ind1 != m_classIndex) {	      result += inst.valueSparse(p1) * m_sparseWeights[p2];	    }	    p1++; p2++;	  } else if (ind1 > ind2) {	    p2++;	  } else { 	    p1++;	  }	}      }    } else {      for (int i = 0; i < m_alpha.length; i++) { 	result += (m_alpha[i] - m_alpha_[i]) * m_kernel.eval(-1, i, inst);      }    }    // apply the inverse transformation     // (due to the normalization/standardization)    return (result - m_Blin) / m_Alin;  }      /**   * Returns an enumeration describing the available options.   *   * @return an enumeration of all the available options.   */  public Enumeration listOptions() {	    Vector result = new Vector();    Enumeration enm = super.listOptions();    while (enm.hasMoreElements())      result.addElement(enm.nextElement());    result.addElement(new Option(	"\tTurns off all checks - use with caution!\n"	+ "\tTurning them off assumes that data is purely numeric, doesn't\n"	+ "\tcontain any missing values, and has a nominal class. Turning them\n"	+ "\toff also means that no header information will be stored if the\n"	+ "\tmachine is linear. Finally, it also assumes that no instance has\n"	+ "\ta weight equal to 0.\n"	+ "\t(default: checks on)",	"no-checks", 0, "-no-checks"));    result.addElement(new Option(	"\tThe amount up to which deviations are\n"	+ "\ttolerated (epsilon). (default 1e-3)",	"S", 1, "-S <double>"));        result.addElement(new Option(	"\tThe complexity constant C. (default 1)",	"C", 1, "-C <double>"));        result.addElement(new Option(	"\tWhether to 0=normalize/1=standardize/2=neither. " +	"(default 0=normalize)",	"N", 1, "-N"));        result.addElement(new Option(	"\tThe tolerance parameter. " +	"(default 1.0e-3)",	"T", 1, "-T <double>"));        result.addElement(new Option(	"\tThe epsilon for round-off error. " +	"(default 1.0e-12)",	"P", 1, "-P <double>"));        result.addElement(new Option(	"\tThe Kernel to use.\n"	+ "\t(default: weka.classifiers.functions.supportVector.PolyKernel)",	"K", 1, "-K <classname and parameters>"));    result.addElement(new Option(	"",	"", 0, "\nOptions specific to kernel "	+ getKernel().getClass().getName() + ":"));        enm = ((OptionHandler) getKernel()).listOptions();    while (enm.hasMoreElements())      result.addElement(enm.nextElement());    return result.elements();  }          /**   * Parses a given list of options. <p/>   *   <!-- options-end -->   <!-- 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;    String[]	tmpOptions;        setChecksTurnedOff(Utils.getFlag("no-checks", options));    tmpStr = Utils.getOption('S', options);    if (tmpStr.length() != 0)      setEpsilon(Double.parseDouble(tmpStr));    else      setEpsilon(1e-3);        tmpStr = Utils.getOption('C', options);    if (tmpStr.length() != 0)      setC(Double.parseDouble(tmpStr));    else      setC(1.0);    tmpStr = Utils.getOption('T', options);    if (tmpStr.length() != 0)      setToleranceParameter(Double.parseDouble(tmpStr));    else      setToleranceParameter(1.0e-3);        tmpStr = Utils.getOption('P', options);    if (tmpStr.length() != 0)      setEps(Double.parseDouble(tmpStr));    else      setEps(1.0e-12);        tmpStr = Utils.getOption('N', options);    if (tmpStr.length() != 0)      setFilterType(new SelectedTag(Integer.parseInt(tmpStr), TAGS_FILTER));    else      setFilterType(new SelectedTag(FILTER_NORMALIZE, TAGS_FILTER));    tmpStr     = Utils.getOption('K', options);    tmpOptions = Utils.splitOptions(tmpStr);    if (tmpOptions.length != 0) {      tmpStr        = tmpOptions[0];      tmpOptions[0] = "";      setKernel(Kernel.forName(tmpStr, tmpOptions));    }        super.setOptions(options);  }  /**   * Gets the current settings of the classifier.   *   * @return an array of strings suitable for passing to setOptions   */  public String[] getOptions() {    int       i;    Vector    result;    String[]  options;    result = new Vector();    options = super.getOptions();    for (i = 0; i < options.length; i++)      result.add(options[i]);    if (getChecksTurnedOff())      result.add("-no-checks");    result.add("-S");    result.add("" + getEpsilon());        result.add("-C");    result.add("" + getC());        result.add("-T");    result.add("" + getToleranceParameter());        result.add("-P");    result.add("" + getEps());        result.add("-N");    result.add("" + m_filterType);        result.add("-K");    result.add("" + getKernel().getClass().getName() + " " + Utils.joinOptions(getKernel().getOptions()));        return (String[]) result.toArray(new String[result.size()]);	    }  /**   * Disables or enables the checks (which could be time-consuming). Use with   * caution!   *    * @param value	if true turns off all checks   */  public void setChecksTurnedOff(boolean value) {    if (value)      turnChecksOff();    else      turnChecksOn();  }    /**   * Returns whether the checks are turned off or not.   *    * @return		true if the checks are turned off   */  public boolean getChecksTurnedOff() {    return m_checksTurnedOff;  }  /**   * Returns the tip text for this property   *    * @return 		tip text for this property suitable for   * 			displaying in the explorer/experimenter gui   */  public String checksTurnedOffTipText() {    return "Turns time-consuming checks off - use with caution.";  }    /**   * Returns the tip text for this property   *    * @return 		tip text for this property suitable for   * 			displaying in the explorer/experimenter gui   */  public String kernelTipText() {    return "The kernel to use.";  }  /**   * Gets the kernel to use.   *   * @return 		the kernel   */  public Kernel getKernel() {    return m_kernel;  }      /**   * Sets the kernel to use.   *   * @param value	the kernel   */  public void setKernel(Kernel value) {    m_kernel = value;  }       /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String filterTypeTipText() {    return "Determines how/if the data will be transformed.";  }  /**   * Gets how the training data will be transformed. Will be one of   * FILTER_NORMALIZE, FILTER_STANDARDIZE, FILTER_NONE.   *   * @return the filtering mode   */  public SelectedTag getFilterType() {	    return new SelectedTag(m_filterType, TAGS_FILTER);  }      /**   * Sets how the training data will be transformed. Should be one of   * FILTER_NORMALIZE, FILTER_STANDARDIZE, FILTER_NONE.   *   * @param newType the new filtering mode   */  public void setFilterType(SelectedTag newType) {	    if (newType.getTags() == TAGS_FILTER) {      m_filterType = newType.getSelectedTag().getID();    }  }       /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String cTipText() {    return "The complexity parameter C.";  }    /**   * Get the value of C.   *   * @return Value of C.   */  public double getC() {        return m_C;  }    /**   * Set the value of C.   *   * @param v  Value to assign to C.   */  public void setC(double v) {        m_C = v;  }  /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String toleranceParameterTipText() {    return "The tolerance parameter (shouldn't be changed).";  }  /**   * Get the value of tolerance parameter.   * @return Value of tolerance parameter.   */  public double getToleranceParameter() {        return m_tol;  }    /**   * Set the value of tolerance parameter.   * @param v  Value to assign to tolerance parameter.   */  public void setToleranceParameter(double v) {        m_tol = v;  }  /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String epsTipText() {    return "The epsilon for round-off error (shouldn't be changed).";  }    /**   * Get the value of eps.   * @return Value of eps.   */  public double getEps() {        return m_eps;  }    /**   * Set the value of eps.   * @param v  Value to assign to epsilon.   */  public void setEps(double v) {        m_eps = v;  }  /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品理论电影在线| 国产精品麻豆网站| av不卡免费在线观看| 五月婷婷综合网| 国产精品午夜免费| 日韩免费视频一区| 欧美日韩亚洲综合一区二区三区| 国产激情视频一区二区在线观看| 亚洲电影你懂得| 综合自拍亚洲综合图不卡区| 精品精品国产高清a毛片牛牛| 欧洲亚洲国产日韩| 成人黄色小视频| 黄色日韩网站视频| 日本网站在线观看一区二区三区 | 91丨porny丨在线| 美女久久久精品| 丝袜亚洲精品中文字幕一区| 亚洲欧洲精品一区二区三区 | 欧亚洲嫩模精品一区三区| 国产成人精品一区二区三区四区| 日本va欧美va瓶| 亚洲成人免费观看| 亚洲精品成人a在线观看| 国产精品欧美久久久久无广告 | 欧美三级视频在线观看| 91亚洲国产成人精品一区二三 | 欧美精选在线播放| 欧美日韩中文国产| 欧美综合欧美视频| 欧美曰成人黄网| 在线观看视频一区二区| 一本到一区二区三区| 91丨porny丨户外露出| 成人国产精品免费观看| 成人毛片在线观看| av中文字幕在线不卡| 成人av网址在线| 国产91在线观看丝袜| 国产电影一区二区三区| 国产福利电影一区二区三区| 国产精品1区二区.| 成人性色生活片| 白白色 亚洲乱淫| 91小宝寻花一区二区三区| 91捆绑美女网站| 色一情一伦一子一伦一区| 欧美自拍偷拍午夜视频| 欧美午夜精品久久久久久超碰| 欧美午夜影院一区| 欧美日韩高清在线| 日韩免费视频线观看| 久久婷婷色综合| 国产精品精品国产色婷婷| 亚洲男人天堂一区| 日日摸夜夜添夜夜添精品视频| 秋霞av亚洲一区二区三| 国产一区二区三区免费看| 粉嫩13p一区二区三区| 99久久er热在这里只有精品15| 色呦呦一区二区三区| 欧美日韩国产免费一区二区| 日韩三级中文字幕| 国产色综合一区| 亚洲欧洲99久久| 亚洲高清不卡在线| 久久99精品国产.久久久久久| 国产二区国产一区在线观看| 91香蕉国产在线观看软件| 欧美日韩mp4| 国产日韩精品视频一区| 亚洲免费电影在线| 日本aⅴ免费视频一区二区三区| 国内久久婷婷综合| 一本久久精品一区二区| 日韩欧美亚洲另类制服综合在线| 精品成a人在线观看| 亚洲日本va午夜在线电影| 男人的天堂亚洲一区| 不卡的av在线| 日韩美女在线视频| 久久久久综合网| 亚洲一区二区三区国产| 国产在线精品一区在线观看麻豆| 91麻豆国产香蕉久久精品| 欧美一区二区福利在线| 国产精品成人免费| 麻豆精品视频在线| 色婷婷精品大在线视频| 久久尤物电影视频在线观看| 一区二区三区欧美久久| 国产一区二区三区电影在线观看| 在线观看av一区| 国产日本欧美一区二区| 日韩一区精品视频| 99视频一区二区| 欧美精品一区二区三区四区 | 综合久久久久综合| 精久久久久久久久久久| 欧美日韩情趣电影| 国产精品短视频| 国内国产精品久久| 欧美日韩国产一级| 亚洲美女在线国产| 成人一区二区三区| 精品欧美乱码久久久久久1区2区| 一区二区三区视频在线观看| 国产精品一区二区在线观看网站| 91麻豆精品国产91久久久久久 | 成人免费视频免费观看| 91精品国产黑色紧身裤美女| 亚洲另类中文字| 成人国产精品免费| 久久综合九色综合欧美亚洲| 日韩精品一二区| 欧美日韩一区二区三区四区五区| 国产精品国产三级国产有无不卡| 国产在线精品一区二区三区不卡| 91精品国产乱| 天天影视色香欲综合网老头| 欧日韩精品视频| 一区二区三区欧美激情| 色综合色综合色综合色综合色综合 | 国产米奇在线777精品观看| 欧美一区二区三区免费| 亚洲高清免费视频| 欧美综合欧美视频| 亚洲一区在线观看网站| 91传媒视频在线播放| 亚洲精品国产视频| 91丨porny丨首页| 亚洲免费看黄网站| 日本韩国欧美在线| 亚洲国产成人av好男人在线观看| 91视频一区二区三区| 亚洲色欲色欲www| 91偷拍与自偷拍精品| 国产精品久久久久影院亚瑟 | 日韩久久精品一区| 久久国产精品露脸对白| 精品国精品国产| 国产精品自拍一区| 国产精品人成在线观看免费 | 337p日本欧洲亚洲大胆精品 | 五月天精品一区二区三区| 欧美日韩在线精品一区二区三区激情| 亚洲久本草在线中文字幕| 色综合色综合色综合色综合色综合| 伊人色综合久久天天人手人婷| 在线视频观看一区| 日韩va欧美va亚洲va久久| 日韩一区二区三区视频在线 | 99re成人精品视频| 亚洲欧美日韩国产中文在线| 欧美午夜视频网站| 日本免费在线视频不卡一不卡二 | 国产精品美女久久久久aⅴ | 亚洲综合激情另类小说区| 337p亚洲精品色噜噜噜| 免费看日韩a级影片| 久久久久久久久岛国免费| av中文字幕亚洲| 亚洲综合免费观看高清完整版 | 在线亚洲免费视频| 日日噜噜夜夜狠狠视频欧美人| 亚洲精品在线电影| 99这里都是精品| 亚洲成a人v欧美综合天堂下载| 精品久久久久久久久久久久包黑料| 成人在线一区二区三区| 亚洲免费高清视频在线| 日韩片之四级片| aa级大片欧美| 麻豆91精品视频| 国产精品电影一区二区| 欧美日韩一区二区三区四区| 国产一区二区三区在线观看免费视频 | 国产成人精品1024| 亚洲高清久久久| 欧美国产视频在线| 91麻豆精品久久久久蜜臀| 丰满少妇在线播放bd日韩电影| 一区二区久久久久久| 欧美精品一区二区久久婷婷| 91美女片黄在线| 国内精品久久久久影院一蜜桃| 亚洲乱码日产精品bd| 日韩一区二区精品| 91久久久免费一区二区| 国产一区二区三区蝌蚪| 亚洲永久免费av| 久久精品日韩一区二区三区| 日韩天堂在线观看| 午夜日韩在线观看| 亚洲欧洲国产日本综合| 欧美亚洲动漫精品| 久久66热re国产| 亚洲动漫第一页| 亚洲欧美在线另类| www国产精品av|