Skip to content

Add inverse transform in transformer #4326

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

Merged

Conversation

vinx13
Copy link
Member

@vinx13 vinx13 commented Jun 4, 2018

No description provided.

@@ -5,7 +5,8 @@
*/

/* These functions return new Objects */
%newobject shogun::CTransformer::transform(CFeatures*);
%newobject shogun::CTransformer::transform(CFeatures*, bool inplace=true);
%newobject shogun::CTransformer::inverse_transform(CFeatures*, bool inplace=true);
Copy link
Member

Choose a reason for hiding this comment

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

can we rename to inverse ... without transform ?

Copy link
Member

@karlnapf karlnapf left a comment

Choose a reason for hiding this comment

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

Could you let me know some examples of where such a thing is used? Just curious ... can't think of any (apart from the ICA one, I see that ... )

@vigsterkr
Copy link
Member

vigsterkr commented Jun 4, 2018 via email

@karlnapf
Copy link
Member

karlnapf commented Jun 4, 2018

I see they have that ... well, then it is probably useful. ... ;)

@vigsterkr
Copy link
Member

vigsterkr commented Jun 4, 2018 via email

@karlnapf
Copy link
Member

karlnapf commented Jun 4, 2018

Ah yes of course!
@vinx13 hey what about a cookbook for that use case? :)

@vigsterkr vigsterkr merged commit 45162b6 into shogun-toolbox:feature/transformers Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants