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

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

?? dnconditionalestimator.java

?? 數據挖掘estimators算法
?? JAVA
字號:
/* *    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. *//* *    DNConditionalEstimator.java *    Copyright (C) 1999 Len Trigg * */package weka.estimators;import java.util.*;import weka.core.*;/**  * Conditional probability estimator for a discrete domain conditional upon * a numeric domain. * * @author Len Trigg (trigg@cs.waikato.ac.nz) * @version $Revision: 1.4 $ */public class DNConditionalEstimator implements ConditionalEstimator {  /** Hold the sub-estimators */  private NormalEstimator [] m_Estimators;  /** Hold the weights for each of the sub-estimators */  private DiscreteEstimator m_Weights;  /**   * Constructor   *   * @param numSymbols the number of symbols    * @param precision the  precision to which numeric values are given. For   * example, if the precision is stated to be 0.1, the values in the   * interval (0.25,0.35] are all treated as 0.3.    */  public DNConditionalEstimator(int numSymbols, double precision) {    m_Estimators = new NormalEstimator [numSymbols];    for(int i = 0; i < numSymbols; i++) {	m_Estimators[i] = new NormalEstimator(precision);    }    m_Weights = new DiscreteEstimator(numSymbols, true);  }  /**   * Add a new data value to the current estimator.   *   * @param data the new data value    * @param given the new value that data is conditional upon    * @param weight the weight assigned to the data value    */  public void addValue(double data, double given, double weight) {    m_Estimators[(int)data].addValue(given, weight);    m_Weights.addValue((int)data, weight);  }  /**   * Get a probability estimator for a value   *   * @param data the value to estimate the probability of   * @param given the new value that data is conditional upon    * @return the estimator for the supplied value given the condition   */  public Estimator getEstimator(double given) {    Estimator result = new DiscreteEstimator(m_Estimators.length,false);    for(int i = 0; i < m_Estimators.length; i++) {      result.addValue(i,m_Weights.getProbability(i)		      *m_Estimators[i].getProbability(given));    }    return result;  }  /**   * Get a probability estimate for a value   *   * @param data the value to estimate the probability of   * @param given the new value that data is conditional upon    * @return the estimated probability of the supplied value   */  public double getProbability(double data, double given) {    return getEstimator(given).getProbability(data);  }  /** Display a representation of this estimator */  public String toString() {    String result = "DN Conditional Estimator. "       + m_Estimators.length + " sub-estimators:\n";    for(int i = 0; i < m_Estimators.length; i++) {      result += "Sub-estimator " + i + ": " + m_Estimators[i];    }    result += "Weights of each estimator given by " + m_Weights;    return result;  }  /**   * Main method for testing this class.   *   * @param argv should contain a sequence of pairs of integers which   * will be treated as pairs of symbolic, numeric.   */  public static void main(String [] argv) {        try {      if (argv.length == 0) {	System.out.println("Please specify a set of instances.");	return;      }      int currentA = Integer.parseInt(argv[0]);      int maxA = currentA;      int currentB = Integer.parseInt(argv[1]);      int maxB = currentB;      for(int i = 2; i < argv.length - 1; i += 2) {	currentA = Integer.parseInt(argv[i]);	currentB = Integer.parseInt(argv[i + 1]);	if (currentA > maxA) {	  maxA = currentA;	}	if (currentB > maxB) {	  maxB = currentB;	}      }      DNConditionalEstimator newEst = new DNConditionalEstimator(maxA + 1,								 1);      for(int i = 0; i < argv.length - 1; i += 2) {	currentA = Integer.parseInt(argv[i]);	currentB = Integer.parseInt(argv[i + 1]);	System.out.println(newEst);	System.out.println("Prediction for " + currentA + '|' + currentB 			   + " = "			   + newEst.getProbability(currentA, currentB));	newEst.addValue(currentA, currentB, 1);      }    } catch (Exception e) {      System.out.println(e.getMessage());    }  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品久久久久久久人人人人传媒| 在线精品视频一区二区三四| 天堂在线亚洲视频| 亚洲愉拍自拍另类高清精品| 自拍偷在线精品自拍偷无码专区| 国产欧美视频在线观看| 久久久91精品国产一区二区精品| 亚洲精品一区在线观看| 精品久久人人做人人爽| 久久先锋影音av| 国产日韩av一区二区| 国产精品入口麻豆原神| 中文字幕在线免费不卡| 亚洲主播在线观看| 日本不卡免费在线视频| 韩国女主播一区二区三区| 激情久久久久久久久久久久久久久久| 国产综合成人久久大片91| 粉嫩av亚洲一区二区图片| 成人免费毛片a| 欧美三级电影在线观看| 欧美电影在线免费观看| 精品国产伦一区二区三区观看体验| 日韩一区二区免费在线观看| 精品国产亚洲在线| 国产精品成人免费精品自在线观看 | 美女一区二区三区| 国产一区二区三区高清播放| 99久久国产免费看| 欧美美女黄视频| 国产日韩欧美精品综合| 亚洲综合一区二区精品导航| 久久99国产精品久久| www.亚洲免费av| 欧美一级日韩一级| 18欧美亚洲精品| 久久99精品久久久| 99riav久久精品riav| 91精品一区二区三区在线观看| 国产日韩欧美精品在线| 香蕉成人啪国产精品视频综合网 | 中文字幕国产一区| 亚洲一区二区欧美日韩| 国产福利一区在线| 欧美精品久久久久久久多人混战 | 不卡av在线网| 91精品国产欧美日韩| 国产精品亲子伦对白| 五月天丁香久久| av电影天堂一区二区在线观看| 欧美军同video69gay| 国产精品午夜春色av| 日本不卡中文字幕| 色欧美片视频在线观看在线视频| 精品久久久久99| 亚洲与欧洲av电影| 99精品久久久久久| 久久久久久99精品| 久久精品国产亚洲高清剧情介绍 | 精品国产一区二区三区av性色 | 国产欧美精品一区二区三区四区 | 欧美一区二区三区四区视频| 国产精品女主播av| 狠狠色丁香久久婷婷综合_中| 欧美亚洲动漫制服丝袜| 亚洲视频香蕉人妖| 91在线观看下载| 国产欧美日韩在线看| 国产一区三区三区| 精品av综合导航| 日韩和欧美一区二区| 精品视频一区二区三区免费| 亚洲欧美视频在线观看视频| 99热这里都是精品| 成人免费视频在线观看| 成人免费看视频| 亚洲欧美自拍偷拍| 色综合天天性综合| 一区二区三区在线免费观看| 欧美日韩精品欧美日韩精品一| 亚洲欧美电影院| 欧美性色综合网| 亚洲国产欧美在线| 777色狠狠一区二区三区| 日本v片在线高清不卡在线观看| 欧美色视频在线观看| 偷偷要91色婷婷| 精品久久久久久最新网址| 精品综合免费视频观看| 2017欧美狠狠色| 国产一区二区三区综合| 国产欧美一区二区三区鸳鸯浴| 成av人片一区二区| 亚洲一区欧美一区| 日韩欧美一区二区久久婷婷| 激情综合网最新| 一区二区中文字幕在线| 91国产精品成人| 视频一区二区国产| 久久精品视频一区二区三区| 不卡欧美aaaaa| 日韩在线a电影| 久久久不卡网国产精品一区| 99re热视频精品| 午夜日韩在线观看| 久久久久国产一区二区三区四区| 91视频91自| 激情综合网av| 亚洲在线观看免费视频| 久久亚洲私人国产精品va媚药| 成人免费视频视频在线观看免费| 亚洲成人在线免费| 国产精品网站在线| 欧美一区二区三区在线| 成人毛片视频在线观看| 日韩国产在线一| 中文字幕亚洲在| 精品国产乱码久久久久久1区2区 | 美女脱光内衣内裤视频久久网站 | 色呦呦国产精品| 激情伊人五月天久久综合| 中文字幕字幕中文在线中不卡视频| 欧美精品视频www在线观看| 国产大陆亚洲精品国产| 婷婷六月综合亚洲| 中文字幕一区二区视频| 精品入口麻豆88视频| 欧美亚洲图片小说| 99精品国产热久久91蜜凸| 九色综合国产一区二区三区| 亚洲一区二区三区在线看| 国产精品成人在线观看| 久久精品日产第一区二区三区高清版| 欧美午夜寂寞影院| 色偷偷88欧美精品久久久| 成人精品电影在线观看| 国产美女视频91| 免费成人在线影院| 日韩电影一二三区| 日韩精品成人一区二区在线| 亚洲女同一区二区| 中文字幕中文字幕在线一区 | 欧美国产精品中文字幕| 日韩欧美一区二区视频| 欧美日韩mp4| 制服丝袜亚洲播放| 欧美日韩国产在线播放网站| 91污片在线观看| 91亚洲国产成人精品一区二区三 | 亚洲区小说区图片区qvod| 国产欧美精品一区二区色综合| 精品国产百合女同互慰| 欧美岛国在线观看| wwwwww.欧美系列| 久久久久久久久免费| 国产校园另类小说区| 久久久久久99久久久精品网站| 久久免费的精品国产v∧| 国产日韩精品一区二区三区| 国产拍揄自揄精品视频麻豆| 国产欧美日韩久久| 中文一区二区完整视频在线观看| 国产精品国产自产拍高清av| 国产精品国产三级国产专播品爱网| **欧美大码日韩| 亚洲一二三四在线观看| 日韩精品成人一区二区在线| 久久99国产精品久久99果冻传媒| 国产精品综合在线视频| 成人精品视频一区二区三区尤物| av不卡免费电影| 欧美日韩中字一区| 337p日本欧洲亚洲大胆色噜噜| 国产视频一区二区在线| ㊣最新国产の精品bt伙计久久| 亚洲欧美电影院| 三级久久三级久久久| 国产精品1区2区3区| 色8久久人人97超碰香蕉987| 欧美另类变人与禽xxxxx| 久久这里都是精品| 亚洲男女毛片无遮挡| 日韩不卡免费视频| 成人黄色片在线观看| 欧美精品色综合| 国产欧美精品一区| 午夜日韩在线电影| 成人av电影在线观看| 欧美美女喷水视频| 国产精品女上位| 久久国产夜色精品鲁鲁99| 91小视频免费观看| 久久久亚洲高清| 偷拍日韩校园综合在线| 成人黄色在线网站| 日韩小视频在线观看专区| 亚洲视频一区在线观看| 国产美女久久久久| 91精选在线观看| 亚洲欧美视频在线观看|