I hereby claim:
- I am wikii122 on github.
- I am wikii122 (https://keybase.io/wikii122) on keybase.
- I have a public key whose fingerprint is F99F 0034 D58F 8200 EC46 0F2B 5BE8 1D48 6151 B9B8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
############ Laboratory task ################### | |
#calculation of accuracy | |
accuracyCalc <- function(confTbl, startCol) | |
{ | |
corr = 0; | |
for(i in startCol:ncol(confTbl)) | |
{ | |
corr = corr + max(confTbl[,i]) | |
} | |
accuracy = corr/sum(confTbl) |
# Simple additional info in type showcase | |
# Assume normal list | |
class List<T>: | |
... # List stuff | |
# Only defining one more type | |
class Index(int): | |
# Basically, it's int subtype that on every operation should return int, no overrides | |
pass | |