/usr/include/shogun/ui/GUIConverter.h is in libshogun-dev 3.2.0-7.3build4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2012 Sergey Lisitsyn
* Copyright (C) 2012 Sergey Lisitsyn
*/
#ifndef __GUICONVERTER_H__
#define __GUICONVERTER_H__
#include <shogun/lib/config.h>
#include <shogun/base/SGObject.h>
#include <shogun/converter/Converter.h>
#include <shogun/features/DenseFeatures.h>
namespace shogun
{
class CSGInterface;
/** @brief UI converter */
class CGUIConverter : public CSGObject
{
public:
/** constructor */
CGUIConverter()
{
};
/** constructor
* @param interface
*/
CGUIConverter(CSGInterface* interface);
/** create LLE */
bool create_locallylinearembedding(int32_t k);
/** create NPE */
bool create_neighborhoodpreservingembedding(int32_t k);
/** create LTSA */
bool create_localtangentspacealignment(int32_t k);
/** create LLTSA */
bool create_linearlocaltangentspacealignment(int32_t k);
/** create HLLE */
bool create_hessianlocallylinearembedding(int32_t k);
/** create Laplacian Eigenmaps */
bool create_laplacianeigenmaps(int32_t k, float64_t width);
/** create LPP */
bool create_localitypreservingprojections(int32_t k, float64_t width);
/** create Diffusion maps */
bool create_diffusionmaps(int32_t t, float64_t width);
/** create Isomap */
bool create_isomap(int32_t k);
/** create Multidimensional scaling */
bool create_multidimensionalscaling();
/** create Jade */
bool create_jade();
/** apply */
CDenseFeatures<float64_t>* apply();
/** embed */
CDenseFeatures<float64_t>* embed(int32_t target_dim);
/** destructor */
~CGUIConverter();
/** @return object name */
virtual const char* get_name() const { return "GUIConverter"; }
protected:
/** converter */
CConverter* m_converter;
/** ui */
CSGInterface* m_ui;
};
}
#endif
|