Installation Instructions


Home
Programmers
Manuals
Downloads
Release Notes
Contact

PHAKISO

  1. Unzip all files into a directory.
  2. Run PHAKISO.exe.
  3. To uninstall, just delete the whole directory.

 

YMLL

Microsoft Visual Studio 2005

  1. Unzip all files. All the files should be unzipped into their respective directory. Do not change the directory names.
  2. Add the path containing YMLL.h to Tools -> Options -> Projects and Solutions -> VC++ Directories.
  3. Ensure that the /MD compiler setting is set (Project Property -> C/C++ -> Code Generation -> Runtime Library -> Multi-threaded DLL (/MD)).
  4. Ensure that the project is not using precompiled headers (Project Property -> C/C++ -> Precompiled Headers -> Create/Use Precompiled Header -> Not Using Precompiled Headers).
  5. Ensure that the library file YMLL.lib (and other library files if necessary) is added as input file for the linker (Project Property -> Linker -> Input -> Additional Dependencies -> Full path name of YMLL.lib).
  6. Add #include <YMLL.h> and using namespace YMLL; to source code.

Other Operating System/Compilers

  1. Unzip all files. All the files should be unzipped into their respective directory. Do not change the directory names.
  2. Ensure that the library file libYMLL.a (and other library files if necessary) is added to the compiler options.
  3. Add #include <YMLL.h> and using namespace YMLL; to source code.
  4. If using g++, compile by typing "g++ xxx.cpp -g -w -O -fexceptions -O0 -I path/YMLL/Include -I path/YMLL/Support/galib246 -L path/YMLL/lib -lYMLL". Add more "-l" options if using other libraries, e.g. "-lLibSVM -lSVMLight".

 

Annie

  1. Needed if using AnnieFFBPNNMachine. Otherwise just comment out the following in YMLL.h.
  • class AnnieFFBPNNMachine;
  • #include "../Annie/include/annie.h"
  • #include "Machines/MachineAnnieNN.h"
  1. Download source codes from here.
  2. Unzip all files to a directory.
  3. Create a directory annie and under it, create two directories include and src. The directory annie should be under the YMLL/Support directory.
  4. Copy all header files (.h) to the include directory.
  5. Copy all source code files (.cpp) to the src directory.
  6. Compile into a library file. You can use this perl script to generate a makefile.Annie and then compile using either "make -f makefile.Annie" or "gmake -f makefile.Annie".

 

galib246

  1. Needed if using GALibDescriptorSelection or GALibGroupDescriptorSelection. Otherwise just comment out the following in YMLL.h.
  • class GALibDescriptorSelection;
  • class GALibGroupDescriptorSelection;
  • #include "Descriptors/DescriptorSelectionGALib.h"
  • #include "Descriptors/DescriptorSelectionGALibGroup.h"
  1. Download source codes from here.
  2. Unzip all files to a directory.
  3. The whole directory galib246 should be under the YMLL/Support directory. If a newer version of galib is used, the #include statement in DescriptorSelectionGALib.h and DescriptorSelectionGALibGroup.h should be modified accordingly.
  4. Compile into a library file. You can use this perl script to generate a makefile.galib246 and then compile using either "make -f makefile.galib246" or "gmake -f makefile.galib246". (Note: for Visual Studio 2005, you may have to rename all .c files to .cpp files.)

 

LibSVM

  1. Needed if using LibSVMMachine. Otherwise just comment out the following in YMLL.h.
  • class LibSVMMachine;
  • #include "../LibSVM/libsvm.h"
  • #include "Machines/MachineLibSVM.h"
  1. Download source codes from here.
  2. Unzip all files to a directory LibSVM which should be created under the YMLL/Support directory.
  3. Rename svm.h and svm.cpp to libsvm.h and libsvm.cpp respectively.
  4. Change #include "svm.h" in libsvm.cpp to #include "libsvm.h".
  5. Move struct svm_model and struct decision_function from libsvm.cpp to libsvm.h.
  6. Insert function declaration for svm_train_one, svm_svr_probability, svm_group_classes and svm_binary_svc_probability into libsvm.h.
  7. Compile into a library file. You can use this perl script to generate a makefile.LibSVM then compile using either "make -f makefile.LibSVM" or "gmake -f makefile.LibSVM".

 

PNN

  1. Needed if using MasterPNNMachine, MasterPNNSepClassMachine or MasterGRNNMachine. Otherwise just comment out the following in YMLL.h.
  • class MasterPNNMachine;
  • class MasterPNNSepClassMachine;
  • class MasterGRNNMachine;
  • #include "../PNN/const.h"
  • #include "../PNN/classes.h"
  • #include "../PNN/funcdefs.h"
  1. Get source codes from Masters T (1995). Advanced algorithms for neural networks : a C++ sourcebook. New York, Wiley.
  2. Copy all files to a directory PNN which should be created under the YMLL/Support directory.
  3. Compile into a library file. You can use this perl script to generate a makefile.PNN and then compile using either "make -f makefile.PNN" or "gmake -f makefile.PNN".

 

SVMlight

  1. Needed if using SVMLightMachine. Otherwise just comment out the following in YMLL.h.
  • class SVMLightMachine;
  • class SVMLightDistanceMeasurer;
  • #include "../SVMLight/svm_common.h"
  • #include "../SVMLight/svm_learn.h"
  • #include "Machines/MachineSVMLight.h"
  1. Download source codes from here.
  2. Unzip all files to a directory SVMLight which should be created under the YMLL/Support directory.
  3. For Visual Studio 2005, convert all WORD to SVMWORD because it conflicts with Windows typedef SVMWORD.
  4. Compile into a library file. You can use this makefile: makefile.SVMLight and then compile using either "make -f makefile.SVMLight" or "gmake -f makefile.SVMLight".

 

Torch

  1. Needed if using TorchSVMMachine or TorchMLPMachine. Otherwise just comment out the following in YMLL.h.
  • class TorchSVMMachine;
  • class TorchMLPMachine;
  • #include "../Torch/Allocator.h"
  • #include "../Torch/QCTrainer.h"
  • #include "../Torch/Sequence.h"
  • #include "../Torch/Kernel.h"
  • #include "../Torch/SVMRegression.h"
  • #include "../Torch/MemoryDataSet.h"
  • #include "../Torch/Sequence.h"
  • #include "../Torch/SVMClassification.h"
  • #include "../Torch/ClassFormatDataSet.h"
  • #include "../Torch/ConnectedMachine.h"
  • #include "../Torch/MLP.h"
  • #include "../Torch/MSECriterion.h"
  • #include "../Torch/StochasticGradient.h"
  • #include "../Torch/Linear.h"
  • #include "../Torch/Tanh.h"
  • #include "../Torch/Sigmoid.h"
  • #include "../Torch/SoftMax.h"
  • #include "../Torch/LogSoftMax.h"
  • #include "../Torch/Exp.h"
  • #include "../Torch/SoftPlus.h"
  • #include "../Torch/Random.h"
  • #include "../Torch/DiskXFile.h"
  1. Download source codes from here.
  2. Unzip all files to a directory Torch which should be created under the YMLL/Support directory.
  3. Compile into a library file. You can use this perl script to generate a makefile.Torch and then compile using either "make -f makefile.Torch" or "gmake -f makefile.Torch".

Home | Programmers | Manuals | Downloads | Release Notes | Contact
 
For problems or questions regarding this Web site contact admin@phakiso.com.
Last updated: 05/08/06.