This file contains hidden or 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
| import numpy as np | |
| from sklearn.datasets import fetch_openml | |
| from sklearn.preprocessing import OneHotEncoder | |
| from sklearn.model_selection import train_test_split | |
| import time | |
| # --- KONFIGURACJA --- | |
| # Teraz definiujemy listę rozmiarów warstw ukrytych | |
| HIDDEN_LAYERS_SIZES = [128, 64] | |
| LEARNING_RATE = 2.0 |
This file contains hidden or 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
| import numpy as np | |
| from sklearn.datasets import fetch_openml | |
| from sklearn.preprocessing import OneHotEncoder | |
| from sklearn.model_selection import train_test_split | |
| import time | |
| # --- KONFIGURACJA --- | |
| # Teraz definiujemy listę rozmiarów warstw ukrytych | |
| HIDDEN_LAYERS_SIZES = [128, 64] # Przykład: dwie warstwy ukryte | |
| LEARNING_RATE = 2.0 |