Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
下のグラフに示されているように、値が x にどれだけ近いかに基づいて、スコアを指数関数的に高くしたいと思います (品質が悪いことをお詫びします)。
私は数学の形式を知っていy = x^2 + ax + bますが(正確ではありません)、xに近いことに基づいてy(スコア)が高くなるような方法で機能させることはできません。
y = x^2 + ax + b
ゼロに近いときに関数を高くしたい場合は、x^2 の前に負の係数を指定する必要があります。
y = -1 * x^2 + ...
Wolfram-Alpha でこの例を見てみましょう:放物線