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

Attribute calculation #40

Closed
jhoetter opened this issue Jul 25, 2022 · 3 comments
Closed

Attribute calculation #40

jhoetter opened this issue Jul 25, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jhoetter
Copy link
Member

Is your feature request related to a problem? Please describe.
Similar to pandas, I want to be able to create new attributes given some logic to apply.

Describe the solution you'd like
This could look very similar to labeling functions, e.g. as follows:

def cat_attributes(record):
    return str(record["attr1"]) + str(record["attr2"])

to concatenate two textual attributes.

To avoid data clutter, this should also allow users to a) distinguish between original attributes in the data and b) delete attributes

Describe alternatives you've considered
Changing the data before you upload it - very static and not dev friendly

Additional context
I already implemented a proof-of-concept before our OS release :)

@jhoetter jhoetter added the enhancement New feature or request label Jul 25, 2022
@jhoetter jhoetter self-assigned this Jul 25, 2022
@jhoetter jhoetter added this to Next cycle in Roadmap Kern AI refinery Jul 25, 2022
@jhoetter
Copy link
Member Author

related to issue #14

@jhoetter
Copy link
Member Author

jhoetter commented Aug 1, 2022

Mockups

We could integrate a modifiers section in the project settings page, where users see what attribute calculations they have (similar to a pandas DataFrame):
project-settings

We could "reuse" what we have for the labeling functions IDE:
modifier-ide

@FelixKirsch
Copy link
Contributor

implemented in release v1.3.0

@JWittmeyer JWittmeyer moved this from Current cycle to Done in Roadmap Kern AI refinery Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants