Skip to content

Commit

Permalink
Update docs/python-tutorial.md
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Loading branch information
johnbradley and Copilot authored Jan 10, 2025
1 parent 7dfd6f7 commit 4f1bc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/python-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ As can be seen from comparing the confusion matrices, fine-tuning an SVM classif
This work is based on code from [biobench](https://github.com/samuelstevens/biobench).

### Fine-tune with RidgeClassifier
[FineTuneRidgeClassifier.ipynb](https://github.com/Imageomics/pybioclip/blob/main/examples/FineTuneRidgeClassifier.ipynb) Fine-tunes BioCLIP by combining an [RidgeClassifier](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.RidgeClassifier.html) with BioCLIP image embeddings. <a target="_blank" href="https://colab.research.google.com/github/Imageomics/pybioclip/blob/main/examples/FineTuneRidgeClassifier.ipynb">
Fine-tunes BioCLIP by combining a [RidgeClassifier](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.RidgeClassifier.html) with BioCLIP image embeddings. <a target="_blank" href="https://colab.research.google.com/github/Imageomics/pybioclip/blob/main/examples/FineTuneRidgeClassifier.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>
As can be seen from comparing the confusion matrices, fine-tuning a RidgeClassifier classifier on BioCLIP image embeddings may yield better results than using BioCLIP in "zero-shot mode", i.e., predicting on a list of custom labels.

Expand Down

0 comments on commit 4f1bc32

Please sign in to comment.