-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add inverse transform in transformer #4326
Conversation
@@ -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); |
There was a problem hiding this comment.
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
?
There was a problem hiding this 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 ... )
The idea here was about sklearnish approach
… On 4 Jun 2018, at 16:45, Heiko Strathmann ***@***.***> wrote:
@karlnapf commented on this pull request.
In src/interfaces/swig/Transformer.i:
> @@ -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);
can we rename to inverse ... without transform ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I see they have that ... well, then it is probably useful. ... ;) |
Min max scaled target (regression) for which u learn a model but then u wanna actually map back the prediction into the “original scale”
… On 4 Jun 2018, at 16:47, Heiko Strathmann ***@***.***> wrote:
@karlnapf commented on this pull request.
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 ... )
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ah yes of course! |
No description provided.