- Open Access
KNODWAT: A scientific framework application for testing knowledge discovery methods for the biomedical domain
© Holzinger and Zupan; licensee BioMed Central Ltd. 2013
Received: 28 February 2013
Accepted: 31 May 2013
Published: 13 June 2013
Professionals in the biomedical domain are confronted with an increasing mass of data. Developing methods to assist professional end users in the field of Knowledge Discovery to identify, extract, visualize and understand useful information from these huge amounts of data is a huge challenge. However, there are so many diverse methods and methodologies available, that for biomedical researchers who are inexperienced in the use of even relatively popular knowledge discovery methods, it can be very difficult to select the most appropriate method for their particular research problem.
A web application, called KNODWAT (KNOwledge Discovery With Advanced Techniques) has been developed, using Java on Spring framework 3.1. and following a user-centered approach. The software runs on Java 1.6 and above and requires a web server such as Apache Tomcat and a database server such as the MySQL Server. For frontend functionality and styling, Twitter Bootstrap was used as well as jQuery for interactive user interface operations.
The framework presented is user-centric, highly extensible and flexible. Since it enables methods for testing using existing data to assess suitability and performance, it is especially suitable for inexperienced biomedical researchers, new to the field of knowledge discovery and data mining. For testing purposes two algorithms, CART and C4.5 were implemented using the WEKA data mining framework.
Professionals in the biomedical domain collect, process and analyze large amounts of data, generally referred to as Big Data. Data exploration has been hailed as the fourth paradigm in the investigation of nature, after empiricism, theory and computation . The introduction to the 2011 International Conference on Bioinformatics , included some interesting, yet dramatic statements about the size of this Big Data, e.g. that genomic data is reaching tsunami proportions , while at the same time, its clinical applications are rather a slowly rising tide . Moreover, the ability to perform complex experimental work on the computer, in addition to the laboratory, further increases freely distributed raw data on the Web .
For all these reasons, experts in Bioinformatics are confronted with increased volumes of highly complex and often weakly-structured data [6-8]. Research in Human-Computer Interaction (HCI) and Knowledge Discovery in Data and Data Mining (KDD), has long been working to develop methods that help end users to identify, extract, visualize and understand useful information from the huge amount of high dimensional  and often weakly structured and/or non-standardized data [10, 11]. Supporting professional end users in understanding their data without becoming overwhelmed, while keeping the cognitive effort of the computational processes low , so that the experts may concentrate on their scientific work, is a great challenge. Various approaches, including statistical and graphical-theoretical methods, data mining, and computational pattern recognition, have been applied to this task in the past with varying success . Meanwhile, there are so many diverse methods and methodologies available [14-17], each of these having strengths in some areas and weaknesses in other areas. Such knowledge discovery methods are used to find patterns, similarities, anomalies, relationships etc. and other relevant information inside of highly complex data sets with the aim of obtaining insight into the data and towards sensemaking [18, 19].
Consequently, such methods can greatly increase the efficiency of research in bioinformatics [20-29]. One of the biggest problems faced by researchers who want to use such knowledge discovery methods in their daily practice is, that there is no overall best method for each data set following the Şno free lunch theoremŤ  and even an expert may not be able to recommend the application of a particular method to a particular problem without knowing details about the data.
Hence, finding out which of the available, well studied approaches is the best one for a certain data set is a difficult task. Depending on the size of the research project, the necessary effort to find a suitable method might be too great, especially if there is no efficient method to benchmark the used data on a large variety of different algorithms. In order to help researchers deal with the problem of finding a suitable method for knowledge discovery on their data, we have developed a software called KNODWAT (KNOwledge Discovery With Advanced Techniques), which is an extensible application framework for testing knowledge discovery methods . The application provides features to manage projects and social features, and to administrate as well as end-users including sharing and commenting on data. Moreover, by adding new knowledge discovery methods, it can be easily extended in various areas, thereby enabling researchers to test their own data with diverse, intuitive methods and compare the results in order to select the most suitable method for their particular data set. It is not necessary to know or understand the functionality of the algorithms behind these methods. The focus during the planning and implementation of the framework was on keeping it generic and extensible enough for a wide audience, especially for novice researchers in bioinformatics; but also to provide a strong functional body and an intuitive user interface to make it accessible and useful for researchers without a lot of experience in the field of machine learning.
Typical for web-based applications, the framework follows the Model View Controller software architecture pattern . The general architecture behind the framework allows for the extension the core functionality using the service classes, tag libraries and utilities that are already available. The addition of new algorithms to the application was implemented using the strategy design pattern, encapsulating the different algorithms for the same task and making them interchangeable, which should help developers add new functional algorithms to the project without having to know the inside of the actual framework.
Arguably the most important architectural, or rather general design decision regarding the KNODWAT framework was to make it a web-based application. This crucial decision was based on three factors: usability, multi platform compatibility and the social aspect of research. With KNODWAT being aimed at researchers from all disciplines of science, especially at people with little experience in information technology , introducing new users to the framework will be easier with the user interface similar to widely used services such as Twitter and Youtube. Even with little IT knowledge and experience, there is a high chance, that a researcher has been using the web, including search engines and social networks to communicate and find resources. This assumption leads to the conclusion, that a web interface based on the general design principles of well known services should make it easier for inexperienced users to be introduced to the application. The second concern was multi platform availability for the application. Due to the popularity of both smartphones and tablets, there is an inherent need to make applications available to static and mobile devices . This can be difficult, considering the different technologies involved in creating mobile applications (Android, iOS, Windows Mobile.), but all of these devices have web browsers installed, capable of displaying complex web applications and enabling user interaction on the same level as a PC. The third reason for making KNODWAT web-based was the social component of research meaning the creation and sharing of results with other people, or following other researchers’ progress.
In order to make the KNODWAT framework applicable in many different disciplines of science, it has to be easy to add new methods to the existing platform. Currently it is not possible to extend the framework without any software engineering experience, but considering the way in which the extensibility functionality of KNODWAT is built, even a rather inexperienced programmer with some knowledge of the Java programming language and the ability to follow a few simple, well documented, steps is able to add new algorithms to the application. The whole extension process revolves around the concept of convention over configuration, using the Java reflection framework to wire the different components together automatically when they are named correctly and located in the right places within the project.
The first step is to create a new configuration object for the chosen algorithm. Basically, this object represents the custom parameters used for the algorithm. In the case of CART, one parameter will be created to enable the user to prune trees and another one to control how many data elements are used for training. It is important to note, that the extension of KNODWAT works by the use of convention over configuration, which means, that the naming of the created classes is relevant, as it will be used to link the created parts together. The configuration object is a POJO−PlainOldJavaObject, where the setter- and getter methods are annotated with specifications regarding their later use for the automatic wiring.
After the configuration object has been created, the next step is to create an implementation class, extending the DefaultMethodImpl class. This class has to override the run() method, where the execution of the algorithm will take place. The developer can freely create other methods, such as helper methods, but the run() method will always be called during method execution. The parameters as well as the input files are inside the Map < String,Object > data, which is the method parameter of the run() method. Inside this data map, all relevant input objects can be found, identifiable by their names. The handling of these input objects will differ from algorithm to algorithm and has to be implemented according to the individual needs of the method at hand. If anything goes wrong, for example an exception occurs, it is advisable to use the fireErrorEvent() method, in order to let users know that the method execution could not be performed successfully and what went wrong. Another method with regard to events is fireStartEvent, which can be used, for example, after all input parameters and data have been validated and the execution can start. The third event function, fireSuccessEvent, is called automatically when the result creation is triggered.
The execution of the algorithm can start after the validation of input data and necessary parameters. When the algorithm is completed, the created output data has to be saved. Once these result objects have been created, they are added to a list containing GeneralResult objects, describing a collection of output data. This output data list is then passed on to the method createResult(), which handles the persistence of a result object, adds and persists all the output data and fires the success event if everything worked, concluding the method execution. In essence, the developer responsible for adding a new method to the KNODWAT framework has to create a class, override a method, create a list containing output data within this method and call the createResult() method, which should be manageable for people with some experience in the Java programming language and guided by this tutorial.
Once both the configuration object and the implementation class have been created, positioned and named correctly, the only things left to do are to create a suitable view for the result detail and to create a database entry, which makes the method usable.
After completing these three simple steps; the newly added algorithm can be used throughout the framework. It is of course advisable to execute some intensive testing before releasing an extended version of the framework, as bugs and errors regarding the convention over configuration concept behind the extension feature can lead to instability within the whole application.
Comparison to other Software in the field
The KNODWAT application framework was greatly inspired by existing software in the field, most notably Orange , for its extensibility and modular approach and WEKA  for its abundance of implemented and tested algorithms within the field of knowledge discovery. KNODWAT however, while generally providing similar features as the above mentioned software, as well as other projects such as the Weka Web Interface  or KNIME , differs from them in several aspects. One of these aspects is, that KNODWAT is a web-based platform built for user interaction and collaboration between researchers. It not only provides an interface for using existing algorithms, such as the Weka Web Interface, which is web-based as well, but also provides social features for organizing research projects and to enable sharing of data and results both within and outside of the platform. Another relevant aspect of KNODWAT, setting it apart from other software in the field is the fact that it was built with a focus on extensibility, meaning that the software is not meant to be a static library providing a certain amount of functionality, but rather an evolving platform which can be shaped according to the need of any user base. The KNODWAT user interface was specifically designed to make it easier for researchers with little experience in computer science and machine learning to use existing algorithms on their data, making these powerful knowledge discovery tools available to a broader audience of researchers, setting it apart from a non-technical perspective.
The main difference between KNODWAT and other knowledge discovery applications is that it is web-based. There are several advantages to this approach, the most important one being that most users, experienced with machine learning techniques or not, have used web applications such as social networks or search engines before and are thus more familiar with the general workings of them and the standard user interactions. This familiarity makes it easier to access the application, there is no need to download or install a bulky piece of software nor is there a need to regularly check for updates, users simply have to create an account and are ready to use the platform. Another advantage is compatibility, as web applications work on just about any device, which gets more and more important considering the increasing market share of mobile devices such as tablets. The use of web-based clustered computation services and social network applications, while also possible in standalone applications, is more intuitive with web-based applications. The main drawbacks of applications based on the world wide web are concerns regarding security and data privacy, which are of course relevant issues for many research projects. In general, social features for collaboration in the form of sharing data and the methods with which the results were found are easier to implement and more intuitive to use in an already connected environment such as the world wide web, and with the prime motivation behind the project - the spreading of awareness and increased accessibility of knowledge discovery techniques implementing KNODWAT as a web-based application seemed obvious.
This section presents a feature list of the completed KNODWAT framework as well as a small knowledge discovery study using two biomedical data sets, which was conducted using KNODWAT.
The KNODWAT (Knowledge Discovery With Advanced Techniques) is an extensible application framework for testing knowledge discovery methods. The current version, provides many features, the most important ones being the following:
Web-based user interface designed for easy accessibility
Localization for English and German
High performance result creation
Multi-file upload system
Helpful documentation for beginners
Event based notification system
Dynamic content filtering methods for fast navigation
Simple content management
Easy extension capabilities for knowledge discovery algorithms
Multiple user accounts and roles
Full administration capabilities within the system
Social features such as following, sharing and commenting
The basic KNODWAT application supports three different user roles:
Administrator (no restrictions)
Researcher (result creation, project administration, data upload, view own and shared content)
User (can view and comment on shared content)
In order to test KNODWAT with regard to its usability, stability, usefulness and the correctness of the two implemented methods, a small study was performed. In this study, the two implemented algorithms, CART and C4.5 were tested on two different data sets provided by the UCI . The algorithms were trained using three different training set sizes (30%, 50% and 70%), with and without pruning, so that all in all there were 6 classifiers trained per method and data set. The results of this study are presented in the following section.
The test data was acquired from the UCI - University of California, Irvine machine learning data sets . The two data sets used in this study were the Breast Cancer data set and the Hepatitis data set. Both have their origin in the medical domain. Example data rows for each set are:
′30−39′,′premeno′,′30−34′,′9−11′,′no′,′2′,′right′,′left u p′,′yes′,′recurrence−events′
30, female, no, no, no, no, no, yes, no, no, no, no, no, 0.7, 100, 31, 4, 100, no, LIVE
59, female, no, no, yes, yes, no, yes, yes, yes, yes, no, no, 1.5, 107, 157, 3.6, 38, yes, DIE
Obviously, the two data sets, each containing merely 300 to 500 data sets and only 6 different versions of the two algorithms to be tested on the data are not highly representative in a context of actually gaining useful knowledge and insights from the data. This was, however, not the goal of the study, which was to evaluate the functionality and framework that the KNODWAT application provides to conduct such studies. However, the results can be interpreted and compared, which can yield useful information on the usage and application of algorithms.
On the whole, the no-free-lunch theorem has been demonstrated in this small study as well, with each algorithm beating the other one on one of the data sets. Even in the case of these small data sets and a very limited range of different configurations using only two parameters, some fairly interesting results were generated by the use of the KNODWAT application. The program behaved as expected and made it very easy to conduct this study. With regard to the result, the multi-file upload, different subprojects for the two studies and the intuitive user interface, creation and viewing were the most impacting factors throughout the experience.
This article introduced KNODWAT (Knowledge Discovery With Advanced Techniques), a framework for testing knowledge discovery methods with a focus on making it easy for developers to add new functionality to the existing system. KNODWAT is a web-based application created for researchers with a graphical user interface designed towards usability and easy access. Social features such as content sharing and the ability to express an opinion within the system as well as collaboration possibilities within projects, makes KNODWAT a modern environment for research groups. However, the application can not be extended without at least one expert who has programming experience and the skills to implement a certain knowledge discovery technique. The decision to create KNODWAT as a web-based application has both advantages and disadvantages. On the one hand, many users will have an easier time getting started with a web-based system due to the experience they have already gained with other systems of the kind, such as social networks or other prominent web sites. Web-based applications also have the advantage of being very connectable to external services and inherently create connections between users and their generated content. On the other hand, however, there may be limitations given methods with high computational complexity or very specific and expensive graphical representations of results, as they can be harder to implement in a web-based application, than in a native client. Nonetheless, with the trend of mobile devices becoming more and more capable and providing improved user interaction features, it was very important to make KNODWAT available for as many platforms as possible, which is definitely a strength of applications developed for the web.
On the whole, the idea of a globally connected research platform, making knowledge and the methods used to acquire it available to everyone, is very intriguing and KNODWAT is a small step in that direction.
Availability and requirements
Project name: KNODWAT
Project home page: https://code.google.com/p/knodwat/
Operating system(s): Platform independent
Programming language: Java
Other requirements: Java 1.6 or higher
License: Apache License 2.0
Any restrictions to use by non-academics: No
We are grateful to comments, discussions and feedback during progress meetings and test sessions to all members of the hci4all.at team. We are grateful for the valuable comments from the three BMC reviewers and for the smooth support from the BioMed Central editorial team.
- Bell G, Hey T, Szalay A: Beyond the data deluge. Science. 2009, 323 (5919): 1297-1298. 10.1126/science.1170411.View ArticlePubMedGoogle Scholar
- Ranganathan S, Schonbach C, Kelso J, Rost B, Nathan S, Tan T: Towards big data science in the decade ahead from ten years of InCoB and the 1st ISCB-Asia joint conference. BMC Bioinformatics. 2011, 12 (Suppl 13): S1-10.1186/1471-2105-12-S13-S1.PubMed CentralView ArticlePubMedGoogle Scholar
- Schadt E, Linderman M, Sorenson J, Lee L, Nolan G: Computational solutions to large-scale data management and analysis. Nat Rev Genet. 2010, 11: 647-657.PubMed CentralView ArticlePubMedGoogle Scholar
- Marshall E: Human genome 10th anniversary. Waiting for the revolution. Science. 2011, 331: 526-529. 10.1126/science.331.6017.526.View ArticlePubMedGoogle Scholar
- Trelles O, Prins P, Snir M, Jansen R: Big data, but are we ready?. Nat Rev Genet. 2011, 12: 224-View ArticlePubMedGoogle Scholar
- Holzinger A: Weakly structured data in health-informatics: The challenge for human-computer interaction. Proceedings of INTERACT Workshop: Promoting and Supporting Healthy Living by Design. Edited by: Kimani S.IFIP, Baghaei N, Baxter G, Dow L, Kimani S.IFIP . 2011, Lisbon (Portugal), 5-7.Google Scholar
- Holzinger A: On knowledge discovery and interactive intelligent visualization of biomedical data - challenges in human-computer interaction & biomedical informatics. DATA 2012. Rome: INSTICC. 2012, IS9-IS20.Google Scholar
- Holzinger A, Stocker C, Bruschi M, Auinger A, Silva H, Fred A: On Applying Approximate Entropy to ECG Signals for Knowledge Discovery on the Example of Big Sensor Data. 2012, Macau: Springer, 646-657.Google Scholar
- Stiglic G, Rodriguez J, Kokol P: Feature selection and classification for small gene sets. Pattern Recognition in Bioinformatics. Edited by: Chetty M, Ngom A, Ahmad S. 2008, Berlin Heidelberg: Springer, 121-131.View ArticleGoogle Scholar
- Holzinger A, Simonic KM, Yildirim P: Disease-disease relationships for rheumatic diseases: Web-based biomedical textmining and knowledge discovery to assist medical decision making. 36th International Conference on Computer Software and Applications COMPSAC. 2012, Izmir: IEEE, 573-580.Google Scholar
- Kreuzthaler M, Bloice M, Faulstich L, Simonic K, Holzinger A: A comparison of different retrieval strategies working on medical free texts. J Universal Comput Sci. 2011, 17 (7): 1109-1133.Google Scholar
- Longo L: A computational analysis of cognitive effort. Intelligent Information and Database Systems. Edited by: Nguyen N, Le M, Świątek J. 2010, Berlin Heidelberg: Springer, 65-74.View ArticleGoogle Scholar
- Raymer ML, Doom TE, Kuhn LA, Punch WF: Knowledge discovery in medical and biological datasets using a hybrid Bayes classifier/evolutionary algorithm. IEEE Trans Syst Man Cybern Part B Cybern. 2003, 33 (5): 802-813. 10.1109/TSMCB.2003.816922.View ArticleGoogle Scholar
- Piateski G, Frawley W: Knowledge Discovery in Databases. 1991, Cambridge: MIT PressGoogle Scholar
- Liu H, Motoda H: Feature Selection for Knowledge Discovery and Data Mining. Heidelberg, Berlin. 1998, New York: SpringerView ArticleGoogle Scholar
- Fayyad U, Grinstein GG, Wierse A: Information Visualization in Data Mining and Knowledge Discovery. 2002, San Francisco et al: Morgan KaufmannGoogle Scholar
- Maimon O, Rokach L: Data Mining and Knowledge Discovery Handbook. Second Edition. New York, Dordrecht, Heidelberg. 2010, London: SpringerView ArticleGoogle Scholar
- Holzinger A, Scherer R, Seeber M, Wagner J, Mueller-Putz G: 2012, Heidelberg, New York: Springer, 166-168Google Scholar
- Billinger M: 2012, Heidelberg, New York: Springer, 658-667Google Scholar
- Jurisica I, Mylopoulos J, Glasgow J, Shapiro H, Casper RF: Case-based reasoning in IVF: prediction and knowledge mining. Artif Intell Med. 1998, 12: 1-24.View ArticlePubMedGoogle Scholar
- Bader GD, Hogue CW: An automated method for finding molecular complexes in large protein interaction networks. BMC Bioinformatics. 2003, 4: 2-10.1186/1471-2105-4-2.PubMed CentralView ArticlePubMedGoogle Scholar
- Hu X: Pan Y: Knowledge Discovery in Bioinformatics: Techniques, Methods, and Applications. 2007View ArticleGoogle Scholar
- He J, Dai XB, Zhao XC: PLAN: a web platform for automating high-throughput BLAST searches and for managing and mining results. BMC Bioinformatics. 2007, 8: 53-10.1186/1471-2105-8-53.PubMed CentralView ArticlePubMedGoogle Scholar
- Manda P, Freeman MG, Bridges SM, Jankun-Kelly TJ, Nanduri B, McCarthy FM, Burgess SC: GOModeler- A tool for hypothesis-testing of functional genomics datasets. BMC Bioinformatics. 2010, 11: S29-PubMed CentralView ArticlePubMedGoogle Scholar
- Ranawana R, Palade V: A neural network based multi-classifier system for gene identification in DNA sequences. Neural Comput Appl. 2005, 14 (2): 122-131. 10.1007/s00521-004-0447-7.View ArticleGoogle Scholar
- Sultan M, Wigle DA, Cumbaa C, Maziarz M, Glasgow J, Tsao M, Jurisica I: Binary tree-structured vector quantization approach to clustering and visualizing microarray data. Bioinformatics. 2002, 18 (suppl 1): S111-S119. 10.1093/bioinformatics/18.suppl_1.S111.View ArticlePubMedGoogle Scholar
- Barrios-Rodiles M, Brown KR, Ozdamar B, Bose R, Liu Z, Donovan RS, Shinjo F, Liu Y, Dembowy J, Taylor IW: High-throughput mapping of a dynamic signaling network in mammalian cells. Sci Signal. 2005, 307 (5715): 1621-Google Scholar
- Ranawana R, Palade V, Howard D: Genetic algorithm approach to construction of specialized multi-classifier systems: application to DNA analysis. Frontiers in the Convergence of Bioscience and Information Technologies, 2007. 2007, FBIT: IEEE, 341-346.View ArticleGoogle Scholar
- Ranawana R, Palade V: A neuro-genetic framework for multi-classifier design: an application to promoter recognition in DNA sequences. 2007, 71-94Google Scholar
- Zupan M: A Scientific Framework Application for Testing Knowledge Discovery Methods. Master’s Thesis. 2012Google Scholar
- Holmes G, Donkin A, Witten IH: Weka: A machine learning workbench. Proceedings of the 1994 Second Australian and New Zealand Conference on Intelligent Information Systems. 1994, IEEE, 357-361.View ArticleGoogle Scholar
- Frank E, Hall M, Trigg L, Holmes G, Witten IH: Data mining in bioinformatics using WEKA. Bioinformatics. 2004, 20 (15): 2479-2481. 10.1093/bioinformatics/bth261.View ArticlePubMedGoogle Scholar
- Hall M, Frank E, Holmes G, Pfahringer B, Reutemann P, Witten I: The WEKA data mining software: an update. ACM SIGKDD Explorations Newsl. 2009, 11: 10-18. 10.1145/1656274.1656278.View ArticleGoogle Scholar
- Holzinger A, Struggl KH, Debevc M: Applying Model-View-Controller (MVC) in design and development of information systems: An example of smart assistive script breakdown in an e-business application. ICE-B. 2010, INSTIC: IEEE, 63-68. - ICETE The International Joint Conference on e-Business and TelecommunicationsGoogle Scholar
- Holzinger A, Searle G, Wernbacher M: The effect of Previous Exposure to Technology (PET) on Acceptance and its importance in usability engineering. Universal Access Inf Soc Int J. 2011, 10 (3): 245-260. 10.1007/s10209-010-0212-x.View ArticleGoogle Scholar
- Holzinger A, Treitler P, Slany W: Making Apps useable on multiple different mobile platforms: on interoperability for business application development on smartphones. Multidisciplinary Research and Practice for Information Systems. Edited by: Quirchmayr G, Basl J, You I, Xu L, Weippl E. 2012, Berlin Heidelberg: Springer, 176-189.View ArticleGoogle Scholar
- Curk T, Demšar J, Xu Q, Leban G, Petrovič U, Bratko I, Shaulsky G, Zupan B: Microarray data mining with visual programming. Bioinformatics. 2005, 21: 396-398. 10.1093/bioinformatics/bth474. http://bioinformatics.oxfordjournals.org/content/21/3/396.full.pdf,View ArticlePubMedGoogle Scholar
- Okorodudu T: Weka Web Interface. 2013, [http://www.okoware.com/portfolio/wekaweb/]. [Online; accessed 28-April-2013]Google Scholar
- Berthold MR, Cebron N, Dill F, Gabriel TR, Kötter T, Meinl T, Ohl P, Sieb C, Thiel K, Wiswedel B: KNIME: The Konstanz information miner. Data Anal Mach Learn Appl. 2008, 11: 319-326.View ArticleGoogle Scholar
- Asuncion A, Newman D: UCI Machine learning repository. University of California, School of Information and ComputerScience. 2007, [http://archive.ics.uci.edu/ml/] (last accessed: 11.06.2013)Google Scholar
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.