Skip to content

Amorim33/cnn-training-indexer

Repository files navigation

CNN Training Indexer

This project modifies a Convolutional Neural Network (CNN) to output a feature vector instead of a probability distribution.

🔍 Why do this?

By extracting and saving feature vectors from the training dataset, you can efficiently perform cosine similarity search to retrieve the most similar image in the dataset—along with its label.

Essentially, this transforms the CNN into an indexing model that tells you:

  1. What the model predicts.
  2. Where the model learned that information.

📌 Experiment Inspiration

This idea is inspired by:
Lloyd Watts | Solving The Billion-Dollar Problems in AI: LLM Explainability/Hallucinations and More

📊 Example Results

We trained our CNN on the MNIST dataset, and here’s what the results look like:

image
image
image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published