(x, y)
| 267 | |
| 268 | |
| 269 | def _compute_containment(x, y): |
| 270 | if len(x) == 0 or len(y) == 0: |
| 271 | return 0.0 |
| 272 | intersection = len(np.intersect1d(x, y, assume_unique=True)) |
| 273 | return float(intersection) / float(len(x)) |
| 274 | |
| 275 | |
| 276 | levels = { |
nothing calls this directly
no outgoing calls
no test coverage detected