All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Classes | Typedefs | Enumerations | Functions
lsh-regression.cpp File Reference

lsh_regression binnary More...

#include "paal/data_structures/mapped_file.hpp"
#include "paal/regression/lsh_nearest_neighbors_regression.hpp"
#include "paal/utils/functors.hpp"
#include "paal/utils/performance_measures.hpp"
#include "paal/utils/read_svm.hpp"
#include "paal/utils/singleton_iterator.hpp"
#include "paal/utils/system_message.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/function_output_iterator.hpp>
#include <boost/iostreams/device/mapped_file.hpp>
#include <boost/numeric/ublas/vector_sparse.hpp>
#include <boost/program_options.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <boost/range/algorithm/copy.hpp>
#include <boost/range/algorithm/fill.hpp>
#include <boost/range/empty.hpp>
#include <boost/range/size.hpp>
#include <cstdlib>
#include <iostream>
#include <random>
#include <sstream>
#include <string>
#include <thread>
#include <utility>

Go to the source code of this file.

Classes

struct  l1_tag
 
struct  l2_tag
 
struct  ham_tag
 
struct  jaccard_tag
 
struct  params
 

Typedefs

using point_type_sparse = boost::numeric::ublas::compressed_vector< double >
 
using point_type_dense = boost::numeric::ublas::vector< double >
 

Enumerations

enum  Metric { HAMMING, L1, L2, JACCARD }
 
enum  Vector_type { SPARSE, DENSE }
 

Functions

std::istream & operator>> (std::istream &in, Metric &metr)
 
std::istream & operator>> (std::istream &in, Vector_type &vec_type)
 
auto get_function_generator (l1_tag, params const &p)
 
auto get_function_generator (l2_tag, params const &p)
 
auto get_function_generator (ham_tag, params const &p)
 
auto get_function_generator (jaccard_tag, params const &p)
 
template<typename Row = point_type_sparse, typename LshFunctionTag >
void m_main (po::variables_map const &vm, params const &p, LshFunctionTag tag)
 
template<typename LshFunctionTag >
void choose_vector_type_main (po::variables_map const &vm, params const &p, LshFunctionTag tag)
 
void choose_vector_type_main (po::variables_map const &vm, params const &p, jaccard_tag tag)
 
int main (int argc, char **argv)
 

Detailed Description

lsh_regression binnary

Author
Karol Wegrzycki, Andrzej Pacuk, Piotr Wygocki
Version
1.0
Date
2014-11-19

Definition in file lsh-regression.cpp.