Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Simplex
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Projection onto the standard simplex === Especially in numerical applications of [[probability theory]], a [[Graphical projection|projection]] onto the standard simplex is of interest. Given {{tmath|p}}, possibly with coordinates that are negative or in excess of 1, the closest point {{tmath|t}} on the simplex has coordinates : <math>t_i= \max\{p_i+\Delta\, ,0\},</math> where <math>\Delta</math> is chosen such that <math display="inline">\sum_i\max\{p_i+\Delta\, ,0\}=1.</math> <math>\Delta</math> can be easily calculated from sorting the coordinates of {{tmath|p}}.<ref>{{cite arXiv |eprint=1101.6081|title=Projection Onto A Simplex |author=Yunmei Chen |author2=Xiaojing Ye |year=2011 |class=math.OC }}</ref> The sorting approach takes <math>O( n \log n)</math> complexity, which can be improved to {{math|O(''n'')}} complexity via [[Selection algorithm|median-finding]] algorithms.<ref>{{Cite journal | last1 = MacUlan | first1 = N. | last2 = De Paula | first2 = G. G. | doi = 10.1016/0167-6377(89)90064-3 | title = A linear-time median-finding algorithm for projecting a vector on the simplex of n | journal = Operations Research Letters | volume = 8 | issue = 4 | pages = 219 | year = 1989 }}</ref> Projecting onto the simplex is computationally similar to projecting onto the <math>\ell_1</math> ball. [[Integer programming|Also see Integer programming]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)