Update README.md
Browse files
README.md
CHANGED
@@ -7,7 +7,7 @@ tags:
|
|
7 |
---
|
8 |
|
9 |
# Password security classifier
|
10 |
-
This is a keras model that gives a binary response showing how secure is a password.
|
11 |
I used this password list as a dataset + random password generation using the `random` library (I know, it's not very secure but this is for a dataset).
|
12 |
## Model & Training
|
13 |
The model was trained on 4,2MiB of .csv data for 2 epochs on Adam with learning rate 0.00001, batch size 4 and mse loss.
|
@@ -15,4 +15,14 @@ The model embeds every input character with the ord() builtin python function. T
|
|
15 |
## Evaluation
|
16 |
The evaluation of the model on a test dataset shows:
|
17 |
**loss** -
|
18 |
-
**accuracy** -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
---
|
8 |
|
9 |
# Password security classifier
|
10 |
+
This is a keras model that gives a binary response showing how secure is a password.
|
11 |
I used this password list as a dataset + random password generation using the `random` library (I know, it's not very secure but this is for a dataset).
|
12 |
## Model & Training
|
13 |
The model was trained on 4,2MiB of .csv data for 2 epochs on Adam with learning rate 0.00001, batch size 4 and mse loss.
|
|
|
15 |
## Evaluation
|
16 |
The evaluation of the model on a test dataset shows:
|
17 |
**loss** -
|
18 |
+
**accuracy** -
|
19 |
+
## Model usage
|
20 |
+
The `start.py` file has a `clf` function that inputs a string of a password and responds with a 0-1 float value. 1 means secure and 0 insecure.
|
21 |
+
To train the model, create a `dataset.csv` file. Here's an example:
|
22 |
+
```csv
|
23 |
+
0,qwerty
|
24 |
+
0,123456
|
25 |
+
1,ISOdvsjs8r8
|
26 |
+
1,F(SEsDLxc__
|
27 |
+
```
|
28 |
+
After the `dataset.csv` file is created, now you can adjust the settings in the `net.py` file and run it.
|