// File: /workspace/github_cpp_makefile_star2_O1/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 0x5257(%rip), %r14      # 0x9fd8
leaq 0x2371(%rip), %rsi      # 0x70f9
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 0x2335(%rip), %rsi      # 0x7105
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 0x22fb(%rip), %rsi      # 0x7117
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 0x22c2(%rip), %rsi      # 0x7129
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 0x228b(%rip), %rsi      # 0x713d
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 0x225d(%rip), %rsi      # 0x715a
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 0x5097
movl $0x8, %ebp
xorl %r14d, %r14d
leaq 0x21f6(%rip), %r15      # 0x7184
leaq 0x21f8(%rip), %r12      # 0x718d
cmpq %r14, %rdx
jbe 0x50a6
movq -0x8(%rax,%rbp), %rsi
movq (%rax,%rbp), %rdx
movq 0x502a(%rip), %rdi      # 0x9fd8
callq 0x2190
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x21b1(%rip), %rsi      # 0x7176
callq 0x2190
movl $0xb, %edx
movq %r13, %rdi
leaq 0x219f(%rip), %rsi      # 0x7178
callq 0x2190
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4c1a
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x21f0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2067(%rip), %rsi      # 0x706e
callq 0x2190
movl $0x8, %edx
movq %r13, %rdi
movq %r15, %rsi
callq 0x2190
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4c92
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 0x4f95
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2113(%rip), %rdi      # 0x71c0
movq %r14, %rsi
xorl %eax, %eax
callq 0x21d0
nop