FAQ - Frequently Asked Questions

The following list of frequently asked questions may prove helpful if you experience any problems with the Shark machine learning library. Please consult this FAQ before reporting any problems or bugs.

Question

Is there a mailing list available for users of the Shark library.

Answer

Yes, the mailing list is available at https://lists.sourceforge.net/lists/listinfo/shark-project-user.

Question

What are the differences between Shark and other libraries? Why should I use Shark?

Answer

Shark is a native C++ library designed for development and real-world application of state-of-the-art machine learning and optimization algorithms. The library has a history of more than 10 years of successful applications. It is actively supported and still growing. We are continuously extending and improving the algorithms in various domains of machine learning and computational intelligence.

Flexibility and speed are the main design criteria (see the question "How fast is the Shark?"). We think that its flexibility and extensibility makes Shark stand out from other libraries.

It is self-contained and offers computational intelligence techniques such as single- and multi-objective evolutionary algorithms and neural networks as well as kernel-based machine learning methods and classical optimization techniques in a coherent framework. This is unique.

Shark is an object-oriented software library and to use it requires knowledge in C++ programming. If a graphical user interface is important for you, you may go for other machine learning software (or feel free to contribute such a front-end for Shark).

Shark implements a lot of powerful algorithms not available in any other machine learning library, of course in particular methods based on the research of the developers.

Some highlights:

Question

How fast is the Shark?

Answer

Shark is a C++ library, because we aim at high performance. Flexibility and speed are the main design criteria of the library. However, sometimes these objectives are conflicting and in some cases we had to sacrifice speed for flexibility. For example: Some benchmark examples:

Installation

Question

How do I install the Shark library?

Answer

Please refer to the section Getting Started.

Question

Do I need root/Administrator access to install the Shark library?

Answer

No, root/Administrator access is not required. However, if you want to install the library to a central location (like /usr/lib/ on Linux) you will of course need write access to that directory.

Question

I get an "internal compiler error".
What can I do?

Answer

Under Windows using the Microsoft Developer Studio this error appears regularly without any obvious reason. You can do the following:

Question

Do I need Qt and Qwt?
Where can I get these libraries?

Answer

No, you do not need these libraries unless you want to compile the graphical examples. The libraries are available from:

Question

I get strange warnings when I compile Shark using a certain Microsoft compiler. What should I do?

Answer

Don't worry, ignore them.

Packages

Question

What happened to the Fuzzy library?

Answer

The Fuzzy library for multi-valued logic and fuzzy control, which was available as an add-on package, was removed from the library some years ago. Recently the library was revised and we included an easy version into the current release. However, the Fuzzy module is still in the beta stage.

Question

What happened to the [...] library, the [...] add-on package, the function [...]?

Answer