File size: 455 Bytes
cef041b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

---
library_name: scikit-learn
tags:
- ios
- memory-leak
- combine
- swiftui
- static-analysis
---

# ios-memory-leak-detector

## Task
Detect memory leaks in iOS Swift code using ARC, Combine, and SwiftUI patterns.

## Input
13 binary features extracted from Swift code.

## Output
- 0 → No Leak
- 1 → Memory Leak

## Accuracy
0.99

## Usage
```python
import joblib

model = joblib.load("model.joblib")
model.predict([[0,0,1,0,0,1,1,0,0,0,0,0,0]])