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

[ML-290] Add logger to improve messages output for C++ only #358

Merged
merged 64 commits into from
Oct 9, 2023

Conversation

minmingzhu
Copy link
Collaborator

@minmingzhu minmingzhu commented Sep 26, 2023

What changes were proposed in this pull request?

Continue the work from #297

closes #290, #260

@github-actions
Copy link

#290

Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
@xwu99 xwu99 changed the title [ML-290] Add logger to improve messages output [ML-290] Add logger to improve messages output for C++ only Sep 27, 2023
xwu99 and others added 4 commits September 28, 2023 09:55
mllib-dal/src/main/native/ALSDALImpl.cpp Outdated Show resolved Hide resolved
std::cout << "Correlation:\n"
<< result_train.get_cor_matrix() << std::endl;
logger::println(logger::INFO, "Mean:");
printHomegenTable(result_train.get_means());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

printHomegenTable should moved to logger, need to follow-up with another PR.

std::cout << "Probabilities results:\n"
<< result_infer.get_probabilities() << std::endl;
logger::println(logger::INFO, "Variable importance results:");
printHomegenTable(result_train.get_var_importance());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

printHomegenTable shoud be in logger

mllib-dal/src/main/native/DecisionForestClassifierImpl.cpp Outdated Show resolved Hide resolved
mllib-dal/src/main/native/DecisionForestRegressorImpl.cpp Outdated Show resolved Hide resolved
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
@xwu99 xwu99 merged commit d019fc1 into oap-project:master Oct 9, 2023
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

Successfully merging this pull request may close these issues.

[Core] Remove oneCCL etc. libs from assembly.xml
3 participants