DiSMEC++
reg_sq_hinge_detail.h File Reference
#include <vector>
#include "utils/conversion.h"
#include "matrix_types.h"
#include "utils/fast_sparse_row_iter.h"

Go to the source code of this file.

Namespaces

 dismec
 Main namespace in which all types, classes, and functions are defined.
 
 dismec::l2_reg_sq_hinge_detail
 

Functions

template<class Derived >
void dismec::l2_reg_sq_hinge_detail::htd_sum_naive (const std::vector< int > &indices, Eigen::Ref< DenseRealVector > output, const Eigen::EigenBase< Derived > &features, const DenseRealVector &costs, const DenseRealVector &direction)
 
template<int LOOK_AHEAD = 2>
void dismec::l2_reg_sq_hinge_detail::htd_sum (const std::vector< int > &indices, Eigen::Ref< DenseRealVector > output, const SparseFeatures &features, const DenseRealVector &costs, const DenseRealVector &direction)
 
void dismec::l2_reg_sq_hinge_detail::__attribute__ ((hot)) htd_sum_new(const std
 
template<typename Derived >
real_t dismec::l2_reg_sq_hinge_detail::value_from_xTw (const DenseRealVector &cost, const BinaryLabelVector &labels, const Eigen::DenseBase< Derived > &xTw)