Skip to content

Add factory of embed string features - #4375

Merged
karlnapf merged 3 commits into
shogun-toolbox:developfrom
vinx13:feature/string_embedding_factory
Jul 19, 2018
Merged

karlnapf merged 3 commits into
shogun-toolbox:developfrom
vinx13:feature/string_embedding_factory

Conversation

@vinx13

@vinx13 vinx13 commented Jul 16, 2018

Copy link
Copy Markdown
Member

add another string features factory that calls obtain_from_char internally to translate a string features to high order representation

Comment thread src/shogun/util/factory.h Outdated
return result;
}

/** Create embed string features from string char features

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.

"embedded"

Comment thread src/shogun/util/factory.h Outdated
return result;
}

/** Create embed string features from string char features

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.

this is user facing doc, so you need to make it a bit more user friendly

@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.

Good apart from those docs

Comment thread src/shogun/util/factory.h Outdated
/** Create embed string features from string char features
/** Create embedded string features from string char features.
* The new features has the same alphabet as the original features. Data of
* the new features is obtained by calling `obtain_from_char` with the given

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.

Much better. One final thing, could you make doxygen link the class method here?

@karlnapf
karlnapf merged commit f8963c1 into shogun-toolbox:develop Jul 19, 2018
karlnapf pushed a commit to karlnapf/shogun that referenced this pull request Jul 20, 2018
ktiefe pushed a commit to ktiefe/shogun that referenced this pull request Jul 30, 2019
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.

3 participants