René's URL Explorer Experiment


Title: ADD embedding based sampling example by future-158 · Pull Request #182 · modAL-python/modAL · GitHub

Open Graph Title: ADD embedding based sampling example by future-158 · Pull Request #182 · modAL-python/modAL

X Title: ADD embedding based sampling example by future-158 · Pull Request #182 · modAL-python/modAL

Description: This pull request introduces an embedding-based sampling method in an active learning pipeline for CIFAR-10. The key update is the way we select informative samples from the pool dataset after each model retraining cycle. Embedding-Based Sampling Method After retraining the model, we evaluate the validation set to calculate the 'hardness' of each image. Hardness is determined based on the model's prediction confidence for the true labels, calculated as 1 - probability of the true class. We then use the embeddings generated by the model to match each image in the pool dataset with a corresponding image in the validation set. The pool dataset images are assigned a 'hardness' score indirectly, based on their closest match in the validation set's embedding space. This method allows us to prioritize learning from images in the pool that are similar to those the model finds challenging.

Open Graph Description: This pull request introduces an embedding-based sampling method in an active learning pipeline for CIFAR-10. The key update is the way we select informative samples from the pool dataset after each...

X Description: This pull request introduces an embedding-based sampling method in an active learning pipeline for CIFAR-10. The key update is the way we select informative samples from the pool dataset after each...

Opengraph URL: https://github.com/modAL-python/modAL/pull/182

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:66c4113a-9779-79ce-4260-7cf11a7862ca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8204:80F9C:FB6854:1519719:698F802B
html-safe-nonce6048eb64e292e1ce4bf901c4fb580d1e70ce988fb4c2428bfde46ef9b722b13c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjA0OjgwRjlDOkZCNjg1NDoxNTE5NzE5OjY5OEY4MDJCIiwidmlzaXRvcl9pZCI6IjM5MzUwNDk3ODEzOTU1NTQzNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac69843f84988943b3a5c2ee64b9b88a81878d5b9160e95ca8de4d7af05d6fb38e
hovercard-subject-tagpull_request:1613743640
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modAL-python/modAL/pull/182/files
twitter:imagehttps://avatars.githubusercontent.com/u/55237004?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/55237004?s=400&v=4
og:image:altThis pull request introduces an embedding-based sampling method in an active learning pipeline for CIFAR-10. The key update is the way we select informative samples from the pool dataset after each...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4763146d672e989a41c6c0bd715790c0c59341d9f855508c8a3196e1e480b8f7
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modAL-python/modAL git https://github.com/modAL-python/modAL.git
octolytics-dimension-user_id42179679
octolytics-dimension-user_loginmodAL-python
octolytics-dimension-repository_id110697473
octolytics-dimension-repository_nwomodAL-python/modAL
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id110697473
octolytics-dimension-repository_network_root_nwomodAL-python/modAL
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8b442a4e0d8e68ffb351da689499018fde153e49
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FmodAL-python%2FmodAL%2Fpull%2F182%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FmodAL-python%2FmodAL%2Fpull%2F182%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modAL-python%2FmodAL
Reloadhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files
Reloadhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files
Reloadhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files
modAL-python https://patch-diff.githubusercontent.com/modAL-python
modALhttps://patch-diff.githubusercontent.com/modAL-python/modAL
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FmodAL-python%2FmodAL
Fork 327 https://patch-diff.githubusercontent.com/login?return_to=%2FmodAL-python%2FmodAL
Star 2.3k https://patch-diff.githubusercontent.com/login?return_to=%2FmodAL-python%2FmodAL
Code https://patch-diff.githubusercontent.com/modAL-python/modAL
Issues 93 https://patch-diff.githubusercontent.com/modAL-python/modAL/issues
Pull requests 12 https://patch-diff.githubusercontent.com/modAL-python/modAL/pulls
Actions https://patch-diff.githubusercontent.com/modAL-python/modAL/actions
Projects 0 https://patch-diff.githubusercontent.com/modAL-python/modAL/projects
Wiki https://patch-diff.githubusercontent.com/modAL-python/modAL/wiki
Security 0 https://patch-diff.githubusercontent.com/modAL-python/modAL/security
Insights https://patch-diff.githubusercontent.com/modAL-python/modAL/pulse
Code https://patch-diff.githubusercontent.com/modAL-python/modAL
Issues https://patch-diff.githubusercontent.com/modAL-python/modAL/issues
Pull requests https://patch-diff.githubusercontent.com/modAL-python/modAL/pulls
Actions https://patch-diff.githubusercontent.com/modAL-python/modAL/actions
Projects https://patch-diff.githubusercontent.com/modAL-python/modAL/projects
Wiki https://patch-diff.githubusercontent.com/modAL-python/modAL/wiki
Security https://patch-diff.githubusercontent.com/modAL-python/modAL/security
Insights https://patch-diff.githubusercontent.com/modAL-python/modAL/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FmodAL-python%2FmodAL%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FmodAL-python%2FmodAL%2Fissues%2Fnew%2Fchoose
future-158https://patch-diff.githubusercontent.com/future-158
modAL-python:masterhttps://patch-diff.githubusercontent.com/modAL-python/modAL/tree/master
future-158:add-embedding-sampling-examplehttps://patch-diff.githubusercontent.com/future-158/modAL/tree/add-embedding-sampling-example
Conversation 0 https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182
Commits 1 https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/commits
Checks 0 https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/checks
Files changed https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files
Please reload this pagehttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files
ADD embedding based sampling example https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files
736cf6b ADD embedding based sampling example Nov 23, 2023 https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/commits/736cf6b0fa956b58634feddc2c0608f53fee2daa
Clear filters https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files
Please reload this pagehttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files
Please reload this pagehttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files
examples/torch-integration-embedding-sampling.pyhttps://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/files#diff-2ebd0de6da36b19e8b7e001d52d785ce4342a40d9755936a10d4a6daac287e0e
View file https://patch-diff.githubusercontent.com/modAL-python/modAL/blob/736cf6b0fa956b58634feddc2c0608f53fee2daa/examples/torch-integration-embedding-sampling.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/modAL-python/modAL/pull/182/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.