Skip to content

feat(training): generalize build_properties.py + curated volatile list - #62

Merged
rvnminers-A-and-N merged 1 commit into
mainfrom
feat/generalize-properties-builder
Jun 30, 2026
Merged

rvnminers-A-and-N merged 1 commit into
mainfrom
feat/generalize-properties-builder

Conversation

@rvnminers-A-and-N

Copy link
Copy Markdown
Collaborator

Answers the academic/GS-LF + customer-data question, and fixes the sparse-coverage problem.

Generalized builder

build_properties.py now takes --molecules <csv|parquet> (a smiles or inchikey column) instead of being hardcoded to taste_master, and merges into properties.parquet so you accumulate sets — taste molecules, aroma/GS-LF molecules, a customer's list — by pointing --molecules at each.

PubChem physical properties are public domain, so building BP/VP for GS-LF molecules is clean even in the academic edition — only the GS-LF odor labels are NonCommercial, not these properties. So yes: in the academic edition it'll crawl PubChem for the GS-LF molecules' BP/VP, with much better coverage (they're volatile).

Curated volatile list

flavor_volatiles.csv — 105 common flavor volatiles (esters, terpenes, aldehydes, phenolics, lactones, pyrazines, sulfur, acids), all SMILES validated. Unlike tastants, these boil — so PubChem BP/VP coverage is high, giving the demo measured values for the compounds people actually type. Build running now; counts to follow.

…volatile list

- build_properties.py now takes --molecules <csv|parquet> (a 'smiles' or 'inchikey'
  column) instead of being hardcoded to taste_master, and MERGES into properties.parquet
  so sets accumulate (taste, aroma/GS-LF, a customer's list — point it at each in turn).
  PubChem physical properties are public domain, so this is clean even for GS-LF
  molecules in the academic edition (only the GS-LF odor labels are NonCommercial).
- flavor_volatiles.csv: a curated list of 105 common flavor volatiles (esters, terpenes,
  aldehydes, phenolics, lactones, pyrazines, sulfur notes, acids). These are VOLATILE —
  unlike the taste set — so PubChem BP/VP coverage is high, giving the demo measured
  values for the compounds people actually type (vanillin, limonene, ethyl acetate, …).

Signed-off-by: Austin L. <86896075+rvnminers-A-and-N@users.noreply.github.com>
@rvnminers-A-and-N
rvnminers-A-and-N merged commit f3c0b51 into main Jun 30, 2026
3 checks passed
@rvnminers-A-and-N
rvnminers-A-and-N deleted the feat/generalize-properties-builder branch June 30, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant