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.
我了解如何解决简单的符号回归问题,例如 f(x)=x4+x3+x2+x。但是,我不太确定如何使用 GP 来解决以下问题。
f(x) = x2 + cosx + 7,对于 x<=0,1/x + 2x,对于 x>0
有人能帮忙吗?
它说你比较
f = x<=0 ? x2 + cosx + 7 : 1/x + 2x
代替
f = x4+x3+x2+x