I am learning from this post.

$\alpha$ is the ratio of the first subset,


according to the context and code of the post, $\left|D\right|$ means the number of samples?

  • What are the pair of vertical lines called?

Is it the L1 norm symbol? It does not seem to be the absolute value symbol.


1 Answer 1


$D$ is a set which is further divided into sets $D_{1}$ and $D_{2}$. In this context the vertical lines represent the cardinality of the set i.e. the number of elements in the set. Hence, $\alpha$ represents the ratio of number of samples of $D_{1}$ to $D$.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.