// File: /workspace/github_cpp_makefile_star2_O3/8igMac[P]random-forest/src/decision_tree.cpp
// Function: analyser::print_result(int)
void analyser::print_result(int num_inst)
{
	int trainSize = TRAINPERCENT * (num_inst/100);
	cout << "tran size: " << trainSize << endl;
	cout << "validation size: " << num_inst-trainSize << endl;
	cout << "number of trees: " << NUMTREE << endl;
	cout << "attribute bagging: " << ATTRBAGGING << endl;
	cout << "decision tree max depth:  : " << MAXDEPTH << endl;
	cout << "mininum samples of a node: " << MINSAMPLE << endl;
	cout << endl; 

	for (int i=0; i<(int)formatTb.size(); i++)
	{
		cout << formatTb.at(i) << "\t"
				 << "precision: " << get_precision(i) << " "
				 << "recall: " << get_recall(i) << "\n" << endl;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movslq %esi, %r15
imulq $0x51eb851f, %r15, %rax # imm = 0x51EB851F
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x25, %rax
addl %ecx, %eax
imull $0x46, %eax, %ebp
movq 0x51bf(%rip), %r14      # 0x9fd8
leaq 0x2305(%rip), %rsi      # 0x7125
movl $0xb, %edx
movq %r14, %rdi
callq 0x2190
movq %r14, %rdi
movl %ebp, %esi
callq 0x2230
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
leaq 0x22c9(%rip), %rsi      # 0x7131
movl $0x11, %edx
movq %r14, %rdi
callq 0x2190
subl %ebp, %r15d
movq %r14, %rdi
movl %r15d, %esi
callq 0x2230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
leaq 0x228f(%rip), %rsi      # 0x7143
movl $0x11, %edx
movq %r14, %rdi
callq 0x2190
movq %r14, %rdi
movl $0x1e, %esi
callq 0x2230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
leaq 0x2256(%rip), %rsi      # 0x7155
movl $0x13, %edx
movq %r14, %rdi
callq 0x2190
movq %r14, %rdi
movl $0x2, %esi
callq 0x2230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
leaq 0x221f(%rip), %rsi      # 0x7169
movl $0x1c, %edx
movq %r14, %rdi
callq 0x2190
movq %r14, %rdi
movl $0xc, %esi
callq 0x2230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
leaq 0x21f1(%rip), %rsi      # 0x7186
movl $0x1b, %edx
movq %r14, %rdi
callq 0x2190
movq %r14, %rdi
movl $0x5, %esi
callq 0x2230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
movq 0x18(%rbx), %rax
movq 0x20(%rbx), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
testl %edx, %edx
jle 0x512f
movl $0x8, %ebp
xorl %r14d, %r14d
leaq 0x218a(%rip), %r15      # 0x71b0
leaq 0x218c(%rip), %r12      # 0x71b9
cmpq %r14, %rdx
jbe 0x513e
movq -0x8(%rax,%rbp), %rsi
movq (%rax,%rbp), %rdx
movq 0x4f92(%rip), %rdi      # 0x9fd8
callq 0x2190
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2145(%rip), %rsi      # 0x71a2
callq 0x2190
movl $0xb, %edx
movq %r13, %rdi
leaq 0x2133(%rip), %rsi      # 0x71a4
callq 0x2190
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4cb2
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x21f0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1fcf(%rip), %rsi      # 0x706e
callq 0x2190
movl $0x8, %edx
movq %r13, %rdi
movq %r15, %rsi
callq 0x2190
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4d2a
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x21f0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x2190
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
incq %r14
movq 0x18(%rbx), %rax
movq 0x20(%rbx), %rcx
subq %rax, %rcx
movq %rcx, %rdx
sarq $0x5, %rdx
shrq $0x5, %rcx
movslq %ecx, %rcx
addq $0x20, %rbp
cmpq %rcx, %r14
jl 0x502d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20a7(%rip), %rdi      # 0x71ec
movq %r14, %rsi
xorl %eax, %eax
callq 0x21d0
nop