It all depends on what you're doing online.
Answer:
MIPS Code:
.data
newline: .asciiz "\n" #newline variable
.text
MAINLOOP:
li $v0, 5 #syscall to get user interger and store in $v0
syscall
add $a0, $zero, $v0 #moving the user input to $a0 from $v0
beq $a0, 0, EXIT #branching to EXIT when $a0 is 0
li $v0, 1 #syscall to print integer in $a0
syscall
li $v0, 4 #syscall to print newline
la $a0, newline
syscall
j MAINLOOP #jumping to MAINLOOP
EXIT:
Sample Output:
6
6
7
7
3
3
0
Answer:
No, you can´t.
Explanation:
An SVM uses a binary system. In this case the data consists of nominal attributes which can´t be used directly into the SVM.
However, in order to transform this normal attribute into the binary system is necessary to order the information in two sequences, in which the colors are based into two information facts that will give the system the representation that needs.