question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Enhancement] CatBoost support in W&B

See original GitHub issue

wandb --version && python --version && uname

  • Weights and Biases version: wandb, version 0.8.31
  • Python version: Python 3.7.2
  • Operating System: MacOS Sierra

Description

I have successfully implemented W&B to capture parameters and save and upload my models to the cloud.

Although there is no callbacks support (via a named param) in Catboost.

If it’s trivial i’m happy to implement it for you if you can show me an example or point me to how you would this when no callbacks support is available.

Is there a custom WandBCallback implementation that can be adapted to work with Catboost?

What I Did

I looked on their GitHub repo and found this one conversation. And other such conversations as well. They talk about reading their debug logs or other log files written out during the training process.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:20 (13 by maintainers)

github_iconTop GitHub Comments

6reactions
sekeratibcommented, Jul 30, 2021

Hi, is there any activity on this issue?

It would be great indeed, to have something like this working!

from wandb.catboost import WandbCallback

4reactions
Neronjust2017commented, Oct 20, 2021

Hi, @neomatrix369 , I think I find the solution to use callback function to log metrics.

#1862

Hello! In CatBoost 0.26 we released support for callbacks, so your task is easily. We are preparing our new documentation, as this function still is not described, but you can look at example in our tests: https://github.com/catboost/catboost/blob/v0.26.1/catboost/python-package/ut/medium/test.py#L9726-L9738 I guess that’s a good sample to start with.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Enhancement] CatBoost support in W&B · Issue #965 · wandb ...
I have successfully implemented W&B to capture parameters and save and upload my models to the cloud. Although there is no callbacks support...
Read more >
Parameter tuning - CatBoost
CatBoost provides a flexible interface for parameter tuning and can be configured to suit different tasks. This section contains some tips on the...
Read more >
A novel SSA-CatBoost machine learning model for credit rating
This paper proposes a novel SSA-CatBoost model, which mixes Sparrow Search Algorithm (SSA) and CatBoost to improve classification and prediction ...
Read more >
Fault Diagnosis of Oil-Immersed Power Transformer Based on ...
by complying with orderly principle, orderly enhancement ... CatBoost is a machine learning library supporting categor-.
Read more >
OccupancySense: Context-based indoor occupancy detection ...
Hence, CatBoost is used as the core of the OccupancySense design and we have ... Firstly, it can help to control energy consumption...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found