K-Means Clustering: A Centroid-based Algorithm

K — means clustering is a centroid-based unsupervised machine learning algorithm. Unsupervised learning uses the machine learning algorithm to analyze unlabelled data and find hidden patterns without human intervention. It’s clear from the name itself that K-means is a cluster-based algorithm. Clustering is a technique where we can group together a set    

Read more

Combining Embedding and Keyword Based Search for Improved Performance

TLDR — Ensembling keyword and embedding models for search is one of the quickest and easiest ways to improve search performance over the standard embedding based search paradigms. There is a large amount of evidence in the machine learning literature which supports that this helps with in domain performance, out of domain generalization, as well as multilingual transfer. The reason for this seems to be that sparse and dense representations of text seem to represent complimentary linguistic qualities of their […]

Read more

Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 2

Most modern web applications are powered by a REST API under the hood. That way, developers can separate the front-end code from the back-end logic, and users can interact with the interface dynamically. In this three-part tutorial series, you’re building a REST API with the Flask web framework. You’ve created a foundation with a basic Flask project and added endpoints, which you’ll connect to a SQLite database. You’re also testing your API with Swagger UI API documentation that you’re building […]

Read more
1 142 143 144 145 146 939