File size: 613 Bytes
f04bbb4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0411a47
f04bbb4
 
 
 
0411a47
 
 
 
f04bbb4
 
0411a47
 
f04bbb4
 
0411a47
 
f04bbb4
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
# Data Mining from scratch backend

Currently living [here](https://data-mining-from-scratch-backend.onrender.com/)

### Example Useage

```python
import requests
import json

request_params = {
    "algorithm": "neural-network",
    "arguments": {
        "epochs": 100,
        "activation_func": "relu",
        "hidden_size": 8,
        "learning_rate": 0.1,
    }
}

headers = {
    "Content-Type": "application/json",
}

r = requests.post(
    "https://data-mining-from-scratch-backend.onrender.com/",
    headers=headers,
    data=json.dumps(request_params),
)

model_data = r.json()
print(model_data)
```