common.h 493 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// The contents of this file are in the public domain. 
// See LICENSE_FOR_EXAMPLE_PROGRAMS.txt (in trunk/examples)
// Authors:
//   Gregory Sharp
//   Davis King


#ifndef DLIB_MLTOOL_COMMoN_H__

#include "dlib/cmd_line_parser.h"
#include <map>
#include "dlib/matrix.h"



Davis King's avatar
Davis King committed
16
using dlib::command_line_parser;
17
18
19
20
21
22
23
typedef std::map<unsigned long, double> sparse_sample_type;
typedef dlib::matrix<sparse_sample_type::value_type::second_type,0,1> dense_sample_type;



#endif // DLIB_MLTOOL_COMMoN_H__