Questions tagged [clustering-key]

52 questions
0
votes
0 answers

Clustering in vernEMQ gives node not discoverable

I have to nodes named VMQ1@127.0.0.1 and VMQ2@127.0.0.1 on two different containers in the same virtual machine but when i try from node2 to join the cluster with vmq-admin as below: vmq-admin cluster join discovery-node=VMQ1@127.0.0.1. It says it…
0
votes
0 answers

does clustering granularity fields in merge statement will improve the statement performance in bigquery?

I have a big target table that should be merged with small table every day. lets say the granularity fields are x,y,z i.e merge t1 using t2 on (t1.x=t2.x and t1.y=t2.y and t1.z=t2.z) will it help me to cluster t1 table by one of the granularity…
Pythonist
  • 75
  • 1
  • 7
0
votes
1 answer

Clustering table with many columns

I am having ETL runtime issues with a specific table that has ~100K rows and 650 columns most of them are ints (others are strings or dates). The table is clustered by 2 string columns, and the logic of the etl is mainly built with "Lag",…
0
votes
1 answer

How to get the best K for self organizing maps "SOM" using Elbow method?

I am trying to use SOM to cluster my data, firstly I want to get the best K. but I need a line or something to detect the best K on the plot. I tried to use KElbowVisualizer() but it always diplay an error: YellowbrickTypeError: The supplied model…
0
votes
1 answer

How do i enable gce_persistent_disk_csi_driver_config with terraform gke module

I am using the Terraform GKE Module provided here I need to enable gce_persistent_disk_csi_driver_config which is easily enabled when using google_container_cluster, like this (under the addons_config block) gce_persistent_disk_csi_driver_config { …
0
votes
1 answer

Clustering does not look right

I can't figure out where my code went wrong I don't show all 4 clusters in my plot. Any ideas? kmeans = KMeans(n_clusters=4) kmeans.fit(x) y_kmeans = kmeans.fit_predict(x) print(kmeans.cluster_centers_) print(kmeans.labels_) …
0
votes
1 answer

Oracle Count dynamic number of groups based on key

Considere the table: +--------+-------+ | id | value | +--------+-------+ | 1 | A | | 1 | B | | 2 | A | | 2 | B | | 3 | A | | 3 | B | | 3 | C | | 4 | A …
Daniel Bonetti
  • 2,306
  • 2
  • 24
  • 33
0
votes
1 answer

How to add a resource monitor for MATERIALIZED_VIEW_MAINTENANCE and AUTOMATIC_CLUSTERING?

I would like to add a Resource Monitor for monitoring the costs for MATERIALIZED_VIEW_MAINTENANCE and AUTOMATIC_CLUSTERING. An email should be send if these costs above a specific threshold. Is there any way to do it? I can only chooses ACCOUNT or…
0
votes
2 answers

I would like to know how i can apply this clustering algorithm on my own data please?

I'd like to replace the iris data by my own data. please tell me what are the steps to follow to do that ? thanks import numpy as np import pandas as pd import matplotlib.pyplot as plt import sklearn from sklearn.cluster import KMeans from…
kary
  • 1
0
votes
0 answers

Defining a function that automates production of k-means cluster diagram taking 3 arguments

I have the various lines of code to produce a k-means cluster diagram. Rather than repeat the code for the various different data sets, I wanted to create a function that automates this. I envisaged it working by having 3 arguments - x, y, and z.…
0
votes
0 answers

Why K-means is so used for document clustering?

Can someone explain to me why the K-means algorithm is so used (especially in documents clustering) despite its defects, instead of K-medoids for example, or CAH, SOM etc.?
0
votes
1 answer

Ordering in Cassandra

Yes, so I've been researching for some time and found out it is not uncommon for people to have problems with ordering data in Cassandra, but I still can't figure out why my selects are not being ordered in the right way. So here is my table…
Mateus Wolkmer
  • 706
  • 4
  • 26
0
votes
2 answers

Cassandra clustering key order

So I have a table that looks along the lines of: CREATE TABLE schema.table ( partitionkey int, clusterkey text, value bigint, PRIMARY KEY ((partitionkey), clusterkey) ); We rely on this table to sort correctly by the clusterkey for…
ChiMo
  • 581
  • 2
  • 13
  • 32
0
votes
1 answer

If request sent through jmeter, in glassfish clustering requests are not segregating to different servers

For the application server set as clustering in glass fish. I have sent request through jmeter and all the requests hits to only one server . Expected was requests should be distributed to multiple servers in the cluster. But if sent requests…
anu shaji
  • 39
  • 3
  • 8
0
votes
1 answer

Synchronizing GnuPG private keys between multiple servers for horizontal scaling

I am using CentOS 7 and GnuPG 2.0 for one of my applications which is using encryption and decryption. Now I am trying to scale my application horizontally, on two server named as server A and server B. Let's say the application creates a…
Shrijan Tiwari
  • 673
  • 6
  • 17