As a powerful machine learning toolkit, Shogun was achieved by the efforts of many developers. However, this also implicates the trouble with Shogun: some parts of the codes are outdated, or less optimized, and codes between modules are not unified. The problems dampen the developers’ experience with Shogun, and can lead to the obstruction for further implementations. Thus, my project will be focusing on cleaning-up and refactoring the codes of Shogun, including linalg and I/O libraries, and updating several data structures. I expect to improve the maintainability, stability and beauty of Shogun by the end of my work.