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

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

?? clc.c

?? 聚類算法全集以及內附數據集
?? C
?? 第 1 頁 / 共 3 頁
字號:
    #endif    printf("%s\n", DESCRIPTION);    printf("%s\n", VERSION);    printf("-m#      conjunction for membership degrees         "                    "(default: product)\n");    printf("-c#      conjunction for coincidence matrix entries "                    "(default: product)\n");    printf("-b/f/r#  blank characters, field and record separators\n"           "         (default: \" \\t\\r\", \" \\t\", \"\\n\")\n");    printf("clsfile  file to read cluster set description from\n");    #ifdef MATVERSION    printf("patfile  pattern file to read (no header, only numbers)\n");    #else    printf("-d       use default header "                    "(field names = field numbers)\n");    printf("-h       read table header (field names) from hdrfile\n");    printf("hdrfile  file containing table header (field names)\n");    printf("tabfile  table file to read "                    "(field names in first record)\n");    #endif    return 0;                   /* print a usage message */  }                             /* and abort the program */  /* --- evaluate arguments --- */  for (i = 1; i < argc; i++) {  /* traverse arguments */    s = argv[i];                /* get option argument */    if (optarg) { *optarg = s; optarg = NULL; continue; }    if ((*s == '-') && *++s) {  /* -- if argument is an option */      while (1) {               /* traverse characters */        switch (*s++) {         /* evaluate option */          case '!': help();                break;          case 'b': optarg = &blanks;      break;          case 'f': optarg = &fldseps;     break;          case 'r': optarg = &recseps;     break;          case 'm': optarg = &conjfn1;     break;          case 'c': optarg = &conjfn2;     break;          #ifndef MATVERSION          case 'd': flags |= AS_DFLT;      break;          case 'h': optarg = &fn_hdr;      break;          #endif          default : error(E_OPTION, *--s); break;        }                       /* set option variables */        if (!*s) break;         /* if at end of string, abort loop */        if (optarg) { *optarg = s; optarg = NULL; break; }      } }                       /* get option argument */    else {                      /* -- if argument is no option */      switch (k++) {            /* evaluate non-option */        case  0: fn_cls1 = s;     break;        case  1: fn_cls2 = s;     break;        case  2: fn_in   = s;     break;        default: error(E_ARGCNT); break;      }                         /* note filenames */    }  }  if (optarg) error(E_OPTARG);  /* check option argument and */  if (k != 3) error(E_ARGCNT);  /* the number of arguments */  i = (!fn_cls1 || !*fn_cls1) ? 1 : 0;  if  (!fn_cls2 || !*fn_cls2) i++;  if  (!fn_in   || !*fn_in  ) i++;  #ifndef MATVERSION  if (fn_hdr) {                 /* set the header file flag */    flags = AS_ATT | (flags & ~AS_DFLT);    if (strcmp(fn_hdr, "-") == 0) fn_hdr = "";    if (!*fn_hdr) i++;          /* convert "-" to "" and */  }                             /* count assignment of stdin */  #endif                        /* check assignments of stdin: */  if (i > 1) error(E_STDIN);    /* stdin must not be used twice */  cfc1 = code(conjtab,conjfn1); /* get and check first  conjunction */  if (cfc1 < 0) error(E_CONJFN, conjfn1);  cfc2 = code(conjtab,conjfn2); /* get and check second conjunction */  if (cfc2 < 0) error(E_CONJFN, conjfn2);  /* --- read first cluster set --- */  scan = sc_create(fn_cls1);     /* create a scanner */  if (!scan) error((!fn_cls1 || !*fn_cls1) ? E_NOMEM:E_FOPEN, fn_cls1);  fprintf(stderr, "\nreading %s ... ", sc_fname(scan));  if (sc_nexter(scan) < 0) error(E_PARSE, sc_fname(scan));  #ifdef MATVERSION  clset1 = cls_parse(scan);     /* parse the input cluster set */  #else  attset = as_create("domains", att_delete);  if (!attset) error(E_NOMEM);  /* create an attribute set */  if ((as_parse(attset, scan, AT_ALL) != 0)  ||  (as_attcnt(attset) <= 0)) /* parse the attribute set */    error(E_PARSE, sc_fname(scan));  clset1 = cls_parsex(scan, attset, 0);  #endif                        /* parse the cluster set */  if (!clset1 || !sc_eof(scan)) error(E_PARSE, sc_fname(scan));  #ifdef MATVERSION  attcnt = cls_incnt(clset1);   /* get the number of attributes */  #else  attcnt = as_attcnt(attset);   /* get the number of attributes */  #endif  clscnt = cls_clscnt(clset1);  /* get the number of clusters */  fprintf(stderr, "[%d attribute(s), ",   attcnt);  fprintf(stderr, "%d cluster(s)] done.", clscnt);  sc_delete(scan); scan = NULL; /* delete the scanner */  /* --- read second cluster set --- */  scan = sc_create(fn_cls2);     /* create a scanner */  if (!scan) error((!fn_cls2 || !*fn_cls2) ? E_NOMEM:E_FOPEN, fn_cls1);  fprintf(stderr, "\nreading %s ... ", sc_fname(scan));  if (sc_nexter(scan) < 0) error(E_PARSE, sc_fname(scan));  #ifdef MATVERSION  clset2 = cls_parse(scan);     /* parse the input cluster set */  #else  dummy = as_create("domains", att_delete);  if (!dummy) error(E_NOMEM);   /* create an attribute set */  if ((as_parse(dummy, scan, AT_ALL) != 0)  ||  (as_attcnt(dummy) <= 0))  /* parse the attribute set */    error(E_PARSE, sc_fname(scan));  as_delete(dummy);             /* delete the attribute set */  clset2 = cls_parsex(scan, attset, 0);  #endif                        /* parse the cluster set */  if (!clset2 || !sc_eof(scan)) error(E_PARSE, sc_fname(scan));  i = cls_clscnt(clset2);       /* get the number of clusters */  fprintf(stderr, "[%d attribute(s), ",   attcnt);  fprintf(stderr, "%d cluster(s)] done.", i);  sc_delete(scan); scan = NULL; /* delete the scanner */  if (i != clscnt) error(E_DIFFCNT, clscnt, i);  /* --- create partition matrices --- */  pmat1 = pm_create(clscnt);    /* create a partition matrix */  pmat2 = pm_create(clscnt);    /* for each of the cluster sets */  if (!pmat1 && !pmat2) error(E_NOMEM);  #ifdef MATVERSION  /* --- process patterns --- */  if (fn_in && *fn_in)          /* if an file name is given, */    in = fopen(fn_in, "r");     /* open the file for reading */  else {                        /* if no fine name is given, */    in = stdin; fn_in = "<stdin>"; }       /* use std. input */  fprintf(stderr, "\nreading %s ... ", fn_in);  if (!in) error(E_FOPEN, fn_in);  tfscan = tfs_create();        /* create a table file scanner and */  if (!tfscan) error(E_NOMEM);  /* set the separator characters */  if (blanks)  tfs_chars(tfscan, TFS_BLANK,  blanks);  if (fldseps) tfs_chars(tfscan, TFS_FLDSEP, fldseps);  if (recseps) tfs_chars(tfscan, TFS_RECSEP, recseps);  err = tfs_err(tfscan);        /* get the error information */  pat = vec_readx(tfscan, in, &attcnt);  if (!pat) {                   /* read the first training pattern */    if (err->code >= 0) error(E_FREAD, fn_in);    error(err->code, fn_in, 1, err->s, err->fld, err->exp);  }                             /* check for success */  do {                          /* pattern read loop */    cls_exec(clset1, pat,NULL); /* execute the first cluster set */    if (pm_addcol(pmat1, clset1) < 0)      error(E_NOMEM);           /* store the membership degrees */    cls_exec(clset2, pat,NULL); /* execute the second cluster set */    if (pm_addcol(pmat2, clset2) < 0)      error(E_NOMEM);           /* store the membership degrees */    patcnt++;                   /* count pattern and read next */  } while (vec_read(pat, attcnt, tfscan, in) == 0);  if (err->code < 0)            /* check for an error */    error(err->code, fn_in, patcnt +1, err->s, err->fld, err->exp);  if (tfs_delim(tfscan) != TFS_EOF)  /* check for end of file */    error(E_VALUE, fn_in, patcnt +1, "\"\"", 1);  if (in != stdin) fclose(in);  /* close the input file and */  in = NULL;                    /* clear the file variable */  fprintf(stderr, "[%d pattern(s)] done.\n", patcnt);  #else  /* --- process patterns --- */  fprintf(stderr, "\n");        /* terminate previous log message */  as_chars(attset, blanks, fldseps, recseps, "");  in = io_hdr(attset, fn_hdr, fn_in, flags|AS_NOXATT, 1);  if (!in) error(1);            /* read the table header */  k = AS_INST | (k & ~AS_ATT);  /* write the attribute names */  f = AS_INST | (flags & ~(AS_ATT|AS_DFLT));  i = ((flags & AS_DFLT) && !(flags & AS_ATT))    ? 0 : as_read(attset, in, f);  while (i == 0) {              /* record read loop */    tplcnt++;                   /* count tuple and sum its weight */    tplwgt += w = as_getwgt(attset);    cls_valuex(clset1, NULL);   /* set the data from a tuple and */    cls_exec(clset1,NULL,NULL); /* execute the first cluster set */    if (pm_addcol(pmat1, clset1) < 0)      error(E_NOMEM);           /* store the membership degrees */    cls_valuex(clset2, NULL);   /* set the data from a tuple and */    cls_exec(clset2,NULL,NULL); /* execute the second cluster set */    if (pm_addcol(pmat2, clset2) < 0)      error(E_NOMEM);           /* store the membership degrees */    i = as_read(attset, in, f); /* try to read the next record */  }  if (i < 0) {                  /* if an error occurred, */    err = as_err(attset);       /* get the error information */    tplcnt += (flags & (AS_ATT|AS_DFLT)) ? 1 : 2;    io_error(i, fn_in, tplcnt, err->s, err->fld, err->exp);    error(1);                   /* print an error message */  }                             /* and abort the program */  if (in != stdin) fclose(in);  /* close the table file and */  in = NULL;                    /* clear the file variable */  fprintf(stderr, "[%d/%g tuple(s)] done.\n", tplcnt, tplwgt);  #endif  /* --- compute and print evaluations --- */  for (i = 8; --i >= 0; ) eval[i] = 0;  if (pm_cmp(pmat1, pmat2, cfc1, cfc2, eval) < 0)    error(E_NOMEM);             /* compare the partition matrices */  printf("mean squared difference      : %g\n", eval[PM_DIFF]);  printf("cross-classification accuracy: %g\n", eval[PM_ACC]);  printf("F1 measure                   : %g\n", eval[PM_F1]);  printf("Rand statistic               : %g\n", eval[PM_RAND]);  printf("Jaccard coefficient          : %g\n", eval[PM_JACCARD]);  printf("Folkes-Mallows index         : %g\n", eval[PM_FOLKES]);  printf("Hubert index                 : %g\n", eval[PM_HUBERT]);  /* --- clean up --- */  #ifndef NDEBUG  #ifdef MATVERSION  tfs_delete(tfscan);           /* delete the table file scanner */  #else  as_delete(attset);            /* delete the attribute set */  #endif  pm_delete(pmat1);             /* delete the partition matrices */  pm_delete(pmat2);  cls_delete(clset1);           /* delete the cluster sets */  cls_delete(clset2);  #endif  return 0;                     /* return 'ok' */}  /* main() */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久亚洲一区二区三区四区| 日韩精品一区二区三区在线| 制服.丝袜.亚洲.中文.综合| 久久久久久久久伊人| 亚洲欧美福利一区二区| 精品无码三级在线观看视频| 色香蕉久久蜜桃| 国产色爱av资源综合区| 日韩成人伦理电影在线观看| 国产麻豆成人精品| 欧美日韩精品久久久| 国产精品三级久久久久三级| 麻豆成人免费电影| 欧美在线一二三| 国产精品免费免费| 极品少妇xxxx精品少妇偷拍| 精品视频在线免费看| 国产精品免费看片| 韩日av一区二区| 欧美久久久久中文字幕| 一区二区三区产品免费精品久久75| 国产精品911| 2020日本不卡一区二区视频| 亚洲成在线观看| 色猫猫国产区一区二在线视频| 久久九九久精品国产免费直播| 日韩电影在线看| 欧美综合色免费| 亚洲欧美激情视频在线观看一区二区三区 | 国产自产视频一区二区三区| 91精品国产手机| 天堂成人免费av电影一区| 色综合久久综合网| 亚洲色图一区二区| 99精品久久99久久久久| 亚洲欧美视频在线观看视频| 国产69精品久久99不卡| 精品毛片乱码1区2区3区| 美女国产一区二区| 日韩一级大片在线观看| 免费成人在线播放| 久久在线观看免费| 粉嫩蜜臀av国产精品网站| 国产精品久久毛片av大全日韩| 高清shemale亚洲人妖| 国产精品久久久久久久裸模| av一区二区三区四区| 亚洲精品成a人| 欧美日韩精品三区| 强制捆绑调教一区二区| 久久午夜羞羞影院免费观看| 国产传媒久久文化传媒| 国产精品福利一区| 欧美在线观看视频在线| 天天操天天综合网| 久久综合999| 成人美女在线观看| 亚洲国产成人va在线观看天堂| 欧美日韩一区视频| 一区二区高清在线| 欧美日韩在线一区二区| 国产午夜精品福利| 亚洲va欧美va人人爽| 欧美美女喷水视频| 亚洲自拍偷拍图区| 久久综合九色综合97_久久久| 老司机精品视频在线| 欧美成人在线直播| 日本不卡123| 久久色中文字幕| 欧美在线制服丝袜| 天天综合色天天| 欧美v日韩v国产v| 久久激情五月婷婷| 一本大道av一区二区在线播放 | 国产精品资源在线观看| 久久女同性恋中文字幕| 首页欧美精品中文字幕| 国产亚洲福利社区一区| 国产精品亚洲综合一区在线观看| 日韩美一区二区三区| 精品无人区卡一卡二卡三乱码免费卡| 日韩欧美专区在线| 2024国产精品| 91精品国产日韩91久久久久久| 亚洲高清视频中文字幕| 欧美成人a视频| 黄色日韩网站视频| 欧美日韩一区 二区 三区 久久精品 | 欧美aⅴ一区二区三区视频| 91精品国产综合久久久蜜臀粉嫩| 免费一级片91| 亚洲欧美激情一区二区| 欧美人与性动xxxx| 国产综合成人久久大片91| 亚洲国产精品成人综合| 91免费观看国产| 国产午夜亚洲精品午夜鲁丝片| 欧美日韩精品一区二区三区四区| 三级精品在线观看| 亚洲国产成人一区二区三区| 91丝袜呻吟高潮美腿白嫩在线观看| 污片在线观看一区二区| 欧美日韩不卡一区二区| 国产一区二区三区高清播放| 亚洲色图在线播放| 欧美xxx久久| 欧美伊人久久大香线蕉综合69 | 欧美一区二区三级| 亚洲女厕所小便bbb| 中文字幕av在线一区二区三区| 色婷婷av一区二区三区软件| 麻豆精品新av中文字幕| 亚洲国产精华液网站w| 欧美日韩中文一区| 色噜噜狠狠色综合中国| 国产精品综合二区| 美女视频第一区二区三区免费观看网站| 国产欧美视频一区二区| 欧美怡红院视频| 欧美日韩亚洲不卡| 成人ar影院免费观看视频| 午夜不卡av免费| 亚洲综合区在线| 暴力调教一区二区三区| 91麻豆蜜桃一区二区三区| 国产乱色国产精品免费视频| 亚洲国产aⅴ成人精品无吗| 国产精品免费视频一区| 亚洲欧美日韩久久精品| 26uuu国产日韩综合| 欧美一区二区女人| 欧美自拍偷拍一区| 国产盗摄女厕一区二区三区| 顶级嫩模精品视频在线看| 国产精品一级片| 精品在线免费视频| 久久av老司机精品网站导航| 国产在线不卡视频| 久久99国产精品尤物| 日韩av一区二区在线影视| 亚洲靠逼com| 国产精品三级视频| 亚洲激情六月丁香| 亚洲欧洲综合另类| 一区在线播放视频| 中文欧美字幕免费| 51精品秘密在线观看| 欧美日韩免费在线视频| 在线观看中文字幕不卡| 在线观看成人小视频| 久久精品999| 91亚洲男人天堂| 91猫先生在线| 欧美偷拍一区二区| 色综合久久天天| 日韩亚洲欧美在线观看| 精品久久久久久久人人人人传媒| 日韩一本二本av| 精品卡一卡二卡三卡四在线| 久久综合成人精品亚洲另类欧美 | 精品国产a毛片| 国产亚洲一区二区三区| 97se狠狠狠综合亚洲狠狠| 在线综合亚洲欧美在线视频| 日韩美一区二区三区| 国产亚洲综合在线| 国产精品伦理一区二区| 久久久www成人免费无遮挡大片| 欧美成人官网二区| 久久精品日产第一区二区三区高清版 | 中文字幕一区二区三区不卡| 色成人在线视频| 久久久精品欧美丰满| 日韩亚洲欧美中文三级| 久久99久久99精品免视看婷婷| 91麻豆精品国产自产在线| 日韩精品一区二区三区在线观看 | 成人黄动漫网站免费app| 国产精品一二三四区| 欧美日本一区二区| 欧美日韩aaaaa| 精品三级av在线| 国产午夜精品一区二区| 3d动漫精品啪啪1区2区免费| 337p粉嫩大胆噜噜噜噜噜91av| 精品国产免费久久| 精品国产伦一区二区三区免费| xfplay精品久久| 欧美国产综合色视频| 中文字幕精品一区二区三区精品| 日韩高清不卡一区二区三区| 亚洲国产精品久久一线不卡| 韩国欧美国产一区| 国内国产精品久久| a在线欧美一区| 中文字幕不卡三区| 国产在线播放一区| 日韩毛片在线免费观看| 欧美日韩第一区日日骚|