Skip to content

ML XGBoost Classification#484

Closed
PondiB wants to merge 15 commits into
mlfrom
ml-xgboost-class
Closed

ML XGBoost Classification#484
PondiB wants to merge 15 commits into
mlfrom
ml-xgboost-class

Conversation

@PondiB

@PondiB PondiB commented Dec 7, 2023

Copy link
Copy Markdown
Member

Specification for ML XGBoost for Classification.

Depends on #441

Comment thread meta/subtype-schemas.json
"type": "object",
"subtype": "ml-model",
"title": "Machine Learning Model",
"description": "A machine learning model, accompanied with STAC metadata that implements the the STAC ml-model extension."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

accompanied with STAC metadata that implements the the STAC ml-model extension

What does this practically mean here in this context of defining a JSON schema? Isn't that more a concern of a process like save_ml_model that actually "exports" the model to a more concrete form?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

accompanied with STAC metadata that implements the the STAC ml-model extension

What does this practically mean here in this context of defining a JSON schema? Isn't that more a concern of a process like save_ml_model that actually "exports" the model to a more concrete form?

This was to remove the error due to the ml model being returned. I created a branch from the draft and not the ml branch.

Comment thread proposals/ml_fit_class_xgboost.json Outdated
Comment thread proposals/ml_fit_class_xgboost.json Outdated
Comment thread proposals/ml_fit_class_xgboost.json Outdated
}
},
{
"name": "seed",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

a lot of parameters are listed here. Are these based on a particular xgboost implementation? And are we sure that they are translatable to other implementation? Otherwise I think it would make sense to drop a couple from this initial spec, and leave some wiggle room for backend implementers

I remember we had this same issue with the random forest process

@PondiB PondiB Dec 11, 2023

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, I had checked python and R libraries and these params can be specified : https://xgboost.readthedocs.io/en/stable/parameter.html

I can mabye remove 3 : early_stopping_rounds, nfolds and nrounds to be dealt with internally. I set default values for most params though.

@m-mohr m-mohr changed the base branch from draft to ml December 8, 2023 10:33
@m-mohr m-mohr changed the base branch from ml to draft December 8, 2023 10:34

@m-mohr m-mohr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@PondiB I think it would make sense to make PRs against the ml branch because otherwise all changes from the ML branch will also appear in this PR. This leads to confusion as you can see with @soxofaan's comments. Please rebase your changes against the ML branch if necessary and set the base branch of the PR to ml.

@PondiB PondiB changed the base branch from draft to ml December 8, 2023 13:34
@soxofaan

Copy link
Copy Markdown
Member

hmm this PR now has "27 files changed", most of the changes are irrelevant to the original issue (ML XGBoost)

@PondiB

PondiB commented Dec 12, 2023

Copy link
Copy Markdown
Member Author

hmm this PR now has "27 files changed", most of the changes are irrelevant to the original issue (ML XGBoost)

Lol, Never noticed it in the evening. I did run npm test locally no idea how it led to this. I will rebase the commit and push again.

@PondiB PondiB closed this Dec 12, 2023
@PondiB

PondiB commented Dec 12, 2023

Copy link
Copy Markdown
Member Author

Moved to #487

@PondiB PondiB deleted the ml-xgboost-class branch January 3, 2024 14:50
@PondiB PondiB mentioned this pull request Feb 21, 2024
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.

3 participants