feat(demo): mixture per-ingredient reads + taste-palette match - #71
Merged
Merged
Conversation
β¦tte match
Mixture mode now shows, in addition to the documented-hazard screen:
- each INGREDIENT read individually (structure + name + tastes + GRAS + any
structural-alert/tox flags);
- SINGLE MOLECULES with a similar taste palette to the blend β predict.palette_match()
unions the ingredients' tastes and finds labeled molecules whose known taste-label
set best matches (Jaccard), each clickable to analyze. Framed honestly: a blend's
real palette isn't the union of its parts (suppression/synergy needs their data) β
this is a structural-label approximation.
Verified: glucose + caffeine -> ingredients [Hexose sweet/bitter, Caffeine bitter];
palette {sweet,bitter} -> isoleucine / a flavanone / ... at 100% label match.
Signed-off-by: Austin L. <86896075+rvnminers-A-and-N@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The last two mixture asks.
Per-ingredient reads
Mixture mode now shows each ingredient read individually β structure + name + tastes + GRAS + any structural-alert/tox flags β above the hazard screen.
Single-molecule palette match
predict.palette_match()unions the ingredients' tastes and finds single labeled molecules whose known taste-label set best matches (Jaccard), each clickable to analyze. Honestly framed: a blend's real palette β the union of its parts (suppression/synergy needs the customer's formulation data) β this is a structural-label approximation.Verified: glucose + caffeine β ingredients [Hexose sweet/bitter, Caffeine bitter]; palette {sweet, bitter} β isoleucine / a flavanone / β¦ at 100% match. 22 tests pass.