name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
namedlabels::namedlabels(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | namedlabels(std::string label_list)
{
char* temp = calloc_or_throw<char>(1 + label_list.length());
memcpy(temp, label_list.c_str(), strlen(label_list.c_str()));
substring ss = {temp, nullptr};
ss.end = ss.begin + label_list.length();
tokenize(',', ss, id2name);
K = (uint32_t)id2name.size();
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp # imm = 0x1C8
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x30(%rdi), %rbp
movl $0x3ff, %esi # imm = 0x3FF
movq %rbp, %rdi
movq %rbx, 0x8(%rsp)
callq 0x5a2c6
l... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/global_data.h |
VW::config::typed_option<bool>& VW::config::options_i::get_typed_option<bool>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | typed_option<T>& get_typed_option(const std::string& key)
{
base_option& base = *get_option(key);
if (base.m_type_hash != typed_option<T>::type_hash())
{
throw std::bad_cast();
}
return dynamic_cast<typed_option<T>&>(base);
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rdx
movq %rdi, %rsi
movq (%rdi), %rax
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq *0x20(%rax)
movq (%r14), %rbx
movq 0x8(%r14), %rdi
testq %rdi, %rdi
je 0x59796
callq 0x1cfd0
movq 0x28(%rbx), %r14
movq 0x18472f(%rip), %rdi # 0x1dded0
callq 0x31f54
cmpq %rax, %r14
jne... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/options.h |
node_socks::node_socks() | node_socks() { current_master = ""; } | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x12003b(%rip), %rcx # 0x17b199
xorl %esi, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x14be0
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
j... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/allreduce.h |
void ExpReplay::finish<COST_SENSITIVE::cs_label>(ExpReplay::expreplay&) | void finish(expreplay& er)
{
for (size_t n = 0; n < er.N; n++)
{
lp.delete_label(&er.buf[n].l);
VW::dealloc_example(NULL, er.buf[n], NULL); // TODO: need to free label
}
free(er.buf);
free(er.filled);
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x8(%rdi)
je 0x5da16
xorl %r14d, %r14d
leaq 0x181338(%rip), %r15 # 0x1ded18
xorl %r12d, %r12d
movq 0x10(%rbx), %rax
leaq (%rax,%r14), %rdi
addq $0x6828, %rdi # imm = 0x6828
callq *0x20(%r15)
movq 0x10(%rbx), %rsi
addq %r14, %... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/expreplay.h |
VW::config::typed_option<int>::typed_option(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int&) | typed_option(const std::string& name, T& location) : base_option(name, typeid(T).hash_code()), m_location{location} {} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x1de82
movq 0x180114(%rip), %rdi # 0x1dde28
callq 0x31f54
movq %... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/options.h |
accumulate_avg(vw&, parameters&, unsigned long) | void accumulate_avg(vw& all, parameters& weights, size_t offset)
{
uint32_t length = 1 << all.num_bits; // This is size of gradient
float numnodes = (float)all.all_reduce->total;
float* local_grad = new float[length];
if (weights.sparse)
for (uint64_t i = 0; i < length; i++)
local_grad[i] = (&(weigh... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movb 0x50(%rdi), %cl
movl $0x1, %r14d
shlq %cl, %r14
movq %rsi, %r15
movq %rdi, 0x10(%rsp)
movq 0x20(%rdi), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
js 0x5e251
cvtsi2ss %rax, %xmm0
jmp 0x5e266
movq %rax, %rcx
shrq %rcx
... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/accumulate.cc |
GD::print_features(vw&, example&) | void print_features(vw& all, example& ec)
{
if (all.lda > 0)
print_lda_features(all, ec);
else
{
audit_results dat(all, ec.ft_offset);
for (features& fs : ec)
{
if (fs.space_names.size() > 0)
for (features::iterator_all& f : fs.values_indices_audit())
{
audit_inter... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
cmpl $0x0, 0x3478(%rdi)
je 0x5fc23
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5f953
movq 0x6820(%rsi), %rax
leaq 0x38(%rsp), %rcx
movq %rdi, 0x68(%rsp)
movq %rdi, -0x10(%rcx)
movq %rax, -0x8(%rcx)
... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
GD::setup(VW::config::options_i&, vw&) | base_learner* setup(options_i& options, vw& all)
{
auto g = scoped_calloc_or_throw<gd>();
bool sgd = false;
bool adaptive = false;
bool adax = false;
bool invariant = false;
bool normalized = false;
option_group_definition new_options("Gradient Descent options");
new_options.add(make_option("sgd", sgd... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x888, %rsp # imm = 0x888
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1, %edi
callq 0x67945
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x40(%rax)
movups %x... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
version_struct::operator<(char const*) | bool operator<(const char* v_str)
{
version_struct v_tmp(v_str);
return (*this < v_tmp);
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rax
movq %rdi, %rbx
leaq 0x10(%rsp), %rcx
leaq 0x14(%rsp), %r8
leaq 0x1178b1(%rip), %rsi # 0x17b2cf
leaq 0xc(%rsp), %r14
movq %rax, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x146d0
movl (%r14), %ecx
movl (%rbx), %edx
movb $0x1, %al
cmpl %ecx, %edx
jl 0x63a58
jle 0... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/global_data.h |
void GD::multipredict<true, false>(GD::gd&, LEARNER::learner<char, char>&, example&, unsigned long, unsigned long, polyprediction*, bool) | void multipredict(
gd& g, base_learner&, example& ec, size_t count, size_t step, polyprediction* pred, bool finalize_predictions)
{
vw& all = *g.all;
for (size_t c = 0; c < count; c++) pred[c].scalar = ec.l.simple.initial;
if (g.all->weights.sparse)
{
multipredict_info<sparse_parameters> mp = {
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %r9, %rbx
movq %rcx, %r14
movq 0x60(%rdi), %r15
testq %rcx, %rcx
je 0x63ecb
movq %rbx, %rax
movq %r14, %rcx
movss 0x6830(%rdx), %xmm0
movss %xmm0, (%rax)
addq $0x20, %rax
decq %rcx
jne 0x63eb6
movq 0x60(%rdi), %rcx
cmpb $0x0, 0x3590(%rcx)
je 0x63f13
leaq 0x8(%rsp),... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::predict<false, false>(GD::gd&, LEARNER::learner<char, char>&, example&) | void predict(gd& g, base_learner&, example& ec)
{
vw& all = *g.all;
if (l1)
ec.partial_prediction = trunc_predict(all, ec, all.sd->gravity);
else
ec.partial_prediction = inline_predict(all, ec);
ec.partial_prediction *= (float)all.sd->contraction;
ec.pred.scalar = finalize_prediction(all.sd, ec.parti... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq 0x60(%rdi), %r14
movq %r14, %rdi
movq %rdx, %rsi
callq 0x6b3f5
movss %xmm0, 0x68a8(%rbx)
movq (%r14), %rax
cvtsd2ss 0x60(%rax), %xmm1
mulss %xmm1, %xmm0
movss %xmm0, 0x68a8(%rbx)
movq (%r14), %rdi
callq 0x5ff76
movss %xmm0, 0x6850(%rbx)
addq $0x8, %rsp
popq %rbx
pop... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
io_buf::bin_read_fixed(char*, unsigned long, char const*) | size_t bin_read_fixed(char* data, size_t len, const char* read_message)
{
if (len > 0)
{
char* p;
// if the model is corrupt the number of bytes can be less then specified (as there isn't enought data available
// in the file)
len = buf_read(p, len);
// compute hash for check-su... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1b0, %rsp # imm = 0x1B0
testq %rdx, %rdx
je 0x64b87
movq %rcx, %rbx
movq %rsi, %r15
movq %rdi, %r12
movq %rsp, %rsi
callq 0x20eec
movq %rax, %r14
cmpb $0x1, 0x8(%r12)
jne 0x64af6
movl 0xc(%r12), %eax
leal 0x3(%r14), %esi
testl %r14d, %r14d
movl %... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/io_buf.h |
GD::gd* calloc_or_throw<GD::gd>(unsigned long) | T* calloc_or_throw(size_t nmemb)
{
if (nmemb == 0)
return nullptr;
void* data = calloc(nmemb, sizeof(T));
if (data == nullptr)
{
const char* msg = "internal error: memory allocation failed!\n";
// use low-level function since we're already out of memory.
fputs(msg, stderr);
THROW(msg);
}
... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp # imm = 0x1B0
testq %rdi, %rdi
je 0x679f1
movl $0x68, %esi
callq 0x14480
testq %rax, %rax
jne 0x679f3
movq 0x1765bd(%rip), %rax # 0x1ddf30
movq (%rax), %rsi
leaq 0x113d72(%rip), %rbx # 0x17b6ef
movq %rbx, %rdi
callq 0x147c0
leaq 0x28(%rsp), %rdi
callq ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h |
void INTERACTIONS::generate_interactions<GD::trunc_data, float&, &GD::vec_add_trunc(GD::trunc_data&, float, float&), false, &void GD::dummy_func<GD::trunc_data>(GD::trunc_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<ch... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r8, 0x58(%rsp)
movq %rcx, %r14
movl %esi, 0x2c(%rsp)
movq 0x6820(%rdx), %rax
movq %rax, 0x50(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0xa8(%rsp)
movl $0x3f800000, 0xb8(%rsp) # imm = 0x3F... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void INTERACTIONS::generate_interactions<GD::multipredict_info<dense_parameters>, unsigned long, &void GD::vec_add_trunc_multipredict<dense_parameters>(GD::multipredict_info<GD::multipredict_info<dense_parameters>>&, float, unsigned long), false, &void GD::dummy_func<GD::multipredict_info<dense_parameters>>(GD::multipr... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %rbx
movl %esi, 0x1c(%rsp)
movq 0x6820(%rdx), %r13
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movq $0x0, 0x78(%rsp)
movl $0x3f800000, 0x88(%rsp) # imm = 0x3F800000
movups %xmm0, 0x90(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void INTERACTIONS::generate_interactions<GD::multipredict_info<dense_parameters>, unsigned long, &void GD::vec_add_trunc_multipredict<dense_parameters>(GD::multipredict_info<GD::multipredict_info<dense_parameters>>&, float, unsigned long), false, &void GD::dummy_func<GD::multipredict_info<dense_parameters>>(GD::multipr... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %rbx
movl %esi, 0x1c(%rsp)
movq 0x6820(%rdx), %r13
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movq $0x0, 0x78(%rsp)
movl $0x3f800000, 0x88(%rsp) # imm = 0x3F800000
movups %xmm0, 0x90(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::foreach_feature<GD::multipredict_info<dense_parameters>, unsigned long, &void GD::vec_add_multipredict<dense_parameters>(GD::multipredict_info<GD::multipredict_info<dense_parameters>>&, float, unsigned long)>(vw&, example&, GD::multipredict_info<dense_parameters>&) | inline void foreach_feature(vw& all, example& ec, R& dat)
{
return all.weights.sparse
? foreach_feature<R, S, T, sparse_parameters>(all.weights.sparse_weights, all.ignore_some_linear,
all.ignore_linear, all.interactions, all.permutations, ec, dat)
: foreach_feature<R, S, T, dense_parameters>(a... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rdi, %r13
movb 0x360(%rdi), %al
movb %al, 0xf(%rsp)
movb 0x4b1(%rdi), %al
leaq 0x368(%rdi), %rcx
movq %rcx, 0x20(%rsp)
movq 0x6820(%rsi), %r12
leaq 0x20(%rsi), %r15
movq (%rsi), %rbp
movq %rsi, 0x18(%rsp)
movq 0x8(%... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.h |
void INTERACTIONS::generate_interactions<GD::multipredict_info<dense_parameters>, unsigned long, &void GD::vec_add_multipredict<dense_parameters>(GD::multipredict_info<GD::multipredict_info<dense_parameters>>&, float, unsigned long), false, &void GD::dummy_func<GD::multipredict_info<dense_parameters>>(GD::multipredict_... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %rbx
movl %esi, 0x24(%rsp)
movq 0x6820(%rdx), %r13
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movq $0x0, 0x78(%rsp)
movl $0x3f800000, 0x88(%rsp) # imm = 0x3F800000
movups %xmm0, 0x90(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::pred_per_update_feature<true, true, 1ul, 2ul, 3ul, false>(GD::norm_data&, float, float&) | inline void pred_per_update_feature(norm_data& nd, float x, float& fw)
{
if (feature_mask_off || fw != 0.)
{
weight* w = &fw;
float x2 = x * x;
if (x2 < x2_min)
{
x = (x > 0) ? x_min : -x_min;
x2 = x2_min;
}
if (x2 > x2_max)
THROW("your features have too much magnitude");
... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp # imm = 0x1B0
movaps %xmm0, %xmm3
mulss %xmm0, %xmm3
movss 0x111e62(%rip), %xmm1 # 0x180e00
maxss %xmm3, %xmm1
ucomiss 0x10c56f(%rip), %xmm1 # 0x17b518
ja 0x6f063
xorps %xmm2, %xmm2
xorl %eax, %eax
ucomiss %xmm2, %xmm0
seta %al
cmpltss 0x111e3d(%rip), %x... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void INTERACTIONS::generate_interactions<GD::norm_data, float&, &void GD::pred_per_update_feature<true, true, 1ul, 2ul, 3ul, false>(GD::norm_data&, float, float&), false, &void GD::dummy_func<GD::norm_data>(GD::norm_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %rbx
movl %esi, 0x2c(%rsp)
movq 0x6820(%rdx), %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::pred_per_update_feature<true, true, 1ul, 2ul, 3ul, true>(GD::norm_data&, float, float&) | inline void pred_per_update_feature(norm_data& nd, float x, float& fw)
{
if (feature_mask_off || fw != 0.)
{
weight* w = &fw;
float x2 = x * x;
if (x2 < x2_min)
{
x = (x > 0) ? x_min : -x_min;
x2 = x2_min;
}
if (x2 > x2_max)
THROW("your features have too much magnitude");
... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp # imm = 0x1B0
movaps %xmm0, %xmm3
mulss %xmm0, %xmm3
movss 0x10faa8(%rip), %xmm1 # 0x180e00
maxss %xmm3, %xmm1
ucomiss 0x10a1b5(%rip), %xmm1 # 0x17b518
ja 0x71434
xorps %xmm2, %xmm2
xorl %eax, %eax
ucomiss %xmm2, %xmm0
seta %al
cmpltss 0x10fa83(%rip), %x... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void INTERACTIONS::generate_interactions<GD::norm_data, float&, &void GD::pred_per_update_feature<true, true, 1ul, 2ul, 3ul, true>(GD::norm_data&, float, float&), false, &void GD::dummy_func<GD::norm_data>(GD::norm_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__c... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %rbx
movl %esi, 0x2c(%rsp)
movq 0x6820(%rdx), %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::learn<true, true, true, false, true, 1ul, 2ul, 3ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x72a18
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<true, true, true, false, false, 1ul, 2ul, 3ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x764fa
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x72ae7
jnp 0x72b05
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
mulss 0x28(%rbx), %xmm0
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x740f3
movq 0x60(%rbx), %rdi
mo... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::foreach_feature<GD::norm_data, float&, &void GD::pred_per_update_feature<true, false, 1ul, 2ul, 3ul, false>(GD::norm_data&, float, float&)>(vw&, example&, GD::norm_data&) | inline void foreach_feature(vw& all, example& ec, R& dat)
{
return all.weights.sparse
? foreach_feature<R, S, T, sparse_parameters>(all.weights.sparse_weights, all.ignore_some_linear,
all.ignore_linear, all.interactions, all.permutations, ec, dat)
: foreach_feature<R, S, T, dense_parameters>(a... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r9
movq %rdi, %r12
movb 0x360(%rdi), %dl
movb 0x4b1(%rdi), %al
leaq 0x4b2(%rdi), %r10
leaq 0x368(%rdi), %rcx
cmpb $0x1, 0x3590(%rdi)
jne 0x72ffa
addq $0x35b0, %r12 # imm = 0x35B0
movq %r14, (%rsp)
mo... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.h |
void INTERACTIONS::generate_interactions<GD::norm_data, float&, &void GD::pred_per_update_feature<true, false, 1ul, 2ul, 3ul, false>(GD::norm_data&, float, float&), false, &void GD::dummy_func<GD::norm_data>(GD::norm_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::_... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r8, %rbx
movq %rcx, %r8
movl %esi, 0x34(%rsp)
movq 0x6820(%rdx), %rax
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rs... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
float GD::get_pred_per_update<true, false, true, 1ul, 2ul, 3ul, true>(GD::gd&, example&) | float get_pred_per_update(gd& g, example& ec)
{
// We must traverse the features in _precisely_ the same order as during training.
label_data& ld = ec.l.simple;
vw& all = *g.all;
float grad_squared = ec.weight;
if (!adax)
grad_squared *= all.loss->getSquareGrad(ec.pred.scalar, ld.label);
if (grad_squa... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x60(%rdi), %rdi
movss 0x6870(%rsi), %xmm0
leaq 0xc(%rsp), %r15
movss %xmm0, (%r15)
movq $0x0, 0x4(%r15)
movsd 0x1c(%rbx), %xmm0
shufps $0xe1, %xmm0, %xmm0 # xmm0 = xmm0[1,0,2,3]
movlps %xmm0, 0xc(%r15)
xorps %xmm0, %xmm0
movups ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void INTERACTIONS::generate_interactions<GD::norm_data, float&, &void GD::pred_per_update_feature<true, false, 1ul, 2ul, 3ul, true>(GD::norm_data&, float, float&), false, &void GD::dummy_func<GD::norm_data>(GD::norm_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r8, %rbx
movq %rcx, %r8
movl %esi, 0x34(%rsp)
movq 0x6820(%rdx), %rax
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rs... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::learn<false, true, true, true, true, 1ul, 2ul, 3ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x768b9
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<false, true, true, true, false, 1ul, 2ul, 3ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x76b47
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x76965
jnp 0x76983
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
mulss 0x28(%rbx), %xmm0
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x70288
movq 0x60(%rbx), %rdi
mo... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<true, false, true, true, true, 1ul, 2ul, 3ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x77361
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x77281
jnp 0x7729f
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
mulss 0x28(%rbx), %xmm0
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x70288
movq 0x60(%rbx), %rdi
mo... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::compute_update<true, false, true, true, true, 1ul, 2ul, 3ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x774e3
movq %r14... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<true, false, true, false, true, 1ul, 2ul, 3ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x777c3
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x776e3
jnp 0x77701
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
mulss 0x28(%rbx), %xmm0
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x740f3
movq 0x60(%rbx), %rdi
mo... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<false, false, true, true, true, 1ul, 2ul, 3ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x77b29
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<true, true, true, true, true, 1ul, 0ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x784fd
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void INTERACTIONS::generate_interactions<GD::norm_data, float&, &void GD::pred_per_update_feature<true, true, 1ul, 0ul, 2ul, false>(GD::norm_data&, float, float&), false, &void GD::dummy_func<GD::norm_data>(GD::norm_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %rbx
movl %esi, 0x2c(%rsp)
movq 0x6820(%rdx), %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void INTERACTIONS::generate_interactions<float, float&, &void GD::update_feature<true, true, 1ul, 0ul, 2ul>(float&, float, float&), false, &void GD::dummy_func<float>(float&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %r14
movl %esi, 0x14(%rsp)
movq 0x6820(%rdx), %r12
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x78(%rsp)
movl $0x3f800000, 0x88(%rsp) # imm = 0x3F800000
movups %xmm0, 0x90(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
float GD::get_pred_per_update<true, true, false, 1ul, 0ul, 2ul, false>(GD::gd&, example&) | float get_pred_per_update(gd& g, example& ec)
{
// We must traverse the features in _precisely_ the same order as during training.
label_data& ld = ec.l.simple;
vw& all = *g.all;
float grad_squared = ec.weight;
if (!adax)
grad_squared *= all.loss->getSquareGrad(ec.pred.scalar, ld.label);
if (grad_squa... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r15
movq 0x60(%rdi), %r14
movss 0x6870(%rsi), %xmm0
movss %xmm0, (%rsp)
movq 0x3548(%r14), %rdi
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movq (%rdi), %rax
callq *0x28(%rax)
mulss (%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::compute_update<true, true, true, false, true, 1ul, 0ul, 2ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x7c38a
movq %r14... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<false, true, true, true, false, 1ul, 0ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x7fcf4
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<true, false, true, true, true, 1ul, 0ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x805f5
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<true, false, true, true, false, 1ul, 0ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x8067c
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<true, false, true, false, true, 1ul, 0ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x80a45
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<true, false, true, false, false, 1ul, 0ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x80acc
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<false, false, true, true, false, 1ul, 0ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x80f1c
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::compute_update<false, false, true, false, true, 1ul, 0ul, 2ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x8152d
movq %r14... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<true, true, true, true, true, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x8187b
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::sensitivity<true, true, true, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | float sensitivity(gd& g, base_learner& /* base */, example& ec)
{
return get_scale<adaptive>(g, ec, 1.) *
sensitivity<sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare, true>(g, ec);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %rax
movq (%rax), %rcx
movsd 0x18(%rcx), %xmm0
addsd 0xf971b(%rip), %xmm0 # 0x17b020
subsd 0x78(%rcx), %xmm0
movss 0x3560(%rax), %xmm1
movss %xmm1, 0x4(%rsp)
cvtsd2ss %xmm0, %xmm0
movss 0x20(%rdi), %xmm1
callq 0x14c10
mulss 0x4(%rsp), ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::compute_update<true, true, true, true, true, 0ul, 1ul, 2ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x81c01
movq %r14... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void INTERACTIONS::generate_interactions<GD::norm_data, float&, &void GD::pred_per_update_feature<true, true, 0ul, 1ul, 2ul, false>(GD::norm_data&, float, float&), false, &void GD::dummy_func<GD::norm_data>(GD::norm_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r8, %rbx
movq %rcx, %r8
movl %esi, 0x34(%rsp)
movq 0x6820(%rdx), %rax
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rs... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::foreach_feature<float, float&, &void GD::update_feature<true, true, 0ul, 1ul, 2ul>(float&, float, float&), sparse_parameters>(sparse_parameters&, bool, bool*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_tr... | inline void foreach_feature(W& weights, bool ignore_some_linear, bool ignore_linear[256],
std::vector<std::string>& interactions, bool permutations, example_predict& ec, R& dat)
{
uint64_t offset = ec.ft_offset;
if (ignore_some_linear)
for (example_predict::iterator i = ec.begin(); i != ec.end(); ++i)
{... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r8d, 0x24(%rsp)
movq %rcx, 0x30(%rsp)
movq %rdx, 0x40(%rsp)
movq %rdi, %r14
movq 0x80(%rsp), %r12
movq 0x6820(%r9), %r15
leaq 0x20(%r9), %rax
movq %rax, 0x10(%rsp)
movq (%r9), %rcx
movq %r9, 0x28(%rsp)
movq 0x8(%r9), %rax
testl %es... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd_predict.h |
void INTERACTIONS::generate_interactions<float, float&, &void GD::update_feature<true, true, 0ul, 1ul, 2ul>(float&, float, float&), false, &void GD::dummy_func<float>(float&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %r14
movl %esi, 0x14(%rsp)
movq 0x6820(%rdx), %r12
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x78(%rsp)
movl $0x3f800000, 0x88(%rsp) # imm = 0x3F800000
movups %xmm0, 0x90(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::pred_per_update_feature<true, true, 0ul, 1ul, 2ul, true>(GD::norm_data&, float, float&) | inline void pred_per_update_feature(norm_data& nd, float x, float& fw)
{
if (feature_mask_off || fw != 0.)
{
weight* w = &fw;
float x2 = x * x;
if (x2 < x2_min)
{
x = (x > 0) ? x_min : -x_min;
x2 = x2_min;
}
if (x2 > x2_max)
THROW("your features have too much magnitude");
... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp # imm = 0x1B0
movaps %xmm0, %xmm3
mulss %xmm0, %xmm3
movss 0xfcd6a(%rip), %xmm1 # 0x180e00
maxss %xmm3, %xmm1
ucomiss 0xf7477(%rip), %xmm1 # 0x17b518
ja 0x84162
xorps %xmm2, %xmm2
xorl %eax, %eax
ucomiss %xmm2, %xmm0
seta %al
cmpltss 0xfcd45(%rip), %xm... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::foreach_feature<GD::norm_data, float&, &void GD::pred_per_update_feature<true, true, 0ul, 1ul, 2ul, true>(GD::norm_data&, float, float&), sparse_parameters>(sparse_parameters&, bool, bool*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::... | inline void foreach_feature(W& weights, bool ignore_some_linear, bool ignore_linear[256],
std::vector<std::string>& interactions, bool permutations, example_predict& ec, R& dat)
{
uint64_t offset = ec.ft_offset;
if (ignore_some_linear)
for (example_predict::iterator i = ec.begin(); i != ec.end(); ++i)
{... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r8d, 0x24(%rsp)
movq %rcx, 0x30(%rsp)
movq %rdx, 0x40(%rsp)
movq %rdi, %r14
movq 0x80(%rsp), %r12
movq 0x6820(%r9), %r15
leaq 0x20(%r9), %rax
movq %rax, 0x10(%rsp)
movq (%r9), %rcx
movq %r9, 0x28(%rsp)
movq 0x8(%r9), %rax
testl %es... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd_predict.h |
void INTERACTIONS::generate_interactions<GD::norm_data, float&, &void GD::pred_per_update_feature<true, true, 0ul, 1ul, 2ul, true>(GD::norm_data&, float, float&), false, &void GD::dummy_func<GD::norm_data>(GD::norm_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__c... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r8, %rbx
movq %rcx, %r8
movl %esi, 0x34(%rsp)
movq 0x6820(%rdx), %rax
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rs... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
float GD::get_pred_per_update<true, true, false, 0ul, 1ul, 2ul, false>(GD::gd&, example&) | float get_pred_per_update(gd& g, example& ec)
{
// We must traverse the features in _precisely_ the same order as during training.
label_data& ld = ec.l.simple;
vw& all = *g.all;
float grad_squared = ec.weight;
if (!adax)
grad_squared *= all.loss->getSquareGrad(ec.pred.scalar, ld.label);
if (grad_squa... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x60(%rdi), %r12
movss 0x6870(%rsi), %xmm0
movss %xmm0, (%rsp)
movq 0x3548(%r12), %rdi
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movq (%rdi), %rax
callq *0x28(%rax)
mulss (%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<true, true, true, false, false, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x892a8
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x85864
jnp 0x85882
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
mulss 0x28(%rbx), %xmm0
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x86ec7
movq 0x60(%rbx), %rdi
mo... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::foreach_feature<float, float&, &void GD::update_feature<true, false, 0ul, 1ul, 2ul>(float&, float, float&), sparse_parameters>(sparse_parameters&, bool, bool*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_t... | inline void foreach_feature(W& weights, bool ignore_some_linear, bool ignore_linear[256],
std::vector<std::string>& interactions, bool permutations, example_predict& ec, R& dat)
{
uint64_t offset = ec.ft_offset;
if (ignore_some_linear)
for (example_predict::iterator i = ec.begin(); i != ec.end(); ++i)
{... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r8d, 0x24(%rsp)
movq %rcx, 0x30(%rsp)
movq %rdx, 0x40(%rsp)
movq %rdi, %r14
movq 0x80(%rsp), %r12
movq 0x6820(%r9), %r15
leaq 0x20(%r9), %rax
movq %rax, 0x10(%rsp)
movq (%r9), %rcx
movq %r9, 0x28(%rsp)
movq 0x8(%r9), %rax
testl %es... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd_predict.h |
void INTERACTIONS::generate_interactions<GD::norm_data, float&, &void GD::pred_per_update_feature<true, false, 0ul, 1ul, 2ul, true>(GD::norm_data&, float, float&), false, &void GD::dummy_func<GD::norm_data>(GD::norm_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r8, %rbx
movq %rcx, %r8
movl %esi, 0x34(%rsp)
movq 0x6820(%rdx), %rax
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rs... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::learn<false, true, true, true, true, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x89675
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<false, true, true, true, false, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x89705
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<false, true, true, false, true, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x89b33
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<true, false, true, false, false, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x8a67b
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<false, false, true, true, false, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x8ab51
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<false, false, true, false, false, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x8b003
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::learn<true, true, true, true, true, 0ul, 0ul, 0ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void learn(gd& g, base_learner& base, example& ec)
{
// invariant: not a test label, importance weight > 0
assert(ec.in_use);
assert(ec.l.simple.label != FLT_MAX);
assert(ec.weight > 0.);
g.predict(g, base, ec);
update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(g, ... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq *0x30(%rdi)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x8b57d
| /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<true, true, true, true, false, 0ul, 0ul, 0ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x8c87e
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x8b671
jnp 0x8b686
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x8b8e4
movq 0x60(%rbx), %rdi
movq (%rdi), %rax
movsd 0xf573b(%rip), %xmm0 ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void INTERACTIONS::generate_interactions<float, float&, &void GD::update_feature<true, true, 0ul, 0ul, 0ul>(float&, float, float&), false, &void GD::dummy_func<float>(float&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %rbx
movl %esi, 0x34(%rsp)
movq 0x6820(%rdx), %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::update<false, true, true, true, true, 0ul, 0ul, 0ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x8e0c7
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x8dff9
jnp 0x8e00e
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x8b8e4
movq 0x60(%rbx), %rdi
movq (%rdi), %rax
movsd 0xf2db3(%rip), %xmm0 ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::compute_update<false, true, true, true, false, 0ul, 0ul, 0ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x8e44c
movss 0x6... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::compute_update<false, true, true, false, false, 0ul, 0ul, 0ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x8e8ec
movss 0x6... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::compute_update<false, false, true, true, false, 0ul, 0ul, 0ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x8f814
movss 0x6... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<false, false, true, false, false, 0ul, 0ul, 0ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x8faf2
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x8f8e8
jnp 0x8f8fd
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x8cde4
movq 0x60(%rbx), %rdi
movq (%rdi), %rax
movsd 0xf14c4(%rip), %xmm0 ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::compute_update<false, false, true, false, false, 0ul, 0ul, 0ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x8fca8
movss 0x6... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<true, true, false, true, false, 1ul, 2ul, 3ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x939b2
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x8ff6c
jnp 0x8ff8a
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
mulss 0x28(%rbx), %xmm0
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x915aa
movq 0x60(%rbx), %rdi
mo... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void INTERACTIONS::generate_interactions<GD::norm_data, float&, &void GD::pred_per_update_feature<false, true, 1ul, 2ul, 3ul, false>(GD::norm_data&, float, float&), false, &void GD::dummy_func<GD::norm_data>(GD::norm_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::_... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %rbx
movl %esi, 0x2c(%rsp)
movq 0x6820(%rdx), %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0xb8(%rsp)
movl $0x3f800000, 0xc8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xd0(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void GD::foreach_feature<float, float&, &void GD::update_feature<false, true, 1ul, 2ul, 3ul>(float&, float, float&)>(vw&, example&, float&) | inline void foreach_feature(vw& all, example& ec, R& dat)
{
return all.weights.sparse
? foreach_feature<R, S, T, sparse_parameters>(all.weights.sparse_weights, all.ignore_some_linear,
all.ignore_linear, all.interactions, all.permutations, ec, dat)
: foreach_feature<R, S, T, dense_parameters>(a... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rax
movq %rsi, %r9
movb 0x360(%rdi), %r10b
movb 0x4b1(%rdi), %bpl
leaq 0x4b2(%rdi), %rdx
leaq 0x368(%rdi), %rcx
cmpb $0x1, 0x3590(%rdi)
jne 0x91607
addq $0x35b0, %rdi # imm = 0x35B0
movq %rax, (%rsp)
movzbl %bpl, %esi
mov... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.h |
void GD::foreach_feature<GD::norm_data, float&, &void GD::pred_per_update_feature<false, true, 1ul, 2ul, 3ul, true>(GD::norm_data&, float, float&)>(vw&, example&, GD::norm_data&) | inline void foreach_feature(vw& all, example& ec, R& dat)
{
return all.weights.sparse
? foreach_feature<R, S, T, sparse_parameters>(all.weights.sparse_weights, all.ignore_some_linear,
all.ignore_linear, all.interactions, all.permutations, ec, dat)
: foreach_feature<R, S, T, dense_parameters>(a... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r9
movq %rdi, %r12
movb 0x360(%rdi), %dl
movb 0x4b1(%rdi), %al
leaq 0x4b2(%rdi), %r10
leaq 0x368(%rdi), %rcx
cmpb $0x1, 0x3590(%rdi)
jne 0x928b9
addq $0x35b0, %r12 # imm = 0x35B0
movq %r14, (%rsp)
mo... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.h |
float GD::compute_update<true, false, false, false, false, 1ul, 2ul, 3ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x98e7b
movq %r14... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<true, true, false, true, true, 1ul, 0ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x99a02
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x998ae
jnp 0x998c3
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x9ae9c
movq 0x60(%rbx), %rdi
movq (%rdi), %rax
movsd 0xe74fe(%rip), %xmm0 ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
void GD::update<false, true, false, false, false, 0ul, 1ul, 2ul>(GD::gd&, LEARNER::learner<char, char>&, example&) | void update(gd& g, base_learner&, example& ec)
{
// invariant: not a test label, importance weight > 0
float update;
if ((update = compute_update<sparse_l2, invariant, sqrt_rate, feature_mask_off, adax, adaptive, normalized, spare>(
g, ec)) != 0.)
train<sqrt_rate, feature_mask_off, adaptive, normal... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0xab2ea
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0xab0cb
jnp 0xab0e9
leaq 0x4(%rsp), %rdx
movss %xmm0, (%rdx)
mulss 0x28(%rbx), %xmm0
movss %xmm0, (%rdx)
movq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0xa837a
movq 0x60(%rbx), %rdi
mo... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
float GD::compute_update<false, true, false, false, false, 0ul, 1ul, 2ul>(GD::gd&, example&) | float compute_update(gd& g, example& ec)
{
// invariant: not a test label, importance weight > 0
label_data& ld = ec.l.simple;
vw& all = *g.all;
float update = 0.;
ec.updated_prediction = ec.pred.scalar;
if (all.loss->getLoss(all.sd, ec.pred.scalar, ld.label) > 0.)
{
float pred_per_update = sensitivi... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x60(%rdi), %r15
movss 0x6828(%rsi), %xmm1
movss 0x6850(%rsi), %xmm0
movss %xmm0, 0x68ac(%rsi)
movq 0x3548(%r15), %rdi
movq (%r15), %rsi
movq (%rdi), %rax
callq *0x8(%rax)
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0xab4ac
movq %r14... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.cc |
sort_data* calloc_or_throw<sort_data>(unsigned long) | T* calloc_or_throw(size_t nmemb)
{
if (nmemb == 0)
return nullptr;
void* data = calloc(nmemb, sizeof(T));
if (data == nullptr)
{
const char* msg = "internal error: memory allocation failed!\n";
// use low-level function since we're already out of memory.
fputs(msg, stderr);
THROW(msg);
}
... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp # imm = 0x1B0
testq %rdi, %rdi
je 0xf20f2
movl $0x10, %esi
callq 0x14480
testq %rax, %rax
jne 0xf20f4
movq 0xebebc(%rip), %rax # 0x1ddf30
movq (%rax), %rsi
leaq 0x89671(%rip), %rbx # 0x17b6ef
movq %rbx, %rdi
callq 0x147c0
leaq 0x28(%rsp), %rdi
callq ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h |
void INTERACTIONS::generate_interactions<stagewise_poly, unsigned long, &synthetic_create_rec(stagewise_poly&, float, unsigned long), false, &void GD::dummy_func<stagewise_poly>(stagewise_poly&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, st... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rcx, %rbx
movl %esi, 0x34(%rsp)
movq 0x6820(%rdx), %r13
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0xa8(%rsp)
movl $0x3f800000, 0xb8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xc0(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
void INTERACTIONS::generate_interactions<stagewise_poly, unsigned long, &synthetic_create_rec(stagewise_poly&, float, unsigned long), false, &void GD::dummy_func<stagewise_poly>(stagewise_poly&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, st... | inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec,
R& dat,
W& weights) // default value removed to eliminate ambiguity in old complers
{
features* features_data = ec.feature_space;
// often used values
const uint64_t offset = ec.ft_offset;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rcx, %rbx
movl %esi, 0x34(%rsp)
movq 0x6820(%rdx), %r13
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0xa8(%rsp)
movl $0x3f800000, 0xb8(%rsp) # imm = 0x3F800000
movups %xmm0, 0xc0(%rsp)
movq (%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h |
save_load_tree(log_multi&, io_buf&, bool, bool) | void save_load_tree(log_multi& b, io_buf& model_file, bool read, bool text)
{
if (model_file.files.size() > 0)
{
stringstream msg;
msg << "k = " << b.k;
bin_text_read_write_fixed(model_file, (char*)&b.max_predictors, sizeof(b.k), "", read, msg, text);
msg << "nodes = " << b.nodes.size() << " ";
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp # imm = 0x218
movq %rdi, 0x18(%rsp)
movq 0x38(%rsi), %rax
movq %rsi, (%rsp)
cmpq 0x30(%rsi), %rax
je 0xf595d
movl %ecx, %ebp
movl %edx, %ebx
leaq 0x90(%rsp), %rdi
callq 0x144e0
leaq 0xa0(%rsp), %r12
leaq 0x91556(%rip), %rsi ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/log_multi.cc |
recall_tree_ns::compute_recall_lbest(recall_tree_ns::recall_tree&, recall_tree_ns::node*) | void compute_recall_lbest(recall_tree& b, node* n)
{
if (n->n <= 0)
return;
double mass_at_k = 0;
for (node_pred* ls = n->preds.begin(); ls != n->preds.end() && ls < n->preds.begin() + b.max_candidates; ++ls)
{
mass_at_k += ls->label_count;
}
float f = (float)mass_at_k / (float)n->n;
float stdf... | movsd 0x20(%rsi), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jae 0xf6fee
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x38(%rsi), %rax
movq 0x40(%rsi), %rcx
xorpd %xmm1, %xmm1
xorps %xmm3, %xmm3
cmpq %rcx, %rax
je 0xf6f3b
movq 0x30(%r14), %rdx
shlq $0x4, %rdx
addq %rax, %rdx
xorpd %xmm... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/recall_tree.cc |
recall_tree_ns::insert_example_at_node(recall_tree_ns::recall_tree&, unsigned int, example&) | void insert_example_at_node(recall_tree& b, uint32_t cn, example& ec)
{
node_pred* ls = find_or_create(b, cn, ec);
b.nodes[cn].entropy = updated_entropy(b, cn, ec);
ls->label_count += ec.weight;
while (ls != b.nodes[cn].preds.begin() && ls[-1].label_count < ls[0].label_count)
{
std::swap(ls[-1], ls[0])... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
callq 0xf6e6a
movq %rax, %r15
movq %rbx, %rdi
movl %ebp, %esi
movq %r14, %rdx
callq 0xf701d
movl %ebp, %eax
movq 0x10(%rbx), %rcx
imulq $0x58, %rax, %rsi
movsd %xmm0, 0x28(%rcx,%rsi)
xorps %xmm0, %xmm0
cvtss2sd ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/recall_tree.cc |
recall_tree_ns::add_node_id_feature(recall_tree_ns::recall_tree&, unsigned int, example&) | void add_node_id_feature(recall_tree& b, uint32_t cn, example& ec)
{
vw* all = b.all;
uint64_t mask = all->weights.mask();
size_t ss = all->weights.stride_shift();
ec.indices.push_back(node_id_namespace);
features& fs = ec.feature_space[node_id_namespace];
if (b.node_only)
{
fs.push_back(1., (((uint... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movq (%rdi), %rax
leaq 0x35e8(%rax), %rcx
leaq 0x35a0(%rax), %rdx
leaq 0x35f0(%rax), %rsi
leaq 0x35a8(%rax), %rdi
cmpb $0x0, 0x3590(%rax)
cmovneq %rcx, %rdx
movq (%rdx), %r12
cmovneq %rsi, %rdi
m... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/recall_tree.cc |
recall_tree_ns::oas_predict(recall_tree_ns::recall_tree&, LEARNER::learner<char, example>&, unsigned int, example&) | uint32_t oas_predict(recall_tree& b, single_learner& base, uint32_t cn, example& ec)
{
MULTICLASS::label_t mc = ec.l.multi;
uint32_t save_pred = ec.pred.multiclass;
uint32_t amaxscore = 0;
add_node_id_feature(b, cn, ec);
ec.l.simple = {FLT_MAX, 0.f, 0.f};
float maxscore = std::numeric_limits<float>::lowe... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq 0x6828(%rcx), %rax
movq %rax, 0x10(%rsp)
movl 0x6850(%rcx), %eax
movl %eax, 0xc(%rsp)
movl %edx, %esi
movq %rcx, %rdx
callq 0xf72b4
movss 0x84136(%rip), %xmm0 # 0x17... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/recall_tree.cc |
recall_tree_ns::train_node(recall_tree_ns::recall_tree&, LEARNER::learner<char, example>&, example&, unsigned int) | float train_node(recall_tree& b, single_learner& base, example& ec, uint32_t cn)
{
MULTICLASS::label_t mc = ec.l.multi;
uint32_t save_pred = ec.pred.multiclass;
// minimize entropy
// better than maximize expected likelihood, and the proofs go through :)
double new_left = updated_entropy(b, b.nodes[cn].left,... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl 0x6828(%rdx), %ebp
movss 0x682c(%rdx), %xmm0
movss %xmm0, 0x8(%rsp)
movl 0x6850(%rdx), %eax
movl %eax, 0xc(%rsp)
movl %ecx, %eax
movq 0x10(%rdi), %rcx
imulq $0x58, %rax, %r13
movl 0x14... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/recall_tree.cc |
recall_tree_ns::learn(recall_tree_ns::recall_tree&, LEARNER::learner<char, example>&, example&) | void learn(recall_tree& b, single_learner& base, example& ec)
{
predict(b, base, ec);
if (b.all->training && ec.l.multi.label != (uint32_t)-1) // if training the tree
{
uint32_t cn = 0;
while (b.nodes[cn].internal)
{
float which = train_node(b, base, ec, cn);
if (b.randomized_routing)
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rdi, %r15
movq %rsi, 0x18(%rsp)
xorl %ecx, %ecx
callq 0xf756e
shrq $0x20, %rax
movl %eax, 0x6850(%rbx)
movq (%r15), %rax
cmpb $0x1, 0x343a(%rax)
jne 0xf7b71
cmpl $-0x1, 0x6828(%rbx)
je 0xf7b71
xorl %ebp, %ebp
movl %... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/recall_tree.cc |
recall_tree_ns::finish(recall_tree_ns::recall_tree&) | void finish(recall_tree& b)
{
for (size_t i = 0; i < b.nodes.size(); ++i) b.nodes[i].preds.delete_v();
b.nodes.delete_v();
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %r14
cmpq %r14, 0x18(%rdi)
je 0xf7be8
movl $0x38, %r15d
xorl %r12d, %r12d
movabsq $0x2e8ba2e8ba2e8ba3, %r13 # imm = 0x2E8BA2E8BA2E8BA3
movq (%r14,%r15), %rdi
testq %rdi, %rdi
je 0xf7bb7
callq 0x14870
addq %r15, %r14
xorps %xmm0, %xm... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/recall_tree.cc |
v_array<recall_tree_ns::node_pred>::resize(unsigned long) | void resize(size_t length)
{
if ((size_t)(end_array - _begin) != length)
{
size_t old_len = _end - _begin;
T* temp = (T*)realloc(_begin, sizeof(T) * length);
if ((temp == nullptr) && ((sizeof(T) * length) > 0))
{
THROW("realloc of " << length << " failed in resize(). out of me... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp # imm = 0x1A8
movq (%rdi), %r13
movq 0x10(%rdi), %rax
subq %r13, %rax
sarq $0x4, %rax
cmpq %rsi, %rax
je 0xf9970
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rbp
movq %rsi, %r15
shlq $0x4, %r15
movq %r13, %rdi
movq %r15, ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/v_array.h |
memory_tree_ns::diag_kronecker_product_test(example&, example&, example&, int) | void diag_kronecker_product_test(example& ec1, example& ec2, example& ec, int oas = false)
{
//copy_example_data(&ec, &ec1, oas); //no_feat false, oas: true
VW::dealloc_example(nullptr, ec, nullptr); //clear ec
copy_example_data(&ec, &ec1, oas);
ec.total_sum_feat_sq = 0.0; //sort n... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %edi, %edi
movq %rdx, %rsi
xorl %edx, %edx
callq 0xcdffd
movq %rbx, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0xf9dd0
movl $0x0, 0x68b4(%rbx)
movq (%r15), %rdi
movq 0x... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory_tree.cc |
memory_tree_ns::F1_score_for_two_examples(example&, example&) | float F1_score_for_two_examples(example& ec1, example& ec2){
float num_overlaps = get_overlap_from_two_examples(ec1, ec2);
float v1 = num_overlaps/(1e-7+ec1.l.multilabels.label_v.size()*1.);
float v2 = num_overlaps/(1e-7+ec2.l.multilabels.label_v.size()*1.);
if (num_overlaps == 0.f)
... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0xfb002
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0xfb0e7
jnp 0xfb17e
movq 0x6830(%r14), %xmm1
movq 0x6830(%rbx), %xmm2
punpcklqdq %xmm1, %xmm2 # xmm2 = xmm2[0],xmm1[0]
movq 0x6828(%r14), %xmm1
movq 0x6828(%rbx), %xmm3
punpcklqdq %xmm1, %xmm3 ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory_tree.cc |
memory_tree_ns::predict(memory_tree_ns::memory_tree&, LEARNER::learner<char, example>&, example&) | void predict(memory_tree& b, single_learner& base, example& ec)
{
MULTICLASS::label_t mc;
uint32_t save_multi_pred = 0;
MULTILABEL::labels multilabels;
MULTILABEL::labels preds;
if (b.oas == false){
mc = ec.l.multi;
save_multi_pred = ec.pred.multicla... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x6828(%rdx), %r13
leaq 0x6850(%rdx), %rax
cmpl $0x0, 0xcc(%rdi)
je 0xfb1e6
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movaps %xmm1, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movups (%rax... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory_tree.cc |
memory_tree_ns::return_reward_from_node(memory_tree_ns::memory_tree&, LEARNER::learner<char, example>&, unsigned int, example&, float) | float return_reward_from_node(memory_tree& b, single_learner& base, uint32_t cn, example& ec, float weight = 1.f){
//example& ec = *b.examples[ec_array_index];
MULTICLASS::label_t mc;
uint32_t save_multi_pred = 0;
MULTILABEL::labels multilabels;
MULTILABEL::labels preds;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %rbx
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %r15
addq $0x6828, %rcx # imm = 0x6828
leaq 0x6850(%rbx), %rax
cmpl $0x0, 0xcc(%rdi)
movq %rcx, 0x18(%rsp)
movq %rax, 0x40(%rsp)
movss %xmm0, 0x10(%rsp)
je 0xfb416
mov... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory_tree.cc |
memory_tree_ns::learn_at_leaf_random(memory_tree_ns::memory_tree&, LEARNER::learner<char, example>&, unsigned int const&, example&, float const&) | void learn_at_leaf_random(memory_tree& b, single_learner& base, const uint32_t& leaf_id, example& ec, const float& weight){
b.total_num_queries ++;
int32_t ec_id = -1;
float reward = 0.f;
if (b.nodes[leaf_id].examples_index.size() > 0){
uint32_t pos = uint32_t(merand48(b.all-... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %r8, %r15
movq %rcx, %r12
movq %rdi, %r14
incl 0x88(%rdi)
movq %rdx, %r13
movq %rsi, %rbx
movl (%rdx), %eax
movq 0x8(%rdi), %rcx
leaq (%rax,%rax,8), %rax
movq 0x30(%rcx,%rax,8), %rdx
cmpq 0x28(%rcx,%rax,8), %rdx
je 0xfb877
movl $0x3448, %edi ... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory_tree.cc |
memory_tree_ns::route_to_leaf(memory_tree_ns::memory_tree&, LEARNER::learner<char, example>&, unsigned int const&, unsigned int, v_array<unsigned int>&, bool) | void route_to_leaf(memory_tree& b, single_learner& base, const uint32_t & ec_array_index, uint32_t cn, v_array<uint32_t>& path, bool insertion){
example& ec = *b.examples[ec_array_index];
MULTICLASS::label_t mc;
uint32_t save_multi_pred = 0;
MULTILABEL::labels multilabels;
MUL... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %r9d, %ebp
movq %r8, %r13
movq %rsi, %rbx
movq %rdi, %r14
movl %ecx, (%rsp)
movq %rdx, 0x10(%rsp)
movl (%rdx), %eax
movq 0x28(%rdi), %rcx
movq (%rcx,%rax,8), %r12
leaq 0x6828(%r12), %rcx
leaq 0x6850(%r12), %rax
cmpl $0x0, 0xcc(%rdi)... | /LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory_tree.cc |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.