Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up macro targets for humangenerator #116

Open
grebz-dev opened this issue May 7, 2024 · 0 comments
Open

Set up macro targets for humangenerator #116

grebz-dev opened this issue May 7, 2024 · 0 comments

Comments

@grebz-dev
Copy link
Collaborator

grebz-dev commented May 7, 2024

Macro modifiers give defined named ranges. Individual targets in data/targets/macrodetails are named in hyphenated groups of macros, eg, race-sex-age.target or sex-age-muscularity-proportions.target, where the names correspond to macrotargets. Presumably the named ranges in the macro.json definition are the weights for which a macro modifier will switch to targeting a different combination of macrotargets.

Calculating their application would involve:

  • Tracking applied macro modifier values
  • Determining appropriate target component names based on ranges and macro modifier values
  • Switching between macrotargets when appropriate
  • Normalizing weights between applied macrotargets
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

No branches or pull requests

1 participant