Skip to content

Add description of inverse transform in ICAConverter cookbook - #4390

Merged
vigsterkr merged 5 commits into
shogun-toolbox:developfrom
vinx13:cookbook/inv_transform
Aug 14, 2018
Merged

Add description of inverse transform in ICAConverter cookbook#4390
vigsterkr merged 5 commits into
shogun-toolbox:developfrom
vinx13:cookbook/inv_transform

Conversation

@vinx13

@vinx13 vinx13 commented Aug 2, 2018

Copy link
Copy Markdown
Member

No description provided.

#![extract]

#![inverse_transform]
Features feats_original = ica.inverse_transform(converted)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

pls also extract the matrix here (even if it is not shown in the cookbook) for the sake of integration testing ...


.. sgexample:: independent_component_analysis_fast.sg:extract

:sgclass:`CICAConverter` supports inverse transformation. We can mix signals using the mixing matrix learnt before.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

minor: newline after period

@karlnapf karlnapf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thats a nice addition! thx

@karlnapf

karlnapf commented Aug 3, 2018

Copy link
Copy Markdown
Member

the data update is fishy

Features feats_original = ica.inverse_transform(converted)
#![inverse_transform]

RealMatrix signal_original = feats_original.get_real_matrix("feature_matrix")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

++

@karlnapf

karlnapf commented Aug 3, 2018

Copy link
Copy Markdown
Member

something is still weird with the data

@vinx13

vinx13 commented Aug 3, 2018

Copy link
Copy Markdown
Member Author

@karlnapf i guess the data change of the old line now is because of float point precision error, they are very near

@karlnapf

karlnapf commented Aug 3, 2018

Copy link
Copy Markdown
Member

No I mean all those removed files

@vinx13
vinx13 force-pushed the cookbook/inv_transform branch from 702f7e6 to 5582ce5 Compare August 3, 2018 14:40
@vinx13

vinx13 commented Aug 3, 2018

Copy link
Copy Markdown
Member Author

i rebased my data pr

@karlnapf

karlnapf commented Aug 8, 2018

Copy link
Copy Markdown
Member

could you try again?

@vinx13
vinx13 force-pushed the cookbook/inv_transform branch from 5b7b738 to 681e5b5 Compare August 9, 2018 02:16
@vinx13

vinx13 commented Aug 13, 2018

Copy link
Copy Markdown
Member Author

@karlnapf tests passed

@vigsterkr
vigsterkr merged commit c89317e into shogun-toolbox:develop Aug 14, 2018
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.

3 participants