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

Updating transformations #31

Merged
merged 3 commits into from
Dec 8, 2021
Merged

Updating transformations #31

merged 3 commits into from
Dec 8, 2021

Conversation

fuzhanrahmanian
Copy link
Collaborator

  • New Transformation: divided into transformations and auxiliary transformations
  • Added the option for custom transformations dictionaries
  • Added the option for a "standard" transformation (as suggested by lucid)

setup.cfg Outdated Show resolved Hide resolved
luna/featurevis/featurevis.py Outdated Show resolved Hide resolved
luna/featurevis/featurevis.py Outdated Show resolved Hide resolved
luna/featurevis/featurevis.py Outdated Show resolved Hide resolved
luna/featurevis/transformations.py Outdated Show resolved Hide resolved
luna/featurevis/transformations.py Outdated Show resolved Hide resolved
luna/featurevis/transformations.py Outdated Show resolved Hide resolved
luna/featurevis/transformations.py Show resolved Hide resolved
return img


def perform_trans(img, trans_param):
Copy link
Owner

Choose a reason for hiding this comment

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

This should have another name. Why does this preset exist?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I changed the name of the variable to trans_func (after functionalizing the input). What exactly do you mean by "preset"?
Right now, this variable would be a function.

luna/featurevis/transformations.py Outdated Show resolved Hide resolved
…sformations

* Added the option for custom transformations dictionaries
* Added the option for a "standard" transformation (as suggested by lucid)
* Removed reduntant bools from transformation functions
@Sparkier Sparkier merged commit f94b803 into master Dec 8, 2021
@Sparkier Sparkier deleted the update_transformation branch December 8, 2021 09:16
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