Nowadays Data Mining course is substantially taught in curriculum of computer science because some technical approaches in the course are urgently required to solve computational problems based on knowledge discovery. The Department of Information and Computer in Electronic Engineering Polytechnic Institute of Surabaya (EEPIS) therefore decided to adopt the Data Mining course and implemented the course as one of main subjects for the students of D4 (Bachelor of Applied science) level. However, the practical implementation commonly faced some conditional issues of problem that made difficulties for the students to practically understand some approaches and implemented in a series of computational codes. This paper proposes a new tool for assisting the students by presenting a vector based programming library for Data Mining Course in EEPIS. The proposed vector based programming is developed under Java-PHP and used for a specific-purpose for vector manipulation to make an easier-use of computational solves with matrix-operational functions. Our proposed library consists of five layers, which are (1) Input/Output, (2) matrix operation, (3) vector manipulation, (4) technical approach, and (5) application layer. We make a series of experimental study for applicability of our proposed library consisting of four issues: (1) Application Layer Usage (2) Cluster Performance (3) Image Retrieval Performance (4) Library Usage Effectiveness. The library is a suitable tool for data mining course in EEPIS as it helps students to code data mining in easier way.