Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why about this? #24

Open
qiaozhiyi opened this issue Apr 4, 2024 · 0 comments
Open

why about this? #24

qiaozhiyi opened this issue Apr 4, 2024 · 0 comments

Comments

@qiaozhiyi
Copy link

./include/difacto/loss.h: In member function ‘virtual difacto::real_t difacto::Loss::Evaluate(const real_t*, difacto::SArray&) const’:
./include/difacto/loss.h:63:23: error: ‘exp’ was not declared in this scope
63 | objv += log(1 + exp(- y * pred[i]));
| ^~~
./include/difacto/loss.h:63:15: error: ‘log’ was not declared in this scope; did you mean ‘long’?
63 | objv += log(1 + exp(- y * pred[i]));
| ^~~
| long

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant