small syntax change
This commit is contained in:
parent
16e09c33f1
commit
2ebb63f649
2
ch13.jl
2
ch13.jl
@ -247,7 +247,7 @@ histogram!(test_groups[(true,)].predict;
|
|||||||
# Code for computing of confusion matrix
|
# Code for computing of confusion matrix
|
||||||
|
|
||||||
@chain test begin
|
@chain test begin
|
||||||
@rselect(:observed=:arrest, :predicted=:predict > 0.15)
|
@rselect(:predicted=:predict > 0.15, :observed=:arrest)
|
||||||
proptable(:predicted, :observed; margins=2)
|
proptable(:predicted, :observed; margins=2)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user