TGStat
TGStat
Type to search
Advanced channel search
  • flag English
    Site language
    flag Russian flag English flag Uzbek
  • Sign In
  • Catalog
    Channels and groups catalog Regional compilations Thematic compilations Платные каналы Search for channels
    Add a channel/group
  • Ratings
    Rating of channels Rating of groups Posts rating
    Ratings of brands and people
  • Analytics
  • Search by posts
  • Telegram monitoring
  • Promotion
    Advertising through Yandex Business Advertising in channels through TGStat Agency Advertising on TGStat.ru website
Рыба-шарп

10 Sep, 20:10

Open in Telegram Share Report

Smooth maximum

В последнее время YouTube я смотрю больше, чем читаю книги. Поэтому иногда буду и тут рассказывать о чем-то интересном, что узнал оттуда. А смотрю я не только шортс!

Например, из ролика на ютубе я узнал, как построить «гладкий максимум» двух чисел. Оказывается, max(x,y) = 0.5*(x+y) + 0.5*|x-y| - среднее между ними плюс половина расстояния. Дальше модуль (а это причина негладкости) заменяют на квадратный корень из квадрата и добавляют eps для регуляризации/гладкости.

Итог - smoothMax(x,y) = 0.5*(x+y) + 0.5*sqrt((x-y)^2 + eps). На мой взгляд, очень красиво!

https://youtu.be/6Qb6QtC6QMs?is=hB9EwHp8Rg70f50f

#youtube

Подписаться на канал https://t.me/rybasharp
Smooth-Maximum, the most useful function
The smooth-maximum function is one of the most useful tools that you should definitely have in your mathematical toolbox. It can help you repair other functions and control artistically the look of shapes, among other things. Support this channel: https://www.patreon.com/inigoquilez Subscribe: http...

1k 0 11 7 23
Catalog
Channels and groups catalog Channels compilations Search for channels Add a channel/group
Ratings
Rating of Telegram channels Rating of Telegram groups Posts rating Ratings of brands and people
API
API statistics Search API of posts API Callback
Our channels
@TGStat @TGStat_Chat @telepulse @TGStatAPI
Read
Академия TGStat Telegram Research 2019 Telegram Research 2021 Telegram Research 2023
Contacts
Справочный центр Support Email Jobs
Miscellaneous
Terms and conditions Privacy policy Public offer
Our bots
@TGStat_Bot @SearcheeBot @TGAlertsBot @tg_analytics_bot @TGStatChatBot