name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
v_array<memory_tree_ns::node>::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), %r12 movq 0x10(%rdi), %rax subq %r12, %rax sarq $0x3, %rax movabsq $-0x71c71c71c71c71c7, %rcx # imm = 0x8E38E38E38E38E39 imulq %rcx, %rax cmpq %rsi, %rax je 0x100124 movq %rsi, %rbx movq %rdi, %r14 ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/v_array.h
LEARNER::learner<memory_tree_ns::memory_tree, example>& LEARNER::learner<memory_tree_ns::memory_tree, example>::init_learner<LEARNER::learner<char, example>>(memory_tree_ns::memory_tree*, LEARNER::learner<char, example>*, void (*)(memory_tree_ns::memory_tree&, LEARNER::learner<char, example>&, example&), void (*)(memor...
static learner<T, E>& init_learner(T* dat, L* base, void (*learn)(T&, L&, E&), void (*predict)(T&, L&, E&), size_t ws, prediction_type::prediction_type_t pred_type) { learner<T, E>& ret = calloc_or_throw<learner<T, E> >(); if (base != nullptr) { // a reduction ret = *(learner<T, E>*)(base); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, 0x4(%rsp) movq %r8, %rbp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r13 movl $0x1, %edi callq 0x100472 movq %rax, %r12 testq %rbx, %rbx je 0x1003b5 movl $0xe9, %edx movq %r12, %rdi movq %rbx, %rsi callq 0x145b0 movq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/learner.h
LEARNER::learner<memory_tree_ns::memory_tree, example>* calloc_or_throw<LEARNER::learner<memory_tree_ns::memory_tree, example>>(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 0x10051e movl $0xf0, %esi callq 0x14480 testq %rax, %rax jne 0x100520 movq 0xdda90(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x7b245(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
get_active_coin_bias(float, float, float, float)
float get_active_coin_bias(float k, float avg_loss, float g, float c0) { float b, sb, rs, sl; b = (float)(c0 * (log(k + 1.) + 0.0001) / (k + 0.0001)); sb = sqrt(b); avg_loss = min(1.f, max(0.f, avg_loss)); // loss should be in [0,1] sl = sqrt(avg_loss) + sqrt(avg_loss + g); if (g <= sb * sl + b) retur...
subq $0x18, %rsp movss %xmm2, 0x4(%rsp) movss %xmm1, (%rsp) xorps %xmm1, %xmm1 cvtss2sd %xmm3, %xmm1 movsd %xmm1, 0x8(%rsp) xorps %xmm1, %xmm1 cvtss2sd %xmm0, %xmm1 movsd %xmm1, 0x10(%rsp) movsd 0x7aa6b(%rip), %xmm0 # 0x17b020 addsd %xmm1, %xmm0 callq 0x145a0 movsd 0x80802(%rip), %xmm1 # 0x180dc8 addsd %xmm1, %xm...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/active.cc
query_decision(active&, float, float)
float query_decision(active& a, float ec_revert_weight, float k) { float bias, avg_loss, weighted_queries; if (k <= 1.) bias = 1.; else { weighted_queries = (float)a.all->sd->weighted_labeled_examples; avg_loss = (float)(a.all->sd->sum_loss / k + sqrt((1. + 0.5 * log(k)) / (weighted_queries + 0.0001...
pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movss 0x7a908(%rip), %xmm2 # 0x17b004 ucomiss %xmm1, %xmm2 jae 0x1007ac movss %xmm0, 0xc(%rsp) movq 0x8(%rbx), %rax movq (%rax), %rax xorps %xmm0, %xmm0 cvtsd2ss 0x20(%rax), %xmm0 movss %xmm0, 0x10(%rsp) xorps %xmm0, %xmm0 cvtss2sd %xmm1, %xmm0 movsd 0x40(%rax), %xmm2 divs...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/active.cc
active_print_result(int, float, float, v_array<char>)
void active_print_result(int f, float res, float weight, v_array<char> tag) { if (f >= 0) { std::stringstream ss; char temp[30]; sprintf(temp, "%f", res); ss << temp; if (!print_tag(ss, tag)) ss << ' '; if (weight >= 0) { sprintf(temp, " %f", weight); ss << temp; } ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x1f8, %rsp # imm = 0x1F8 movss %xmm1, 0x28(%rsp) testl %edi, %edi js 0x1009fc movl %edi, %ebx leaq 0x70(%rsp), %rdi movss %xmm0, 0x2c(%rsp) callq 0x144e0 xorps %xmm0, %xmm0 cvtss2sd 0x2c(%rsp), %xmm0 leaq 0x84c53(%rip), %rsi # 0x18547f leaq 0x50(%rsp), %...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/active.cc
void predict_or_learn_simulation<true>(active&, LEARNER::learner<char, example>&, example&)
void predict_or_learn_simulation(active& a, single_learner& base, example& ec) { base.predict(ec); if (is_learn) { vw& all = *a.all; float k = (float)all.sd->t; float threshold = 0.f; ec.confidence = fabsf(ec.pred.scalar - threshold) / base.sensitivity(ec); float importance = query_decision...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x18(%rsi), %rdi movq 0x20(%rsi), %rsi callq *0x30(%r14) movq 0x8(%r15), %r12 movq (%r12), %rax cvtsd2ss 0x18(%rax), %xmm0 movss %xmm0, 0xc(%rsp) movss 0x6850(%rbx), %xmm0 andps 0x7a4bf(%rip), %xmm0 # 0x...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/active.cc
void predict_or_learn_active<false>(active&, LEARNER::learner<char, example>&, example&)
void predict_or_learn_active(active& a, single_learner& base, example& ec) { if (is_learn) base.learn(ec); else base.predict(ec); if (ec.l.simple.label == FLT_MAX) { float threshold = (a.all->sd->max_label + a.all->sd->min_label) * 0.5f; ec.confidence = fabsf(ec.pred.scalar - threshold) / base....
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x18(%rsi), %rdi movq 0x20(%rsi), %rsi callq *0x30(%r14) movss 0x6828(%rbx), %xmm0 ucomiss 0x79f75(%rip), %xmm0 # 0x17b518 jne 0x1015f2 jp 0x1015f2 movq 0x8(%r15), %rax movq (%rax), %rax movss 0x6c(%rax), %xmm0 add...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/active.cc
active* calloc_or_throw<active>(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 0x1016a8 movl $0x10, %esi callq 0x14480 testq %rax, %rax jne 0x1016aa movq 0xdc906(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x7a0bb(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
LEARNER::learner<active, example>& LEARNER::learner<active, example>::init_learner<LEARNER::learner<char, example>>(active*, LEARNER::learner<char, example>*, void (*)(active&, LEARNER::learner<char, example>&, example&), void (*)(active&, LEARNER::learner<char, example>&, example&), unsigned long, prediction_type::pre...
static learner<T, E>& init_learner(T* dat, L* base, void (*learn)(T&, L&, E&), void (*predict)(T&, L&, E&), size_t ws, prediction_type::prediction_type_t pred_type) { learner<T, E>& ret = calloc_or_throw<learner<T, E> >(); if (base != nullptr) { // a reduction ret = *(learner<T, E>*)(base); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, 0x4(%rsp) movq %r8, %rbp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r13 movl $0x1, %edi callq 0x101847 movq %rax, %r12 testq %rbx, %rbx je 0x101797 movl $0xe9, %edx movq %r12, %rdi movq %rbx, %rsi callq 0x145b0 movq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/learner.h
get_threshold(float, float, float, float)
float get_threshold(float sum_loss, float t, float c0, float alpha) { if (t < 3.f) { return 1.f; } else { float avg_loss = sum_loss / t; float threshold = sqrt(c0 * avg_loss / t) + fmax(2.f * alpha, 4.f) * c0 * log(t) / t; return threshold; } }
movss 0x7fb73(%rip), %xmm4 # 0x181560 ucomiss %xmm1, %xmm4 jbe 0x1019fb movss 0x7960a(%rip), %xmm0 # 0x17b004 retq subq $0x18, %rsp divss %xmm1, %xmm0 mulss %xmm2, %xmm0 divss %xmm1, %xmm0 xorps %xmm4, %xmm4 ucomiss %xmm4, %xmm0 movss %xmm1, 0x10(%rsp) jb 0x101a1f sqrtss %xmm0, %xmm0 jmp 0x101a42 movss %xmm3, 0x8...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/active_cover.cc
void predict_or_learn_active_cover<true>(active_cover&, LEARNER::learner<char, example>&, example&)
void predict_or_learn_active_cover(active_cover& a, single_learner& base, example& ec) { base.predict(ec, 0); if (is_learn) { vw& all = *a.all; float prediction = ec.pred.scalar; float t = (float)a.all->sd->t; float ec_input_weight = ec.weight; float ec_input_label = ec.l.simple.label; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x18(%rsi), %rdi movq 0x20(%rsi), %rsi callq *0x30(%r14) movq 0x28(%r15), %r12 movq (%r12), %rax cvtsd2ss 0x18(%rax), %xmm2 movss 0x6828(%rbx), %xmm0 movaps %xmm0, 0x50(%rsp) movss 0x6...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/active_cover.cc
active_cover* calloc_or_throw<active_cover>(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 0x103219 movl $0x38, %esi callq 0x14480 testq %rax, %rax jne 0x10321b movq 0xdad95(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x7854a(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
LEARNER::learner<active_cover, example>& LEARNER::learner<active_cover, example>::init_learner<LEARNER::learner<char, example>>(active_cover*, LEARNER::learner<char, example>*, void (*)(active_cover&, LEARNER::learner<char, example>&, example&), void (*)(active_cover&, LEARNER::learner<char, example>&, example&), unsig...
static learner<T, E>& init_learner(T* dat, L* base, void (*learn)(T&, L&, E&), void (*predict)(T&, L&, E&), size_t ws, prediction_type::prediction_type_t pred_type) { learner<T, E>& ret = calloc_or_throw<learner<T, E> >(); if (base != nullptr) { // a reduction ret = *(learner<T, E>*)(base); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, 0x4(%rsp) movq %r8, %rbp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r13 movl $0x1, %edi callq 0x1033b9 movq %rax, %r12 testq %rbx, %rbx je 0x103309 movl $0xe9, %edx movq %r12, %rdi movq %rbx, %rsi callq 0x145b0 movq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/learner.h
void AllReduceSockets::all_reduce<unsigned long, &add_size_t(unsigned long&, unsigned long const&)>(unsigned long*, unsigned long)
void all_reduce(T* buffer, const size_t n) { if (span_server != socks.current_master) all_reduce_init(); reduce<T, f>((char*)buffer, n * sizeof(T)); broadcast((char*)buffer, n * sizeof(T)); }
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x50(%rdi), %rdx cmpq 0x20(%rdi), %rdx jne 0x10c3be testq %rdx, %rdx je 0x10c3c6 movq 0x18(%r15), %rsi movq 0x48(%r15), %rdi callq 0x14710 testl %eax, %eax je 0x10c3c6 movq %r15, %rdi callq 0x17935e shlq $0x3, %rbx movq %r15, %rdi mov...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/allreduce.h
void AllReduceThreads::all_reduce<unsigned long, &add_size_t(unsigned long&, unsigned long const&)>(unsigned long*, unsigned long)
void all_reduce(T* buffer, const size_t n) { // register buffer T** buffers = (T**)m_sync->buffers; buffers[node] = buffer; m_sync->waitForSynchronization(); size_t blockSize = n / total; size_t index; size_t end; if (blockSize == 0) { if (node < n) { index = nod...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r14 movq %rdi, %rbx movq 0x10(%rdi), %rax movq 0x18(%rdi), %rcx movq 0x20(%rcx), %r15 movq %rsi, (%r15,%rax,8) movq 0x18(%rdi), %rdi callq 0x17a1de movq 0x8(%rbx), %rsi cmpq %r14, %rsi jbe 0x10c430 movq 0x10(%rbx), %rax leaq 0x1(%rax), %rdx xorl %ecx, %ecx cmpq %r14, %rax cm...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/allreduce.h
void AllReduceSockets::pass_up<unsigned long>(char*, unsigned long, unsigned long, unsigned long&)
void pass_up(char* buffer, size_t left_read_pos, size_t right_read_pos, size_t& parent_sent_pos) { size_t my_bufsize = (std::min)(ar_buf_size, (std::min)(left_read_pos, right_read_pos) / sizeof(T) * sizeof(T) - parent_sent_pos); if (my_bufsize > 0) { // going to pass up this chunk of data to the...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %rcx, %rbx movq %rdx, %r14 cmpq %rdx, %rcx movq %rdx, %rcx cmovbq %rbx, %rcx andq $-0x8, %rcx movq (%r8), %rax movq %rcx, %r13 subq %rax, %r13 movl $0x10000, %edx # imm = 0x10000 cmpq %rdx, %r13 cm...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/allreduce.h
void AllReduceSockets::all_reduce<char, &copy_char(char&, char const&)>(char*, unsigned long)
void all_reduce(T* buffer, const size_t n) { if (span_server != socks.current_master) all_reduce_init(); reduce<T, f>((char*)buffer, n * sizeof(T)); broadcast((char*)buffer, n * sizeof(T)); }
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x50(%rdi), %rdx cmpq 0x20(%rdi), %rdx jne 0x10cd12 testq %rdx, %rdx je 0x10cd1a movq 0x18(%r15), %rsi movq 0x48(%r15), %rdi callq 0x14710 testl %eax, %eax je 0x10cd1a movq %r15, %rdi callq 0x17935e movq %r15, %rdi movq %r14, %rsi mov...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/allreduce.h
void AllReduceThreads::all_reduce<char, &copy_char(char&, char const&)>(char*, unsigned long)
void all_reduce(T* buffer, const size_t n) { // register buffer T** buffers = (T**)m_sync->buffers; buffers[node] = buffer; m_sync->waitForSynchronization(); size_t blockSize = n / total; size_t index; size_t end; if (blockSize == 0) { if (node < n) { index = nod...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r14 movq %rdi, %rbx movq 0x10(%rdi), %rax movq 0x18(%rdi), %rcx movq 0x20(%rcx), %r15 movq %rsi, (%r15,%rax,8) movq 0x18(%rdi), %rdi callq 0x17a1de movq 0x8(%rbx), %rsi cmpq %r14, %rsi jbe 0x10cd80 movq 0x10(%rbx), %rax leaq 0x1(%rax), %rdx xorl %ecx, %ecx cmpq %r14, %rax cm...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/allreduce.h
void AllReduceSockets::reduce<char, &copy_char(char&, char const&)>(char*, unsigned long)
void reduce(char* buffer, const size_t n) { fd_set fds; FD_ZERO(&fds); if (socks.children[0] != -1) FD_SET(socks.children[0], &fds); if (socks.children[1] != -1) FD_SET(socks.children[1], &fds); socket_t max_fd = (std::max)(socks.children[0], socks.children[1]) + 1; size_t child_r...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x203b8, %rsp # imm = 0x203B8 movq %rdx, %r14 movq %rsi, 0x30(%rsp) movq %rdi, %rbx xorps %xmm0, %xmm0 movaps %xmm0, 0xb0(%rsp) movaps %xmm0, 0xa0(%rsp) movaps %xmm0, 0x90(%rsp) movaps %xmm0, 0x80(%rsp) movaps %xmm0, 0x70(%rsp) movaps %xmm...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/allreduce.h
void AllReduceSockets::pass_up<char>(char*, unsigned long, unsigned long, unsigned long&)
void pass_up(char* buffer, size_t left_read_pos, size_t right_read_pos, size_t& parent_sent_pos) { size_t my_bufsize = (std::min)(ar_buf_size, (std::min)(left_read_pos, right_read_pos) / sizeof(T) * sizeof(T) - parent_sent_pos); if (my_bufsize > 0) { // going to pass up this chunk of data to the...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %rcx, %rbx movq %rdx, %r14 cmpq %rdx, %rcx movq %rdx, %rcx cmovbq %rbx, %rcx movq (%r8), %rax movq %rcx, %r13 subq %rax, %r13 movl $0x10000, %edx # imm = 0x10000 cmpq %rdx, %r13 cmovaeq %rdx, %r13 ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/allreduce.h
svm_params* calloc_or_throw<svm_params>(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 0x10d779 movl $0x90, %esi callq 0x14480 testq %rax, %rax jne 0x10d77b movq 0xd0835(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x6dfea(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
int* calloc_or_throw<int>(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 0x10d99e movl $0x4, %esi callq 0x14480 testq %rax, %rax jne 0x10d9a0 movq 0xd0610(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x6ddc5(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi callq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
update_state_and_predict_cb(ftrl&, LEARNER::learner<char, example>&, example&)
void update_state_and_predict_cb(ftrl& b, single_learner&, example& ec) { b.data.predict = 0; b.data.normalized_squared_norm_x = 0; GD::foreach_feature<update_data, inner_update_cb_state_and_predict>(*b.all, ec, b.data); b.all->normalized_sum_norm_x += ((double)ec.weight) * b.data.normalized_squared_norm_x; ...
pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq %rdi, %r14 leaq 0x10(%rdi), %rdx movq $0x0, 0x24(%rdi) movq (%rdi), %rdi movq %rbx, %rsi callq 0x110fec cvtss2sd 0x6870(%rbx), %xmm0 cvtss2sd 0x28(%r14), %xmm1 mulsd %xmm0, %xmm1 movq (%r14), %rax addsd 0xd0(%rax), %xmm1 movsd %xmm1, 0xd0(%rax) xorps %xmm1, %xmm1 cv...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/ftrl.cc
save_load(ftrl&, io_buf&, bool, bool)
void save_load(ftrl& b, io_buf& model_file, bool read, bool text) { vw* all = b.all; if (read) initialize_regressor(*all); if (model_file.files.size() > 0) { bool resume = all->save_resume; stringstream msg; msg << ":" << resume << "\n"; bin_text_read_write_fixed(model_file, (char*)&resume,...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x190, %rsp # imm = 0x190 movl %ecx, %ebp movl %edx, %r15d movq %rsi, %rbx movq (%rdi), %r14 testl %edx, %edx je 0x10e59c movq %r14, %rdi callq 0x15496c movq 0x38(%rbx), %rax cmpq 0x30(%rbx), %rax je 0x10e684 movb 0x9e(%r14), %al movb %al, 0x7(%rsp...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/ftrl.cc
end_pass(ftrl&)
void end_pass(ftrl& g) { vw& all = *g.all; if (!all.holdout_set_off) { if (summarize_holdout_set(all, g.no_win_counter)) finalize_regressor(all, all.final_regressor_name); if ((g.early_stop_thres == g.no_win_counter) && ((all.check_holdout_every_n_passes <= 1) || ((all.current_pass % all.ch...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq (%rdi), %rbx cmpb $0x0, 0x3457(%rbx) jne 0x10e75a movq %rdi, %r14 leaq 0x30(%rdi), %rsi movq %rbx, %rdi callq 0x159c56 testb %al, %al je 0x10e72d leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) movq 0x3570(%rbx), %rsi movq 0x3578(%rbx), %rdx addq %rsi, %rdx...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/ftrl.cc
LEARNER::learner<ftrl, example>& LEARNER::init_learner<ftrl, example, LEARNER::learner<char, example>>(std::unique_ptr<ftrl, void (*)(void*)>&, void (*)(ftrl&, LEARNER::learner<char, example>&, example&), void (*)(ftrl&, LEARNER::learner<char, example>&, example&), unsigned long)
learner<T, E>& init_learner( free_ptr<T>& dat, void (*learn)(T&, L&, E&), void (*predict)(T&, L&, E&), size_t params_per_weight) { auto ret = &learner<T, E>::init_learner(dat.get(), (L*)nullptr, learn, predict, params_per_weight, prediction_type::scalar); dat.release(); return *ret; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx movq 0x8(%rdi), %r13 movl $0x1, %edi callq 0x116751 movq $0x1, 0xd8(%rax) movq %r14, 0xe0(%rax) leaq -0xdc250(%rip), %rcx # 0x334eb movq %rcx, 0x98(%rax) movq %rcx, 0xb0(%rax) movq %rcx, 0x10(%rax) ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/learner.h
void multipredict<false>(ftrl&, LEARNER::learner<char, char>&, example&, unsigned long, unsigned long, polyprediction*, bool)
void multipredict( ftrl& b, base_learner&, example& ec, size_t count, size_t step, polyprediction* pred, bool finalize_predictions) { vw& all = *b.all; for (size_t c = 0; c < count; c++) pred[c].scalar = ec.l.simple.initial; if (b.all->weights.sparse) { GD::multipredict_info<sparse_parameters> mp = { ...
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %r9, %rbx movq %rcx, %r14 movq (%rdi), %r15 testq %rcx, %rcx je 0x10f9ee movq %rbx, %rax movq %r14, %rcx movss 0x6830(%rdx), %xmm0 movss %xmm0, (%rax) addq $0x20, %rax decq %rcx jne 0x10f9d9 movq (%rdi), %rax cmpb $0x0, 0x3590(%rax) je 0x10fa35 leaq 0x8(%rsp), %rax...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/ftrl.cc
void GD::foreach_feature<uncertainty, float&, &predict_with_confidence(uncertainty&, 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_traits<char>, std...
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 GD::foreach_feature<uncertainty, float&, &predict_with_confidence(uncertainty&, float, float&), dense_parameters>(dense_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_traits<char>, std::...
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, 0x1c(%rsp) movq %rcx, 0x30(%rsp) movq %rdx, 0x40(%rsp) movq %rdi, %r14 movq 0x80(%rsp), %r12 movq 0x6820(%r9), %rax movq %rax, 0x28(%rsp) leaq 0x20(%r9), %rax movq %rax, 0x8(%rsp) movq (%r9), %rcx movq %r9, 0x20(%rsp) movq 0x8...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd_predict.h
void INTERACTIONS::generate_interactions<uncertainty, float&, &predict_with_confidence(uncertainty&, float, float&), false, &void GD::dummy_func<uncertainty>(uncertainty&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, s...
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, 0x34(%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 GD::foreach_feature<update_data, float&, &inner_update_cb_state_and_predict(update_data&, float, float&)>(vw&, example&, update_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 0x111052 addq $0x35b0, %r12 # imm = 0x35B0 movq %r14, (%rsp) m...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.h
void GD::foreach_feature<update_data, float&, &inner_update_cb_state_and_predict(update_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::basic_string<char, std::char_traits<...
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<update_data, float&, &inner_update_cb_state_and_predict(update_data&, float, float&), false, &void GD::dummy_func<update_data>(update_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_trait...
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<SVRG::update, float&, &SVRG::update_inner_feature(SVRG::update&, float, float&), dense_parameters>(dense_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_traits<char>, ...
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 %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdi, %rax movq 0x30(%rsp), %r10 movq 0x6820(%r9), %rdi leaq 0x20(%r9), %r11 movq (%r9), %rbx movq 0x8(%r9), %r14 testl %esi, %esi je 0x1195dc cmpq %r14, %rbx je 0x1195be movzbl (%rbx), %esi cmpb $0x0, (%rdx,%rsi) jne 0x1195b5 imulq $0x68, %rsi, %r15 movq (%r1...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd_predict.h
void INTERACTIONS::generate_interactions<SVRG::update, float&, &SVRG::update_inner_feature(SVRG::update&, float, float&), false, &void GD::dummy_func<SVRG::update>(SVRG::update&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<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 $0xf8, %rsp movl %esi, 0x34(%rsp) movq 0x6820(%rdx), %rax xorps %xmm0, %xmm0 movaps %xmm0, 0x90(%rsp) movaps %xmm0, 0x80(%rsp) movq $0x0, 0xc8(%rsp) movl $0x3f800000, 0xd8(%rsp) # imm = 0x3F800000 movups %xmm0, 0xe0(%rsp) movq (%rdi), %rsi movq 0x8(...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h
SVRG::svrg* calloc_or_throw<SVRG::svrg>(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 0x11b45f movl $0x18, %esi callq 0x14480 testq %rax, %rax jne 0x11b461 movq 0xc2b4f(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x60304(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
LEARNER::learner<LRQFAstate, example>* calloc_or_throw<LEARNER::learner<LRQFAstate, example>>(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 0x11cb2b movl $0xf0, %esi callq 0x14480 testq %rax, %rax jne 0x11cb2d movq 0xc1483(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x5ec38(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
void predict_or_learn<true, true>(interact&, LEARNER::learner<char, example>&, example&)
void predict_or_learn(interact& in, LEARNER::single_learner& base, example& ec) { features& f1 = ec.feature_space[in.n1]; features& f2 = ec.feature_space[in.n2]; if (!contains_valid_namespaces(*in.all, f1, f2, in)) { if (is_learn) base.learn(ec); else base.predict(ec); return; } i...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r12 movq %rdi, %r14 movzbl (%rdi), %eax imulq $0x68, %rax, %rax leaq (%rdx,%rax), %r15 addq $0x20, %r15 movzbl 0x1(%rdi), %eax imulq $0x68, %rax, %rax leaq (%rdx,%rax), %rbp addq $0x20, %rbp movq 0x70(%rdi), %rdi mo...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interact.cc
interact* calloc_or_throw<interact>(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 0x11d88b movl $0x88, %esi callq 0x14480 testq %rax, %rax jne 0x11d88d movq 0xc0723(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x5ded8(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
LEARNER::learner<interact, example>* calloc_or_throw<LEARNER::learner<interact, example>>(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 0x11dad7 movl $0xf0, %esi callq 0x14480 testq %rax, %rax jne 0x11dad9 movq 0xc04d7(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x5dc8c(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
VW::validate_min_max_label(vw&)
void validate_min_max_label(vw& all) { if (all.sd->max_label < all.sd->min_label) THROW("Max label cannot be less than min label."); }
pushq %rbp pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 movq (%rdi), %rax movss 0x68(%rax), %xmm0 ucomiss 0x6c(%rax), %xmm0 ja 0x121ca6 addq $0x1b0, %rsp # imm = 0x1B0 popq %rbx popq %r14 popq %rbp retq leaq 0x28(%rsp), %rdi callq 0x144e0 leaq 0x38(%rsp), %rdi leaq 0x65fb8(%rip), %rsi ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/vw_validate.cc
VW::validate_num_bits(vw&)
void validate_num_bits(vw& all) { if (all.num_bits > sizeof(size_t) * 8 - 3) THROW("Only " << sizeof(size_t) * 8 - 3 << " or fewer bits allowed. If this is a serious limit, speak up."); }
pushq %rbp pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 cmpl $0x3e, 0x50(%rdi) jae 0x121eba addq $0x1b0, %rsp # imm = 0x1B0 popq %rbx popq %r14 popq %rbp retq leaq 0x28(%rsp), %rdi callq 0x144e0 leaq 0x38(%rsp), %rbx leaq 0x65dfe(%rip), %rsi # 0x187cce movl $0x5, %edx movq %rbx, %rdi ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/vw_validate.cc
audit_regressor_lda(audit_regressor_data&, LEARNER::learner<char, example>&, example&)
void audit_regressor_lda(audit_regressor_data& rd, LEARNER::single_learner& /* base */, example& ec) { vw& all = *rd.all; ostringstream tempstream; parameters& weights = rd.all->weights; for (unsigned char* i = ec.indices.begin(); i != ec.indices.end(); i++) { features& fs = ec.feature_space[*i]; for...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1f8, %rsp # imm = 0x1F8 movq %rdx, %r14 movq %rdi, 0x8(%rsp) movq (%rdi), %rbx leaq 0x80(%rsp), %rdi callq 0x14a30 movq (%r14), %rcx movq %r14, 0x10(%rsp) cmpq 0x8(%r14), %rcx je 0x12224b movq 0x8(%rsp), %rax movq (%rax), %r14 movq 0x1...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/audit_regressor.cc
end_examples(audit_regressor_data&)
void end_examples(audit_regressor_data& d) { d.out_file->flush(); // close_file() should do this for me ... d.out_file->close_file(); delete (d.out_file); d.out_file = NULL; delete d.ns_pre; d.ns_pre = NULL; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x28(%rdi), %rdi movq (%rdi), %rax callq *0x38(%rax) movq 0x28(%rbx), %rdi movq (%rdi), %rax callq *0x40(%rax) movq 0x28(%rbx), %rdi testq %rdi, %rdi je 0x122544 movq (%rdi), %rax callq *0x18(%rax) movq $0x0, 0x28(%rbx) movq 0x20(%rbx), %r14 testq %r14, %r14 je 0x12...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/audit_regressor.cc
finish(audit_regressor_data&)
void finish(audit_regressor_data& dat) { if (dat.values_audited < dat.loaded_regressor_values) dat.all->trace_message << "Note: for some reason audit couldn't find all regressor values in dataset (" << dat.values_audited << " of " << dat.loaded_regressor_values << " found)." << endl; }
movq 0x38(%rdi), %rax cmpq 0x30(%rdi), %rax jae 0x122988 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movl $0xe0, %r14d addq (%rdi), %r14 leaq 0x6540c(%rip), %rsi # 0x187d13 movl $0x4b, %edx movq %r14, %rdi callq 0x14810 movq 0x38(%rbx), %rsi movq %r14, %rdi callq 0x144b0 movq %rax, %r14 leaq 0x58a9f(%rip), %rs...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/audit_regressor.cc
audit_regressor_feature(audit_regressor_data&, float, unsigned long)
inline void audit_regressor_feature(audit_regressor_data& dat, const float, const uint64_t ft_idx) { parameters& weights = dat.all->weights; if (weights[ft_idx] != 0) ++dat.values_audited; else return; string ns_pre; for (vector<string>::const_iterator s = dat.ns_pre->begin(); s != dat.ns_pre->end();...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x218, %rsp # imm = 0x218 movq %rsi, %rbx movq %rdi, %r15 movq (%rdi), %r14 cmpb $0x1, 0x3590(%r14) jne 0x12381b leaq 0x35b0(%r14), %rdi movq %rbx, %rsi callq 0x5e58c jmp 0x123830 movq 0x35a0(%r14), %rax andq %rbx, %rax shlq $0x2, %rax a...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/audit_regressor.cc
audit_regressor_data* calloc_or_throw<audit_regressor_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 0x124e79 movl $0x40, %esi callq 0x14480 testq %rax, %rax jne 0x124e7b movq 0xb9135(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x568ea(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
LEARNER::learner<audit_regressor_data, example>& LEARNER::learner<audit_regressor_data, example>::init_learner<LEARNER::learner<char, example>>(audit_regressor_data*, LEARNER::learner<char, example>*, void (*)(audit_regressor_data&, LEARNER::learner<char, example>&, example&), void (*)(audit_regressor_data&, LEARNER::l...
static learner<T, E>& init_learner(T* dat, L* base, void (*learn)(T&, L&, E&), void (*predict)(T&, L&, E&), size_t ws, prediction_type::prediction_type_t pred_type) { learner<T, E>& ret = calloc_or_throw<learner<T, E> >(); if (base != nullptr) { // a reduction ret = *(learner<T, E>*)(base); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, 0x4(%rsp) movq %r8, %rbp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r13 movl $0x1, %edi callq 0x125019 movq %rax, %r12 testq %rbx, %rbx je 0x124f69 movl $0xe9, %edx movq %r12, %rdi movq %rbx, %rsi callq 0x145b0 movq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/learner.h
LEARNER::learner<audit_regressor_data, example>* calloc_or_throw<LEARNER::learner<audit_regressor_data, example>>(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 0x1250c5 movl $0xf0, %esi callq 0x14480 testq %rax, %rax jne 0x1250c7 movq 0xb8ee9(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x5669e(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
CB_EXPLORE::finish(CB_EXPLORE::cb_explore&)
void finish(cb_explore& data) { data.preds.delete_v(); data.cover_probs.delete_v(); cb_to_cs& c = data.cbcs; COST_SENSITIVE::cs_label.delete_label(&c.pred_scores); COST_SENSITIVE::cs_label.delete_label(&data.cs_label); COST_SENSITIVE::cs_label.delete_label(&data.second_cs_label); }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x60(%rdi), %r14 movq 0x60(%rdi), %rdi testq %rdi, %rdi je 0x125336 callq 0x14870 xorps %xmm0, %xmm0 movups %xmm0, (%r14) movq $0x0, 0x10(%r14) leaq 0x80(%rbx), %r14 movq 0x80(%rbx), %rdi testq %rdi, %rdi je 0x125360 callq 0x14870 xorps %xmm0, %xmm0 movups %xmm0, (%...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore.cc
CB_EXPLORE::output_example(vw&, CB_EXPLORE::cb_explore&, example&, CB::label&)
void output_example(vw& all, cb_explore& data, example& ec, CB::label& ld) { float loss = 0.; cb_to_cs& c = data.cbcs; if ((c.known_cost = get_observed_cost(ld)) != nullptr) for (uint32_t i = 0; i < ec.pred.a_s.size(); i++) loss += get_unbiased_cost(c.known_cost, c.pred_scores, i+1) * ec.pred.a_s[i].s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x388, %rsp # imm = 0x388 movq %rcx, %r14 movq %rdx, %rbx movq %rsi, %r15 movq %rdi, 0x28(%rsp) movq %rcx, %rdi callq 0x1782a4 movq %rax, 0x58(%r15) xorps %xmm2, %xmm2 testq %rax, %rax movq %rbx, 0x30(%rsp) je 0x125614 movq 0x6850(%rbx),...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore.cc
void CB_EXPLORE::predict_or_learn_cover<false>(CB_EXPLORE::cb_explore&, LEARNER::learner<char, example>&, example&)
void predict_or_learn_cover(cb_explore& data, single_learner& base, example& ec) { // Randomize over predictions from a base set of predictors // Use cost sensitive oracle to cover actions to form distribution. uint32_t num_actions = data.cbcs.num_actions; action_scores probs = ec.pred.a_s; probs.clear(); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %rbx movq %rdi, %r14 movl 0x10(%rdi), %r12d movups 0x6850(%rdx), %xmm0 movups 0x6860(%rdx), %xmm1 leaq 0x20(%rsp), %rdi movaps %xmm1, 0x10(%rdi) movaps %xmm0, (%rdi) callq 0xe8df0 leaq 0xc0(%r14), %r15 movq %r15, %rdi callq 0x...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore.cc
void CB_EXPLORE::predict_or_learn_bag<false>(CB_EXPLORE::cb_explore&, LEARNER::learner<char, example>&, example&)
void predict_or_learn_bag(cb_explore& data, single_learner& base, example& ec) { // Randomize over predictions from a base set of predictors action_scores probs = ec.pred.a_s; probs.clear(); for (uint32_t i = 0; i < data.cbcs.num_actions; i++) probs.push_back({i, 0.}); float prob = 1.f / (float)data.bag_size...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movups 0x6850(%rdx), %xmm0 movups 0x6860(%rdx), %xmm1 leaq 0x10(%rsp), %rdi movaps %xmm1, 0x10(%rdi) movaps %xmm0, (%rdi) callq 0xe8df0 cmpl $0x0, 0x10(%r15) je 0x12718b xorl %ebp, %ebp lea...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore.cc
void CB_EXPLORE::predict_or_learn_first<true>(CB_EXPLORE::cb_explore&, LEARNER::learner<char, example>&, example&)
void predict_or_learn_first(cb_explore& data, single_learner& base, example& ec) { // Explore tau times, then act according to optimal. action_scores probs = ec.pred.a_s; if (is_learn && ec.l.cb.costs[0].probability < 1) base.learn(ec); else base.predict(ec); probs.clear(); if (data.tau > 0) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rsi, %rax movq %rdi, %rbx leaq 0x6850(%rdx), %r12 movups 0x6850(%rdx), %xmm0 movups 0x6860(%rdx), %xmm1 leaq 0x10(%rsp), %r14 movaps %xmm1, 0x10(%r14) movaps %xmm0, (%r14) movq 0x6828(%rdx), %rcx movss 0x53d4a(%rip), %xmm0 # 0x1...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore.cc
void CB_EXPLORE::predict_or_learn_first<false>(CB_EXPLORE::cb_explore&, LEARNER::learner<char, example>&, example&)
void predict_or_learn_first(cb_explore& data, single_learner& base, example& ec) { // Explore tau times, then act according to optimal. action_scores probs = ec.pred.a_s; if (is_learn && ec.l.cb.costs[0].probability < 1) base.learn(ec); else base.predict(ec); probs.clear(); if (data.tau > 0) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rsi, %rax movq %rdi, %rbx leaq 0x6850(%rdx), %r12 movups 0x6850(%rdx), %xmm0 movups 0x6860(%rdx), %xmm1 leaq 0x10(%rsp), %r14 movaps %xmm1, 0x10(%r14) movaps %xmm0, (%r14) movq 0x18(%rsi), %rdi movq 0x20(%rsi), %rsi callq *0x30(%ra...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore.cc
int exploration::enforce_minimum_probability<ACTION_SCORE::score_iterator>(float, bool, ACTION_SCORE::score_iterator, ACTION_SCORE::score_iterator, std::random_access_iterator_tag)
bool operator!=(const score_iterator& other) const { return _p != other._p; }
movq 0x8(%rsi), %rcx movq 0x8(%rdx), %r9 movl $0x1, %eax movq %r9, %r8 subq %rcx, %r8 jbe 0x127adc sarq $0x3, %r8 cvtss2sd %xmm0, %xmm1 ucomisd 0x6064f(%rip), %xmm1 # 0x187f90 jbe 0x127993 cmpq %r9, %rcx sete %al orb %dil, %al jne 0x127971 xorps %xmm0, %xmm0 movq %rcx, %rax movss 0x4(%rax), %xmm1 cmpeqss %xmm0, %xmm...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/action_score.h
LEARNER::learner<CB_EXPLORE::cb_explore, example>& LEARNER::learner<CB_EXPLORE::cb_explore, example>::init_learner<LEARNER::learner<char, example>>(CB_EXPLORE::cb_explore*, LEARNER::learner<char, example>*, void (*)(CB_EXPLORE::cb_explore&, LEARNER::learner<char, example>&, example&), void (*)(CB_EXPLORE::cb_explore&, ...
static learner<T, E>& init_learner(T* dat, L* base, void (*learn)(T&, L&, E&), void (*predict)(T&, L&, E&), size_t ws, prediction_type::prediction_type_t pred_type) { learner<T, E>& ret = calloc_or_throw<learner<T, E> >(); if (base != nullptr) { // a reduction ret = *(learner<T, E>*)(base); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, 0x4(%rsp) movq %r8, %rbp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r13 movl $0x1, %edi callq 0x127d5d movq %rax, %r12 testq %rbx, %rbx je 0x127cad movl $0xe9, %edx movq %r12, %rdi movq %rbx, %rsi callq 0x145b0 movq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/learner.h
LEARNER::learner<CB_EXPLORE::cb_explore, example>* calloc_or_throw<LEARNER::learner<CB_EXPLORE::cb_explore, example>>(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 0x127e09 movl $0xf0, %esi callq 0x14480 testq %rax, %rax jne 0x127e0b movq 0xb61a5(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x5395a(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
void GEN_CS::gen_cs_example<false>(GEN_CS::cb_to_cs&, example&, CB::label&, COST_SENSITIVE::label&)
void gen_cs_example(cb_to_cs& c, example& ec, CB::label& ld, COST_SENSITIVE::label& cs_ld) { switch (c.cb_type) { case CB_TYPE_IPS: gen_cs_example_ips(c, ld, cs_ld); break; case CB_TYPE_DM: gen_cs_example_dm<is_learn>(c, ec, cs_ld); break; case CB_TYPE_DR: gen_cs_example_dr...
pushq %rbp pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 movq %rdi, %rbx movq (%rdi), %rax testq %rax, %rax je 0x127ebe cmpq $0x1, %rax je 0x127ea8 cmpq $0x2, %rax jne 0x127ed1 movq %rbx, %rdi movq %rdx, %rsi movq %rcx, %rdx addq $0x1b0, %rsp # imm = 0x1B0 popq %rbx popq %r14 popq %rbp jmp...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gen_cs_example.h
void GEN_CS::gen_cs_example_dm<false>(GEN_CS::cb_to_cs&, example&, COST_SENSITIVE::label&)
void gen_cs_example_dm(cb_to_cs& c, example& ec, COST_SENSITIVE::label& cs_ld) { // this implements the direct estimation method, where costs are directly specified by the learned regressor. CB::label ld = ec.l.cb; float min = FLT_MAX; uint32_t argmin = 1; // generate cost sensitive example cs_ld.costs.clea...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r15 movq 0x6828(%rsi), %rbp movq 0x6830(%rsi), %r13 movq %rdx, 0x20(%rsp) movq %rdx, %rdi callq 0x2f298 leaq 0x10(%r15), %r12 movq %r12, %rdi callq 0x2f298 movq %r13, %rax subq %rbp, %rax sarq $0x4, %rax je 0x...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gen_cs_example.h
void GEN_CS::gen_cs_example_dr<false>(GEN_CS::cb_to_cs&, example&, CB::label&, COST_SENSITIVE::label&)
void gen_cs_example_dr(cb_to_cs& c, example& ec, CB::label& ld, COST_SENSITIVE::label& cs_ld) { // this implements the doubly robust method cs_ld.costs.clear(); c.pred_scores.costs.clear(); if (ld.costs.size() == 0) // a test example for (uint32_t i = 1; i <= c.num_actions; i++) { // Explicit declarati...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %rbx movq %rdx, %r12 movq %rsi, %r15 movq %rdi, %r14 movq %rcx, %rdi callq 0x2f298 leaq 0x10(%r14), %rdi callq 0x2f298 movq (%r12), %r13 movq 0x8(%r12), %r12 movq %r12, %rax subq %r13, %rax sarq $0x4, %rax cmpq $0x1, %rax je 0...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gen_cs_example.h
void GEN_CS::gen_cs_label<false>(GEN_CS::cb_to_cs&, example&, COST_SENSITIVE::label&, unsigned int)
void gen_cs_label(cb_to_cs& c, example& ec, COST_SENSITIVE::label& cs_ld, uint32_t action) { COST_SENSITIVE::wclass wc = {0., action, 0., 0.}; // get cost prediction for this action wc.x = CB_ALGS::get_cost_pred<is_learn>(c.scorer, c.known_cost, ec, action, c.num_actions); c.pred_scores.costs.push_back(wc); ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x18, %rsp movl %ecx, %ebp movq %rdx, %rbx movq %rsi, %rdx movq %rdi, %r14 leaq 0x8(%rsp), %r15 movl $0x0, (%r15) movl %ecx, 0x4(%r15) movq $0x0, 0x8(%r15) movq 0x30(%rdi), %rdi movq 0x50(%r14), %rsi movl 0x8(%r14), %r8d callq 0x12836a movss %xmm0, (%r15) leaq 0x10(%r14...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gen_cs_example.h
ACTION_SCORE::print_action_score(int, v_array<ACTION_SCORE::action_score>&, v_array<char>&)
void print_action_score(int f, v_array<action_score>& a_s, v_array<char>&) { if (f >= 0) { std::stringstream ss; for (size_t i = 0; i < a_s.size(); i++) { if (i > 0) ss << ','; ss << a_s[i].action << ':' << a_s[i].score; } ss << '\n'; ssize_t len = ss.str().size(); s...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 testl %edi, %edi js 0x128757 movq %rsi, %r14 movl %edi, %ebx leaq 0x28(%rsp), %rdi callq 0x144e0 movq 0x8(%r14), %rax cmpq (%r14), %rax je 0x128633 leaq 0x38(%rsp), %r15 xorl %r13d, %r13d leaq 0x8(%rsp), %r12 testq %r13, %...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/action_score.cc
CB_EXPLORE_ADF::binary_search(float, float, float, float)
float binary_search(float fhat, float delta, float sens, float tol = 1e-6) { const float maxw = min(fhat / sens, FLT_MAX); if (maxw * fhat * fhat <= delta) return maxw; float l = 0; float u = maxw; float w, v; for (int iter = 0; iter < B_SEARCH_MAX_ITER; iter++) { w = (u + l) / 2.f; v = w *...
movaps %xmm0, %xmm4 divss %xmm2, %xmm4 movss 0x52ae2(%rip), %xmm9 # 0x17b518 minss %xmm4, %xmm9 movaps %xmm9, %xmm4 mulss %xmm0, %xmm4 mulss %xmm0, %xmm4 ucomiss %xmm4, %xmm1 jae 0x128b00 movaps 0x52ea9(%rip), %xmm4 # 0x17b900 xorps %xmm4, %xmm2 xorps %xmm4, %xmm1 xorps %xmm5, %xmm5 movl $0x13, %eax movss 0x52edf...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore_adf.cc
CB_EXPLORE_ADF::get_cost_ranges(std::vector<float, std::allocator<float>>&, std::vector<float, std::allocator<float>>&, float, CB_EXPLORE_ADF::cb_explore_adf&, LEARNER::learner<char, std::vector<example*, std::allocator<example*>>>&, std::vector<example*, std::allocator<example*>>&, bool)
void get_cost_ranges(std::vector<float>& min_costs, std::vector<float>& max_costs, float delta, cb_explore_adf& data, multi_learner& base, multi_ex& examples, bool min_only) { const size_t num_actions = examples[0]->pred.a_s.size(); min_costs.resize(num_actions); max_costs.resize(num_actions); auto& ex_as ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movl %r9d, %ebp movq %r8, %rbx movq %rcx, %r12 movq %rdx, %r13 movss %xmm0, 0x24(%rsp) movq %rsi, %r14 movq (%r8), %rax movq (%rax), %rax movq 0x6850(%rax), %rcx movq 0x6858(%rax), %r15 movq %r15, 0x10(%rsp) movq %rcx, 0x8(%rsp) subq %rc...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore_adf.cc
CB_EXPLORE_ADF::finish(CB_EXPLORE_ADF::cb_explore_adf&)
void finish(cb_explore_adf& data) { data.top_actions.~vector<float>(); data.scores.~vector<float>(); data.min_costs.~vector<float>(); data.max_costs.~vector<float>(); data.ex_as.~vector<action_scores>(); data.ex_costs.~vector<v_array<CB::cb_class>>(); data.action_probs.delete_v(); data.cs_labels.costs.d...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x38(%rdi), %rdi testq %rdi, %rdi je 0x129adf callq 0x14690 movq 0x20(%rbx), %rdi testq %rdi, %rdi je 0x129aed callq 0x14690 movq 0x1f0(%rbx), %rdi testq %rdi, %rdi je 0x129afe callq 0x14690 movq 0x208(%rbx), %rdi testq %rdi, %rdi je 0x129b0f c...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore_adf.cc
CB_EXPLORE_ADF::finish_multiline_example(vw&, CB_EXPLORE_ADF::cb_explore_adf&, std::vector<example*, std::allocator<example*>>&)
void finish_multiline_example(vw& all, cb_explore_adf& data, multi_ex& ec_seq) { if (ec_seq.size() > 0) { output_example_seq(all, data, ec_seq); CB_ADF::global_print_newline(all); } for (auto x : ec_seq) { x->l.cb.costs.clear(); } VW::clear_seq_and_finish_examples(all, ec_seq); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdx, %rbx movq %rdi, %r14 movq 0x8(%rdx), %rax cmpq (%rdx), %rax je 0x12a082 movq %r14, %rdi movq %rbx, %rdx callq 0x129faa movq %r14, %rdi callq 0x172970 movq (%rbx), %r15 movq 0x8(%rbx), %r12 cmpq %r12, %r15 je 0x12a0a8 movl $0x6828, %r13d # imm = ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore_adf.cc
void CB_EXPLORE_ADF::predict_or_learn_greedy<false>(CB_EXPLORE_ADF::cb_explore_adf&, LEARNER::learner<char, std::vector<example*, std::allocator<example*>>>&, std::vector<example*, std::allocator<example*>>&)
void predict_or_learn_greedy(cb_explore_adf& data, multi_learner& base, multi_ex& examples) { data.offset = examples[0]->ft_offset; // Explore uniform random an epsilon fraction of the time. if (is_learn && test_adf_sequence(examples) != nullptr) multiline_learn_or_predict<true>(base, examples, data.offset);...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r14 movq %rdi, %rbx movq (%rdx), %rax movq (%rax), %rax movq 0x6820(%rax), %rdx movq %rdx, 0x88(%rdi) xorl %r15d, %r15d movq %rsi, %rdi movq %r14, %rsi xorl %ecx, %ecx callq 0xef287 movq (%r14), %rax movq (%rax), %rax movq 0x6850(%rax), %rdx movq 0x6858(%rax), %rsi movq %rsi...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore_adf.cc
void CB_EXPLORE_ADF::predict_or_learn_bag<false>(CB_EXPLORE_ADF::cb_explore_adf&, LEARNER::learner<char, std::vector<example*, std::allocator<example*>>>&, std::vector<example*, std::allocator<example*>>&)
void predict_or_learn_bag(cb_explore_adf& data, multi_learner& base, multi_ex& examples) { // Randomize over predictions from a base set of predictors v_array<action_score>& preds = examples[0]->pred.a_s; uint32_t num_actions = (uint32_t)examples.size(); if (num_actions == 0) { preds.clear(); return; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rsi, 0x20(%rsp) movq (%rdx), %rax movq %rdx, 0x10(%rsp) movq 0x8(%rdx), %r13 movq (%rax), %r12 leaq 0x6850(%r12), %r14 subq %rax, %r13 sarq $0x3, %r13 testl %r13d, %r13d je 0x12ea22 movq %rdi, %rbx movq 0x20(%rdi), %rax cmpq %rax, ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore_adf.cc
void CB_EXPLORE_ADF::predict_or_learn_regcb<false>(CB_EXPLORE_ADF::cb_explore_adf&, LEARNER::learner<char, std::vector<example*, std::allocator<example*>>>&, std::vector<example*, std::allocator<example*>>&)
void predict_or_learn_regcb(cb_explore_adf& data, multi_learner& base, multi_ex& examples) { if (is_learn && test_adf_sequence(examples) != nullptr) { for (size_t i = 0; i < examples.size() - 1; ++i) { CB::label& ld = examples[i]->l.cb; if (ld.costs.size() == 1) ld.costs[0].probability =...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdx, %r15 movq %rdi, %r14 movq 0x88(%rdi), %rdx movq %rsi, 0x8(%rsp) movq %rsi, %rdi movq %r15, %rsi xorl %ecx, %ecx callq 0xef287 movq (%r15), %rax movq (%rax), %rbp movq 0x6858(%rbp), %rcx subq 0x6850(%rbp), %rcx shrq $0x3, %rcx ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_explore_adf.cc
int exploration::generate_bag<__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float>>>, ACTION_SCORE::score_iterator>(__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float>>>, __gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float>>>, std::input_iterat...
bool operator!=(const score_iterator& other) const { return _p != other._p; }
movq 0x8(%rdx), %r8 movl $0x1, %eax cmpq %r8, 0x8(%rcx) jbe 0x1308fd cmpq %rsi, %rdi je 0x130896 xorpd %xmm0, %xmm0 movq %rdi, %rax xorps %xmm1, %xmm1 cvtss2sd (%rax), %xmm1 addsd %xmm1, %xmm0 addq $0x4, %rax cmpq %rsi, %rax jne 0x130879 xorps %xmm1, %xmm1 cvtsd2ss %xmm0, %xmm1 jmp 0x130899 xorps %xmm1, %xmm1 xorps %xm...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/action_score.h
void GEN_CS::gen_cs_example_dr<true>(GEN_CS::cb_to_cs_adf&, std::vector<example*, std::allocator<example*>>&, COST_SENSITIVE::label&)
void gen_cs_example_dr(cb_to_cs_adf& c, multi_ex& examples, COST_SENSITIVE::label& cs_labels) { // size_t mysize = examples.size(); c.pred_scores.costs.clear(); cs_labels.costs.clear(); for (size_t i = 0; i < examples.size(); i++) { if (CB_ALGS::example_is_newline_not_header(*examples[i])) continu...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 addq $0x38, %rdi movq %rdi, 0x18(%rsp) callq 0x2f298 movq %rbx, 0x20(%rsp) movq %rbx, %rdi callq 0x2f298 movq (%r14), %rax cmpq %rax, 0x8(%r14) je 0x130e8b leaq 0x58(%r15), %r13 leaq 0x8(%r...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gen_cs_example.h
void GEN_CS::gen_cs_example<false>(GEN_CS::cb_to_cs_adf&, std::vector<example*, std::allocator<example*>>&, COST_SENSITIVE::label&)
void gen_cs_example(cb_to_cs_adf& c, multi_ex& ec_seq, COST_SENSITIVE::label& cs_labels) { switch (c.cb_type) { case CB_TYPE_IPS: gen_cs_example_ips(ec_seq, cs_labels); break; case CB_TYPE_DR: gen_cs_example_dr<is_learn>(c, ec_seq, cs_labels); break; case CB_TYPE_MTR: gen_c...
pushq %rbp pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 movq %rdi, %rbx movq (%rdi), %rax testq %rax, %rax je 0x130ee5 cmpq $0x3, %rax je 0x130ed2 cmpq $0x2, %rax jne 0x130ef8 movq %rsi, %rdi movq %rdx, %rsi addq $0x1b0, %rsp # imm = 0x1B0 popq %rbx popq %r14 popq %rbp jmp 0x17837f movq %...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gen_cs_example.h
float CB_ALGS::get_cost_pred<true>(LEARNER::learner<char, example>*, CB::cb_class*, example&, unsigned int, unsigned int)
float get_cost_pred( LEARNER::single_learner* scorer, CB::cb_class* known_cost, example& ec, uint32_t index, uint32_t base) { CB::label ld = ec.l.cb; label_data simple_temp; simple_temp.initial = 0.; if (known_cost != nullptr && index == known_cost->action) simple_temp.label = known_cost->cost; else ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movl %r8d, %r15d movl %ecx, %r12d movq %rdx, %rbx movq %rsi, %r13 movq %rdi, %r14 movups 0x6828(%rdx), %xmm0 movups 0x6838(%rdx), %xmm1 movaps %xmm1, 0x40(%rsp) movaps %xmm0, 0x30(%rsp) movss 0x4a31a(%rip), %xmm0 # 0x17b518 testq %rsi...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/cb_algs.h
finish(OjaNewton&)
void finish(OjaNewton& ON) { free(ON.ev); free(ON.b); free(ON.D); free(ON.buffer); free(ON.weight_buffer); free(ON.zv); free(ON.vv); free(ON.tmp); for (int i = 1; i <= ON.m; i++) { free(ON.A[i]); free(ON.K[i]); } free(ON.A); free(ON.K); free(ON.data.Zx); free(ON.data.AZx); free...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x20(%rdi), %rdi callq 0x14870 movq 0x28(%rbx), %rdi callq 0x14870 movq 0x30(%rbx), %rdi callq 0x14870 movq 0x60(%rbx), %rdi callq 0x14870 movq 0x68(%rbx), %rdi callq 0x14870 movq 0x48(%rbx), %rdi callq 0x14870 movq 0x50(%rbx), %rdi callq 0x14870 movq 0x58(%rbx), %r...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/OjaNewton.cc
update_wbar_and_Zx(update_data&, float, float&)
void update_wbar_and_Zx(update_data& data, float x, float& wref) { float* w = &wref; int m = data.ON->m; if (data.ON->normalize) x /= sqrt(w[NORM2]); float g = data.g * x; for (int i = 1; i <= m; i++) { data.Zx[i] += w[i] * x * data.ON->D[i]; } w[0] -= g / data.ON->alpha; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movaps %xmm0, %xmm2 movq %rdi, %r14 movq (%rdi), %rax movslq 0x8(%rax), %r15 cmpb $0x1, 0xac(%rax) jne 0x13181c movss 0x4(%rbx,%r15,4), %xmm0 xorps %xmm1, %xmm1 ucomiss %xmm1, %xmm0 jb 0x131807 sqrtss %xmm0, %xmm0 jmp 0x131818 movss %xmm2, 0xc(%rsp) call...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/OjaNewton.cc
save_load(OjaNewton&, io_buf&, bool, bool)
void save_load(OjaNewton& ON, io_buf& model_file, bool read, bool text) { vw& all = *ON.all; if (read) { initialize_regressor(all); ON.initialize_Z(all.weights); } if (model_file.files.size() > 0) { bool resume = all.save_resume; stringstream msg; msg << ":" << resume << "\n"; bin_t...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x190, %rsp # imm = 0x190 movl %ecx, %ebp movl %edx, %r15d movq %rsi, %rbx movq (%rdi), %r14 testl %edx, %edx je 0x131a98 movq %rdi, %r12 movq %r14, %rdi callq 0x15496c leaq 0x3590(%r14), %rsi movq %r12, %rdi callq 0x133504 movq 0x38(%rbx), %rax cm...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/OjaNewton.cc
OjaNewton::update_eigenvalues()
void update_eigenvalues() { for (int i = 1; i <= m; i++) { float gamma = fmin(learning_rate_cnt / t, 1.f); float tmp = data.AZx[i] * data.sketch_cnt; if (t == 1) { ev[i] = gamma * tmp * tmp; } else { ev[i] = (1 - gamma) * t * ev[i] / (t - 1) + gamma *...
cmpl $0x0, 0x8(%rdi) jle 0x132d63 xorl %eax, %eax movss 0x4832e(%rip), %xmm0 # 0x17b004 movl 0x18(%rdi), %ecx xorps %xmm3, %xmm3 cvtsi2ss %ecx, %xmm3 movss 0xa8(%rdi), %xmm1 divss %xmm3, %xmm1 minss %xmm0, %xmm1 movq 0x90(%rdi), %rdx movss 0x4(%rdx,%rax,4), %xmm2 mulss 0x7c(%rdi), %xmm2 cmpl $0x1, %ecx jne 0x132d1b ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/OjaNewton.cc
OjaNewton::update_K()
void update_K() { float tmp = data.norm2_x * data.sketch_cnt * data.sketch_cnt; for (int i = 1; i <= m; i++) { for (int j = 1; j <= m; j++) { K[i][j] += data.delta[i] * data.Zx[j] * data.sketch_cnt; K[i][j] += data.delta[j] * data.Zx[i] * data.sketch_cnt; K[i][j] += dat...
cmpl $0x0, 0x8(%rdi) jle 0x132ecc movss 0x7c(%rdi), %xmm1 movss 0x80(%rdi), %xmm0 mulss %xmm1, %xmm0 mulss %xmm1, %xmm0 movl $0x1, %eax cmpl $0x0, 0x8(%rdi) jle 0x132eb8 xorl %ecx, %ecx movq 0x98(%rdi), %rdx movss (%rdx,%rax,4), %xmm1 movq 0x88(%rdi), %rdx mulss 0x4(%rdx,%rcx,4), %xmm1 movq 0x40(%rdi), %rdx movq (%rdx,...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/OjaNewton.cc
OjaNewton::check()
void check() { double max_norm = 0; for (int i = 1; i <= m; i++) for (int j = i; j <= m; j++) max_norm = fmax(max_norm, fabs(K[i][j])); // printf("|K| = %f\n", max_norm); if (max_norm < 1e7) return; // implicit -> explicit representation // printf("begin conversion: t = %d, norm(K...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movl 0x8(%rdi), %eax testl %eax, %eax jle 0x133188 movq 0x40(%rbx), %rcx incq %rax xorpd %xmm0, %xmm0 movl $0x1, %edx xorl %esi, %esi movaps 0x487ee(%rip), %xmm1 # 0x17b910 movq %rax, %rdi movq (%rcx,%rdx,8), %r8 addq %rsi, %r8 movl $0x1, %r9d mo...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/OjaNewton.cc
float** calloc_or_throw<float*>(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 0x133a57 movl $0x8, %esi callq 0x14480 testq %rax, %rax jne 0x133a59 movq 0xaa557(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x47d0c(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi callq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
void INTERACTIONS::generate_interactions<update_data, float&, &make_pred(update_data&, float, float&), false, &void GD::dummy_func<update_data>(update_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<...
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<update_data, float&, &update_normalization(update_data&, float, float&)>(vw&, example&, update_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 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 0x134d30 addq $0x35b0, %rdi # imm = 0x35B0 movq %rax, (%rsp) movzbl %bpl, %esi mo...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.h
void INTERACTIONS::generate_interactions<update_data, float&, &update_normalization(update_data&, float, float&), false, &void GD::dummy_func<update_data>(update_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<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 $0xf8, %rsp movl %esi, 0x34(%rsp) movq 0x6820(%rdx), %rax xorps %xmm0, %xmm0 movaps %xmm0, 0x90(%rsp) movaps %xmm0, 0x80(%rsp) movq $0x0, 0xc8(%rsp) movl $0x3f800000, 0xd8(%rsp) # imm = 0x3F800000 movups %xmm0, 0xe0(%rsp) movq (%rdi), %rsi movq 0x8(...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h
void GD::foreach_feature<update_data, float&, &compute_Zx_and_norm(update_data&, float, float&)>(vw&, example&, update_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 0x135e10 addq $0x35b0, %r12 # imm = 0x35B0 movq %r14, (%rsp) m...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/gd.h
void GD::foreach_feature<update_data, float&, &update_Z_and_wbar(update_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::basic_string<char, std::char_traits<char>, std::allo...
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<update_data, float&, &update_Z_and_wbar(update_data&, float, float&), false, &void GD::dummy_func<update_data>(update_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::al...
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
LEARNER::learner<baseline, example>& LEARNER::learner<baseline, example>::init_learner<LEARNER::learner<char, example>>(baseline*, LEARNER::learner<char, example>*, void (*)(baseline&, LEARNER::learner<char, example>&, example&), void (*)(baseline&, LEARNER::learner<char, example>&, example&), unsigned long, prediction...
static learner<T, E>& init_learner(T* dat, L* base, void (*learn)(T&, L&, E&), void (*predict)(T&, L&, E&), size_t ws, prediction_type::prediction_type_t pred_type) { learner<T, E>& ret = calloc_or_throw<learner<T, E> >(); if (base != nullptr) { // a reduction ret = *(learner<T, E>*)(base); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, 0x4(%rsp) movq %r8, %rbp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r13 movl $0x1, %edi callq 0x13a5cd movq %rax, %r12 testq %rbx, %rbx je 0x13a51d movl $0xe9, %edx movq %r12, %rdi movq %rbx, %rsi callq 0x145b0 movq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/learner.h
classweight_setup(VW::config::options_i&, vw&)
LEARNER::base_learner* classweight_setup(options_i& options, vw& all) { vector<string> classweight_array; auto cweights = scoped_calloc_or_throw<classweights>(); option_group_definition new_options("importance weight classes"); new_options.add(make_option("classweight", classweight_array).help("importance weigh...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x268, %rsp # imm = 0x268 movq %rsi, %r14 movq %rdi, %r15 xorps %xmm0, %xmm0 movaps %xmm0, 0x20(%rsp) movq $0x0, 0x30(%rsp) movl $0x1, %edi callq 0x13b45a movq %rax, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rax) movups %xmm0, 0x20(%rax) m...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/classweight.cc
void CLASSWEIGHTS::predict_or_learn<true, 0>(CLASSWEIGHTS::classweights&, LEARNER::learner<char, example>&, example&)
static void predict_or_learn(classweights& cweights, LEARNER::single_learner& base, example& ec) { switch (pred_type) { case prediction_type::scalar: ec.weight *= cweights.get_class_weight((uint32_t)ec.l.simple.label); break; case prediction_type::multiclass: ec.weight *= cweights.get_clas...
pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 cvttss2si 0x6828(%rdx), %rsi callq 0x13b7b6 mulss 0x6870(%rbx), %xmm0 movss %xmm0, 0x6870(%rbx) movq 0x28(%r14), %rax movq 0x18(%r14), %rdi movq 0x20(%r14), %rsi movq %rbx, %rdx addq $0x8, %rsp popq %rbx popq %r14 jmpq *%rax
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/classweight.cc
void CLASSWEIGHTS::predict_or_learn<true, 4>(CLASSWEIGHTS::classweights&, LEARNER::learner<char, example>&, example&)
static void predict_or_learn(classweights& cweights, LEARNER::single_learner& base, example& ec) { switch (pred_type) { case prediction_type::scalar: ec.weight *= cweights.get_class_weight((uint32_t)ec.l.simple.label); break; case prediction_type::multiclass: ec.weight *= cweights.get_clas...
pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movl 0x6828(%rdx), %esi callq 0x13b7b6 mulss 0x6870(%rbx), %xmm0 movss %xmm0, 0x6870(%rbx) movq 0x28(%r14), %rax movq 0x18(%r14), %rdi movq 0x20(%r14), %rsi movq %rbx, %rdx addq $0x8, %rsp popq %rbx popq %r14 jmpq *%rax
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/classweight.cc
void CLASSWEIGHTS::predict_or_learn<false, 4>(CLASSWEIGHTS::classweights&, LEARNER::learner<char, example>&, example&)
static void predict_or_learn(classweights& cweights, LEARNER::single_learner& base, example& ec) { switch (pred_type) { case prediction_type::scalar: ec.weight *= cweights.get_class_weight((uint32_t)ec.l.simple.label); break; case prediction_type::multiclass: ec.weight *= cweights.get_clas...
pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movl 0x6828(%rdx), %esi callq 0x13b7b6 mulss 0x6870(%rbx), %xmm0 movss %xmm0, 0x6870(%rbx) movq 0x30(%r14), %rax movq 0x18(%r14), %rdi movq 0x20(%r14), %rsi movq %rbx, %rdx addq $0x8, %rsp popq %rbx popq %r14 jmpq *%rax
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/classweight.cc
CLASSWEIGHTS::classweights::load_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void load_string(std::string const& source) { std::stringstream ss(source); std::string item; while (std::getline(ss, item, ',')) { std::stringstream inner_ss(item); std::string klass; std::string weight; std::getline(inner_ss, klass, ':'); std::getline(inner_ss, weight, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x528, %rsp # imm = 0x528 movq %rdi, 0x48(%rsp) leaq 0x218(%rsp), %rdi movl $0x18, %edx callq 0x14c60 leaq 0x60(%rsp), %rax movq %rax, -0x10(%rax) movq $0x0, -0x8(%rax) movb $0x0, (%rax) leaq 0x38(%rsp), %r14 leaq 0x18(%rsp), %rbp leaq 0...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/classweight.cc
LEARNER::learner<CLASSWEIGHTS::classweights, example>& LEARNER::learner<CLASSWEIGHTS::classweights, example>::init_learner<LEARNER::learner<char, example>>(CLASSWEIGHTS::classweights*, LEARNER::learner<char, example>*, void (*)(CLASSWEIGHTS::classweights&, LEARNER::learner<char, example>&, example&), void (*)(CLASSWEIG...
static learner<T, E>& init_learner(T* dat, L* base, void (*learn)(T&, L&, E&), void (*predict)(T&, L&, E&), size_t ws, prediction_type::prediction_type_t pred_type) { learner<T, E>& ret = calloc_or_throw<learner<T, E> >(); if (base != nullptr) { // a reduction ret = *(learner<T, E>*)(base); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, 0x4(%rsp) movq %r8, %rbp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r13 movl $0x1, %edi callq 0x13b6a5 movq %rax, %r12 testq %rbx, %rbx je 0x13b5f5 movl $0xe9, %edx movq %r12, %rdi movq %rbx, %rsi callq 0x145b0 movq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/learner.h
VW::vw_exception::vw_exception(VW::vw_exception const&)
vw_exception::vw_exception(const vw_exception& ex) : file(ex.file), message(ex.message), lineNumber(ex.lineNumber) {}
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx leaq 0xa07e1(%rip), %rax # 0x1dc070 movq %rax, (%rdi) movq 0x8(%rsi), %rax movq %rax, 0x8(%rdi) addq $0x10, %rdi leaq 0x20(%rbx), %rax movq %rax, 0x10(%rbx) movq 0x10(%rsi), %rsi movq 0x18(%r14), %rdx addq %rsi, %rdx callq 0x1de82 movl 0x30(%r14), %ea...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/vw_exception.cc
VW::vw_exception::~vw_exception()
const char* vw_exception::what() const _NOEXCEPT { return message.c_str(); }
pushq %rbx movq %rdi, %rbx leaq 0xa0757(%rip), %rax # 0x1dc070 movq %rax, (%rdi) movq 0x10(%rdi), %rdi leaq 0x20(%rbx), %rax cmpq %rax, %rdi je 0x13b92e callq 0x14690 movq %rbx, %rdi popq %rbx jmp 0x15038 nop
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/vw_exception.cc
no_label::parse_no_label(parser*, shared_data*, void*, v_array<substring>&)
inline size_t size() const { return _end - _begin; }
movq 0x8(%rcx), %rax cmpq (%rcx), %rax je 0x13ba49 pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rcx, %r14 movq 0xa2579(%rip), %rbx # 0x1ddf10 leaq 0x44b0e(%rip), %rsi # 0x1804ac movl $0x7, %edx movq %rbx, %rdi callq 0x14810 movq 0x8(%r14), %rsi subq (%r14), %rsi sarq $0x4, %rsi movq %rbx, %rdi c...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/v_array.h
VW::config::options_boost_po::get_all_options()
std::vector<std::shared_ptr<base_option>> options_boost_po::get_all_options() { std::vector<std::shared_ptr<base_option>> output_values; std::transform(m_options.begin(), m_options.end(), std::back_inserter(output_values), [](std::pair<const std::string, std::shared_ptr<base_option>>& kv) { return kv.second;...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movq 0x20(%rsi), %r15 addq $0x10, %r14 cmpq %r14, %r15 je 0x13d6c2 movq %rsp, %r12 movq 0xa0896(%rip), %r13 # 0x1ddf08 movq 0x40(%r15), %rax movq %rax...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/options_boost_po.cc
void VW::config::options_boost_po::add_to_description_impl<VW::config::typelist<>>(std::shared_ptr<VW::config::base_option>, boost::program_options::options_description&)
void options_boost_po::add_to_description_impl<typelist<>>( std::shared_ptr<base_option>, po::options_description&) { THROW("That is an unsupported option type."); }
pushq %rbp pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 leaq 0x28(%rsp), %rdi callq 0x144e0 leaq 0x38(%rsp), %rdi leaq 0x4b2ea(%rip), %rsi # 0x188c5b movl $0x23, %edx callq 0x14810 movl $0x38, %edi callq 0x14320 movq %rax, %rbx leaq 0x40(%rsp), %rsi leaq 0x8(%rsp), %rdi callq 0x14c50 movb $0x1, ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/options_boost_po.cc