/dports/math/py-spectral/spectral-0.22.4/spectral/algorithms/ |
H A D | clustering.py | 140 delta = (boxMax - boxMin) / (nclusters - 1) 141 for i in range(nclusters): 154 for k in range(nclusters): 161 sums = np.zeros((nclusters, nbands), 'd') 162 counts = ([0] * nclusters) 169 for i in range(nclusters): 310 delta = (boxMax - boxMin) / (nclusters - 1) 312 for i in range(nclusters): 315 distances = np.empty((N, nclusters), float) 324 for i in range(nclusters): [all …]
|
/dports/math/ggobi/ggobi-2.1.11/src/ |
H A D | exclusion.c | 42 gint nclusters = 0; in symbol_table_populate() local 52 nclusters++; in symbol_table_populate() 61 return nclusters; in symbol_table_populate() 68 gint n, nclusters; in clusters_set() local 71 nclusters = symbol_table_populate (d); in clusters_set() 75 g_realloc (d->clusv, nclusters * sizeof (clusterd)); in clusters_set() 81 for (i = d->nclusters; i < nclusters; i++) in clusters_set() 114 if (nclusters > 0 && nclusters != 1) { in clusters_set() 116 for (n = 0; n < nclusters; n++) { in clusters_set() 129 d->nclusters = nclusters; in clusters_set()
|
/dports/science/afni/afni-AFNI_21.3.16/src/avovk/ |
H A D | Aclustering_floatNOMASK.c | 317 int dummy = nclusters; in getvoxlclusterdist() 372 for (k = 0; k < nclusters; k++){ in getvoxlclustersdist() 446 for (i = 0; i < nclusters; i++) in example_kmeans() 457 { int dummy = nclusters; in example_kmeans() 492 count = malloc(nclusters*sizeof(int)); in example_kmeans() 503 for (i = 0; i < nclusters-1; i++) in example_kmeans() 505 for (j = 1+i; j < nclusters; j++) in example_kmeans() 523 for (i = 0; i < nclusters; i++){ in example_kmeans() 540 nclusters, nrows, ncols, vcdata); in example_kmeans() 542 nclusters, nrows, ncols, vcdata); in example_kmeans() [all …]
|
H A D | thd_segtools_fNM.c | 487 dummy = nclusters; in getvoxlclusterdist() 627 c = nclusters; in color_palette() 629 nsteps = 256/nclusters; in color_palette() 637 if (nclusters < 3) in color_palette() 656 if (nclusters > 1) { in color_palette() 668 if (nclusters > 2) { in color_palette() 681 if (nclusters > 3) { in color_palette() 694 if (nclusters > 4) { in color_palette() 707 if (nclusters > 5) { in color_palette() 814 kcluster( nclusters, in example_kmeans() [all …]
|
H A D | Aclustering_NOMASK.c | 305 int nclusters, int nrows, int ncols) in getvoxlclusterdist() argument 315 int dummy = nclusters; in getvoxlclusterdist() 389 for (i = 0; i < nclusters; i++) in example_kmeans() 400 { int dummy = nclusters; in example_kmeans() 434 index = malloc(nclusters*sizeof(int*)); in example_kmeans() 435 count = malloc(nclusters*sizeof(int)); in example_kmeans() 446 for (i = 0; i < nclusters-1; i++) in example_kmeans() 448 for (j = 1+i; j < nclusters; j++) in example_kmeans() 466 for (i = 0; i < nclusters; i++){ in example_kmeans() 483 nclusters, nrows, ncols); in example_kmeans() [all …]
|
H A D | Aclustering.c | 336 int nclusters, int nrows, int ncols) in getvoxlclusterdist() argument 346 int dummy = nclusters; in getvoxlclusterdist() 421 for (i = 0; i < nclusters; i++) in example_kmeans() 442 { int dummy = nclusters; in example_kmeans() 476 index = malloc(nclusters*sizeof(int*)); in example_kmeans() 477 count = malloc(nclusters*sizeof(int)); in example_kmeans() 488 for (i = 0; i < nclusters-1; i++) in example_kmeans() 490 for (j = 1+i; j < nclusters; j++) in example_kmeans() 508 for (i = 0; i < nclusters; i++){ in example_kmeans() 525 nclusters, nrows, ncols); in example_kmeans() [all …]
|
H A D | thd_segtools.c | 446 int nclusters, int npass, in example_kmeans() argument 471 int** cmask = malloc(nclusters*sizeof(int*)); in example_kmeans() 481 for (i = 0; i < nclusters; i++) in example_kmeans() 503 { int dummy = nclusters; in example_kmeans() 528 kcluster( nclusters, in example_kmeans() 537 " %s_K_G%d.kgg\n",jobname, nclusters); in example_kmeans() 546 count = (int *)malloc(nclusters*sizeof(int)); in example_kmeans() 547 for (i = 0; i < nclusters; i++) count[i] = 0; in example_kmeans() 571 "%s_K_G%d.cen\n",jobname, nclusters); in example_kmeans() 578 for (i = 0; i < nclusters; i++){ in example_kmeans() [all …]
|
H A D | cluster_doubleNOMASK.h | 54 int getclustercentroids(int nclusters, int nrows, int ncolumns, 57 void getclustermedoids(int nclusters, int nelements, double** distance, 59 void CALL kcluster (int nclusters, int ngenes, int ndata, double** data, 62 void CALL kmedoids (int nclusters, int nelements, double** distance, 79 void cuttree (int nelements, Node* tree, int nclusters, int clusterid[]);
|
H A D | cluster_floatNOMASK.h | 55 int getclustercentroids(int nclusters, int nrows, int ncolumns, 58 void getclustermedoids(int nclusters, int nelements, float** distance, 60 void CALL kcluster (int nclusters, int ngenes, int ndata, float** data, 63 void CALL kmedoids (int nclusters, int nelements, float** distance, 81 void cuttree (int nelements, Node* tree, int nclusters, int clusterid[]);
|
/dports/databases/grass7/grass-7.8.6/vector/v.cluster/ |
H A D | main.c | 313 nclusters = 0; in main() 351 nclusters++; in main() 355 idx[nclusters] = nclusters; in main() 521 nclusters = 0; in main() 563 idx[nclusters] = nclusters; in main() 811 nclusters = 0; in main() 944 nclusters++; in main() 946 idx[nclusters] = nclusters; in main() 1092 nclusters = 0; in main() 1106 nclusters++; in main() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/ml/src/ |
H A D | em.cpp | 55 int nclusters; member in cv::ml::CV_FINAL 64 nclusters = val; in setClustersNumber() 65 CV_Assert(nclusters >= 1); in setClustersNumber() 70 return nclusters; in getClustersNumber() 88 nclusters = DEFAULT_NCLUSTERS; in EMImpl() 250 CV_Assert(nclusters > 0); in checkTrainData() 359 covs.resize(nclusters); in setTrainData() 434 covs.resize(nclusters); in clusterTrainSamples() 531 covs.resize(nclusters); in doTrain() 686 covs.resize(nclusters); in mStep() [all …]
|
/dports/devel/p5-Algorithm-Cluster/Algorithm-Cluster-1.59/perl/ |
H A D | Cluster.pm | 251 if ($param->{nclusters}==-1) { 274 if ($param->{nclusters} == -1) { 277 if ($i > $param->{nclusters}) { 278 $param->{nclusters} = $i; 281 $param->{nclusters}++; 317 nclusters => -1, 384 nclusters => 2, 603 my $nclusters = -1; 605 if ($_ > $nclusters) { 606 $nclusters = $_; [all …]
|
/dports/sysutils/syslinux/syslinux-6.03/libfat/ |
H A D | open.c | 32 uint32_t nclusters; in libfat_open() local 80 nclusters = (fs->end - fs->data) >> fs->clustshift; in libfat_open() 81 fs->endcluster = nclusters + 2; in libfat_open() 83 if (nclusters <= 0xff4) { in libfat_open() 86 } else if (nclusters <= 0xfff4) { in libfat_open() 89 } else if (nclusters <= 0xffffff4) { in libfat_open()
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/memcache/src/ |
H A D | GlobalConfigManager.cc | 44 nclusters = conf->nclusters; in GlobalConfigManager() 48 calloc(sizeof(void *), nthreads * nclusters); in GlobalConfigManager() 63 for(int i = 0; i < nclusters ; i++) { in configureSchedulers()
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/memcache/src/ |
H A D | GlobalConfigManager.cc | 46 nclusters = conf->nclusters; in GlobalConfigManager() 50 calloc(sizeof(void *), nthreads * nclusters); in GlobalConfigManager() 65 for(int i = 0; i < nclusters ; i++) { in configureSchedulers()
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/memcache/src/ |
H A D | GlobalConfigManager.cc | 46 nclusters = conf->nclusters; in GlobalConfigManager() 50 calloc(sizeof(void *), nthreads * nclusters); in GlobalConfigManager() 65 for(int i = 0; i < nclusters ; i++) { in configureSchedulers()
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/memcache/src/ |
H A D | GlobalConfigManager.cc | 46 nclusters = conf->nclusters; in GlobalConfigManager() 50 calloc(sizeof(void *), nthreads * nclusters); in GlobalConfigManager() 65 for(int i = 0; i < nclusters ; i++) { in configureSchedulers()
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/memcache/src/ |
H A D | GlobalConfigManager.cc | 46 nclusters = conf->nclusters; in GlobalConfigManager() 50 calloc(sizeof(void *), nthreads * nclusters); in GlobalConfigManager() 65 for(int i = 0; i < nclusters ; i++) { in configureSchedulers()
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/memcache/src/ |
H A D | GlobalConfigManager.cc | 46 nclusters = conf->nclusters; in GlobalConfigManager() 50 calloc(sizeof(void *), nthreads * nclusters); in GlobalConfigManager() 65 for(int i = 0; i < nclusters ; i++) { in configureSchedulers()
|
/dports/devel/p5-Algorithm-Cluster/Algorithm-Cluster-1.59/src/ |
H A D | cluster.h | 47 int getclustercentroids(int nclusters, int nrows, int ncolumns, 50 void getclustermedoids(int nclusters, int nelements, double** distance, 52 void kcluster(int nclusters, int ngenes, int ndata, double** data, 55 void kmedoids(int nclusters, int nelements, double** distance, 73 int cuttree(int nelements, const Node* tree, int nclusters, int clusterid[]);
|
/dports/biology/py-biopython/biopython-1.79/Bio/Cluster/ |
H A D | cluster.h | 47 int getclustercentroids(int nclusters, int nrows, int ncolumns, 50 void getclustermedoids(int nclusters, int nelements, double** distance, 52 void kcluster(int nclusters, int ngenes, int ndata, double** data, 55 void kmedoids(int nclusters, int nelements, double** distance, 73 int cuttree(int nelements, const Node* tree, int nclusters, int clusterid[]);
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/memcache/src/schedulers/ |
H A D | Stockholm.cc | 60 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 71 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 101 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 124 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in init() 136 "launching %d commit thread%s.\n", pipeline->id, conf.nclusters, in attach_thread() 137 conf.nclusters == 1 ? "" : "s"); in attach_thread() 139 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in attach_thread() 156 for(unsigned int c = 0 ; c < conf.nclusters; c++) in shutdown() 160 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in shutdown() 256 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in add_stats()
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/memcache/src/schedulers/ |
H A D | Stockholm.cc | 64 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 75 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 105 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 128 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in init() 140 "launching %d commit thread%s.\n", pipeline->id, conf.nclusters, in attach_thread() 141 conf.nclusters == 1 ? "" : "s"); in attach_thread() 143 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in attach_thread() 160 for(unsigned int c = 0 ; c < conf.nclusters; c++) in shutdown() 164 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in shutdown() 260 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in add_stats()
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/memcache/src/schedulers/ |
H A D | Stockholm.cc | 64 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 75 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 105 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 128 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in init() 140 "launching %d commit thread%s.\n", pipeline->id, conf.nclusters, in attach_thread() 141 conf.nclusters == 1 ? "" : "s"); in attach_thread() 143 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in attach_thread() 160 for(unsigned int c = 0 ; c < conf.nclusters; c++) in shutdown() 164 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in shutdown() 260 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in add_stats()
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/memcache/src/schedulers/ |
H A D | Stockholm.cc | 64 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 75 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 105 for(unsigned int c = 0 ; c < conf.nclusters ; c++) { in init() 128 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in init() 140 "launching %d commit thread%s.\n", pipeline->id, conf.nclusters, in attach_thread() 141 conf.nclusters == 1 ? "" : "s"); in attach_thread() 143 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in attach_thread() 160 for(unsigned int c = 0 ; c < conf.nclusters; c++) in shutdown() 164 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in shutdown() 260 for(unsigned int c = 0 ; c < conf.nclusters; c++) { in add_stats()
|