Remove Download Remove K-nearest Neighbors Remove ML
article thumbnail

Build a crop segmentation machine learning model with Planet data and Amazon SageMaker geospatial capabilities

AWS Machine Learning Blog

In this post, we illustrate how to use a segmentation machine learning (ML) model to identify crop and non-crop regions in an image. Identifying crop regions is a core step towards gaining agricultural insights, and the combination of rich geospatial data and ML can lead to insights that drive decisions and actions.

article thumbnail

Build a contextual text and image search engine for product recommendations using Amazon Bedrock and Amazon OpenSearch Serverless

AWS Machine Learning Blog

We detail the steps to use an Amazon Titan Multimodal Embeddings model to encode images and text into embeddings, ingest embeddings into an OpenSearch Service index, and query the index using the OpenSearch Service k-nearest neighbors (k-NN) functionality. You then display the top similar results.

professionals

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Talk to your slide deck using multimodal foundation models hosted on Amazon Bedrock and Amazon SageMaker – Part 2

AWS Machine Learning Blog

We perform a k-nearest neighbor (k-NN) search to retrieve the most relevant embeddings matching the user query. This notebook will download a publicly available slide deck , convert each slide into the JPG file format, and upload these to the S3 bucket. We run these notebooks one by one. I need numbers."

AWS 120
article thumbnail

Talk to your slide deck using multimodal foundation models hosted on Amazon Bedrock and Amazon SageMaker – Part 1

AWS Machine Learning Blog

We perform a k-nearest neighbor (k=1) search to retrieve the most relevant embedding matching the user query. Setting k=1 retrieves the most relevant slide to the user question. In this notebook, we download the LLaVA-v1.5-7B As per the AI/ML flywheel, what do the AWS AI/ML services provide?

AWS 114
article thumbnail

Build a reverse image search engine with Amazon Titan Multimodal Embeddings in Amazon Bedrock and AWS managed services

AWS Machine Learning Blog

To upload the dataset Download the dataset : Go to the Shoe Dataset page on Kaggle.com and download the dataset file (350.79MB) that contains the images. To search against the database, you can use a vector search, which is performed using the k-nearest neighbors (k-NN) algorithm.

AWS 109
article thumbnail

Easily build semantic image search using Amazon Titan

AWS Machine Learning Blog

The previous post discussed how you can use Amazon machine learning (ML) services to help you find the best images to be placed along an article or TV synopsis without typing in keywords. Amazon Rekognition automatically recognizes tens of thousands of well-known personalities in images and videos using ML.

AWS 111
article thumbnail

Power recommendations and search using an IMDb knowledge graph – Part 3

AWS Machine Learning Blog

We downloaded the data from AWS Data Exchange and processed it in AWS Glue to generate KG files. In Part 2 , we demonstrated how to use Amazon Neptune ML (in Amazon SageMaker ) to train the KG and create KG embeddings. Matthew Rhodes is a Data Scientist I working in the Amazon ML Solutions Lab. About the Authors.

AWS 91