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

feat: feat_select #38

Merged
merged 4 commits into from
Oct 30, 2024
Merged

feat: feat_select #38

merged 4 commits into from
Oct 30, 2024

Conversation

johnsaveus
Copy link
Contributor

  • PR After new jaqpotpy release with selected_features attribute

@johnsaveus johnsaveus requested a review from alarv October 25, 2024 17:04
@johnsaveus johnsaveus requested a review from alarv October 30, 2024 13:01
@@ -36,4 +36,6 @@ def decode(request):
task=request.model.task.lower(),
featurizer=featurizers,
)
if request.model["selectedFeatures"] != []:
Copy link
Member

Choose a reason for hiding this comment

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

This won't work anymore, we have types now for the request, so now the request is not a dictionary but an object. Here's how we do it now:

Suggested change
if request.model["selectedFeatures"] != []:
if len(request.model.selected_features) > 0:

@johnsaveus johnsaveus requested a review from alarv October 30, 2024 13:35
Copy link
Member

@alarv alarv left a comment

Choose a reason for hiding this comment

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

Great! :shipit:

@johnsaveus johnsaveus merged commit 19cbebb into main Oct 30, 2024
5 checks passed
@johnsaveus johnsaveus deleted the JAQPOT-358/feature_selection branch October 30, 2024 13:41
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.

2 participants