Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by getnormality

2 days ago

The vectors containing the weights of each ingredient live in the positive orthant (x >= 0).

When you divide by x by sum(x), the resulting vector p has p >= 0 and sum(p) = 1. That new sum constraint is how you get the simplex.

0 comments

getnormality

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities