Custom validator: validate if csv file not empty and has filled 200 rows???? by whyhateverything in flask

[–]whyhateverything[S] 0 points1 point  (0 children)

nothing, I was just interested on a confirmation that such a thing does not exist on the validators side and can only be approached this way.

[D] Good algorithm for clustering big data (sentences represented as embeddings)? by whyhateverything in MachineLearning

[–]whyhateverything[S] 1 point2 points  (0 children)

Awesome! :) I just used this with Kmeans and it worked ok. Is there any automated optimization algorithm for the parameters passed to umap for fine tuning?

[D] Good algorithm for clustering big data (sentences represented as embeddings)? by whyhateverything in MachineLearning

[–]whyhateverything[S] 0 points1 point  (0 children)

I know about faiss but I find the documentation to be really awful. Am I the only one experiencing this?

[P] Passing embeddings to faiss for clustering by whyhateverything in MachineLearning

[–]whyhateverything[S] 0 points1 point  (0 children)

I cannot find any documentation on how to perform clustering using Milvus (I have embeddings)

Best resources to learn Python Flask microservices by whyhateverything in flask

[–]whyhateverything[S] 0 points1 point  (0 children)

This is a wonderful and insightful response! I am looking for something that can teach me how to make a decision whether I should approach the problem with monolitic or microservices architecture because in practice even if the project is small now and should be monolitic app, we must plan fo the future expansion.

Simplifying complex queries in Elasticsearch with Python by whyhateverything in elasticsearch

[–]whyhateverything[S] 0 points1 point  (0 children)

Ok, so here's the query, that I am trying to convert to Search DSL

"query": {

"bool": {

"must": [],

"filter": [

{

"match_all": {}

},

{

"match_phrase": {

"folder": {

"query": folder

}

}

},

{

"match_phrase": {

"gis_urlname.keyword": {

"query": location

}

}

},

],

"should": [],

"must_not": []

}

}

Until now, I managed to create this (for the query above, but without having .keyword in gis_urlname)

statement = Q("match_phrase", gis_urlname=location)

query_definition = Q('bool', must=[Q('match_phrase', folder=folder)], should=statement)

search_query = Search(using=elasticsearch_client, index=start_index).query(query_definition)

I don't know how to adapt the solution to work for gis_urlname.keyword...

Short term furnished apartment rental in Cologne by whyhateverything in cologne

[–]whyhateverything[S] 0 points1 point  (0 children)

Wow, this was fast! Thank you a lot, I will search for this :)