SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LibSVMFile.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2010 Soeren Sonnenburg
8  * Copyright (C) 2010 Berlin Institute of Technology
9  */
10 #ifndef __LIBSVM_FILE_H__
11 #define __LIBSVM_FILE_H__
12 
13 #include <shogun/lib/config.h>
14 #include <shogun/lib/common.h>
15 #include <shogun/base/SGObject.h>
16 #include <shogun/io/SGIO.h>
17 
18 namespace shogun
19 {
33  SGSparseVector<float64_t>*& matrix, int32_t& num_feat, int32_t& num_vec);
34 
43  const SGSparseVector<float64_t>* matrix, int32_t num_feat, int32_t num_vec);
44 
57  float64_t*& matrix, int32_t& num_feat, int32_t& num_vec);
58 
67  const float64_t* matrix, int32_t num_feat, int32_t num_vec);
68 
80  bool read_char_valued_strings(SGString<char>*& strings, int32_t& num_str, int32_t& max_string_len);
87  bool write_char_valued_strings(const SGString<char>* strings, int32_t num_str);
88 
89 }
90 #endif //__LIBSVM_FILE_H__
91 

SHOGUN Machine Learning Toolbox - Documentation