-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# bai-2.0 (338787 parametre) | ||
|
||
## EEG üzerinden duygu sınıflandırması yapan ilk kararlı modellerimizden olan "bai-2.0" modeli. | ||
|
||
#### NOT: Gerçek zamanlı EEG veri takibi uygulamasına modeli entegre ederseniz, gerçek zamanlı olarak duygu tahmini yapabilmektedir. Uygulamaya erişebilmek için: https://github.com/neurazum/Realtime-EEG-Monitoring | ||
|
||
## ----------------------------------------------------------------------------------- | ||
|
||
# bai-2.0 (338787 parameters) | ||
|
||
## "bai-2.0" model, one of the first stable models that classifies emotions via EEG. | ||
|
||
#### NOTE: If you integrate the model into a real-time EEG data tracking application, it can predict emotions in real time. To access the application: https://github.com/neurazum/Realtime-EEG-Monitoring | ||
|
||
**Doğruluk/Accuracy: %97.93621013133207** | ||
|
||
## ----------------------------------------------------------------------------------- | ||
|
||
# Kullanım / Usage: | ||
|
||
```python | ||
import numpy as np | ||
import pandas as pd | ||
from sklearn.preprocessing import StandardScaler | ||
from tensorflow.keras.models import load_model | ||
import matplotlib.pyplot as plt | ||
|
||
model_path = 'model-path' | ||
|
||
model = load_model(model_path) | ||
|
||
model_name = model_path.split('/')[-1].split('.')[0] | ||
|
||
plt.figure(figsize=(10, 6)) | ||
plt.title(f'Duygu Tahmini ({model_name}.0)') | ||
plt.xlabel('Zaman') | ||
plt.ylabel('Sınıf') | ||
plt.legend(loc='upper right') | ||
plt.grid(True) | ||
plt.show() | ||
model.summary() | ||
|
||
``` |
Binary file not shown.