Skip to content

[FLINK-2984] [ml] Extend libSVM file format support#1504

Closed
chiwanpark wants to merge 1 commit intoapache:masterfrom
chiwanpark:FLINK-2984
Closed

[FLINK-2984] [ml] Extend libSVM file format support#1504
chiwanpark wants to merge 1 commit intoapache:masterfrom
chiwanpark:FLINK-2984

Conversation

@chiwanpark
Copy link
Copy Markdown
Member

Currently, FlinkML libSVM file reader cannot read some datasets (such as splice-site) in libSVM official site. This PR extends libSVM file format to liblinear equivalent. To avoid re-compiling regex pattern in every line, I changed the mapper from scala lambda function to RichFlatMapFunction.

@tillrohrmann
Copy link
Copy Markdown
Contributor

Changes look good. +1 for merging.

@chiwanpark
Copy link
Copy Markdown
Member Author

Thanks for review @tillrohrmann! I'll merge this now.

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