dmlc / dmlc/difacto

why about this?

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
299
Forks
88
PR merge metrics
No merged PRs in 30d

Description

./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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.