Questions tagged [silhouette]

Silhouette is a framework agnostic authentication library for Scala that supports several authentication methods, including OAuth1, OAuth2, OpenID, CAS, Credentials, Basic Authentication, Two Factor Authentication or custom authentication schemes.

Source of excerpt: Silhouette

126 questions
1
vote
0 answers

Wrong URI google OAuth authentication

I'm having a lot problems with OAuth in Google. I have 2 apps deployed in Azure (front in react, and backend in Play (scala)). Let's suppose we can find: backend at: "backend.azure.net", frontend at: "frontend.azure.net". I use Silhouette in my…
The Trainer
  • 633
  • 1
  • 3
  • 19
1
vote
0 answers

how do you interpret this silhouette result ? (clustering)

Hello I have been assesing clusters in biological genomic data, the issue is that after perfoming a hierarchical clustering, I used silhouette to determine the optimal number of clusters, the silhouette is the following: AS I understand, if the…
Valentin
  • 399
  • 2
  • 10
1
vote
1 answer

How to change cluster names in silhouette plot in R

I am trying to see how some known labels explain, or are adjusted to the 2D representation from my data that I get from UMAP. I tried to use silhouette function but the cluster information must be provided as a numeric vector and then these are the…
mfalco
  • 428
  • 3
  • 14
1
vote
2 answers

Silhouette below 3D model

There are some 3D applications which can cast shadow or silhouette below 3D models. They render pretty fast and smooth. I wonder what kind of technology is the standard procedure to get 3D model shadow/silhouette. For example is there any C++…
Megidd
  • 7,089
  • 6
  • 65
  • 142
1
vote
1 answer

Unable to calculate silhouette_score using a sparse matrix in sklearn

I am trying to calculate silhouette_score or silhouette_samples using a sparse matrix but getting the following error: ValueError: diag requires an array of at least two dimensions The sample code is as follows: edges = [ (1, 2, 0.9), (1, 3,…
Prateek Jain
  • 547
  • 1
  • 5
  • 16
1
vote
2 answers

How to use silhouette_score in Sklearn with mixed (categorical and numerical) data?

I have come to a situation where I have mixed data set as mentioned and try unsupervised clustering. I am trying many different experiments including Gower's distance and K-prototype. I wanna try some of sklearn metrics to see how they will give me…
1
vote
0 answers

How to solve binding issues with Silhouette setup?

I've been trying to implement the Silhouette library to provide some basic JWT authentication for my Angular frontend but am running into issues with a few No implementation for [...] was bound errors. To provide some context, I am trying to…
maxwellmattryan
  • 113
  • 1
  • 9
1
vote
1 answer

Silhouette Distance for KModes Clustering

I have been trying to calculate the Silhouette coeffecient for the clusters I have created using KModes clustering (since all of my data fields are categorical). I am using matching dissimilarity as the distance measure. def matching_disimilarity(a,…
asanoop24
  • 449
  • 4
  • 13
1
vote
1 answer

How to access protected assets in Play Silhouette with JWT Authenticator

I have Play with Silhouette authentication and authorization configured using the JWTAuthenticator. This authenticator works by reading the X-Auth-Token header, which is a jwt, to identify user in every request. This works fine for REST…
Batato
  • 560
  • 5
  • 18
1
vote
0 answers

How to plot imported silhouettes instead of points in ggplot maps?

I have a map with some points across it that were created with geom_point. They are in the exact location and color I need them to be, but I am trying to change the shape to a silhouette I imported from phylopic. Here is some sample data for the…
Kristen Cyr
  • 629
  • 5
  • 16
1
vote
1 answer

Having the same color for a silhouette plot and for a PCA plot

My aim is to plot a silhouette graph next to a PCA reduction graph. My idea was that for the sake of comprehension, I'd like having the same colors on both graphs. For now, I am getting that : the problem I am facing is that on the first plot, I am…
1
vote
1 answer

sbt librarymanagement ResolveException Error downloading com.atlassian.jwt:jwt-core

Get dependency error (play application with silhouette) after switching to a new development system. sbt.version=1.3.3 in build.sbt: resolvers += Resolver.jcenterRepo resolvers += "Sonatype snapshots" at…
RobertJo
  • 121
  • 1
  • 10
1
vote
1 answer

error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' in background subtrator code

I am trying to run this code. At the start it runs properly, but gets stuck in the middle with the following error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' I have tried changing video and path name but of no use. Can…
1
vote
2 answers

How to append silhouette score to the List

I want to append silhouette score to the List in the loop. from sklearn.cluster import KMeans from sklearn.metrics import silhouette_score ks = range(1, 11) # for 1 to 10 clusters #sse = [] sil = [] …
1
vote
0 answers

Clustering : elbow method vs silhouette score

I tried to find optimal number of cluster using elbow method and silhouette score but the results i got are contradicting with each other. Elbow plot suggests the number of clusters to be around 7-8 but the silhouette score is maximum for 3. I don't…
Sidharth
  • 49
  • 1
  • 3
1 2
3
8 9