@abinashpanda -- For fixing the coding style I recommend:
* https://github.com/shogun-toolbox/shogun/blob/develop/doc/md/CodingStyle.md

If you find that the style can be improved, please let me know.