Všechno Nové

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Registrovat

Přihlásit se


Všechno Nové Registrovat Přihlásit se

Všechny gisty

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno
riccardo's Avatar

riccardo / Save and load hyperparameters

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 9 months ago
Save and load hyperparameters for model training and evaluation
1 from datetime import datetime
2 from pathlib import Path
3
4 import yaml
5
6
7 # Define the model
8 class MyModel:
9 def __init__(
10 self,
riccardo's Avatar

riccardo / MP Distribution

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 9 months ago
Definition of a Marchenko-Pastur distribution
1 import numpy as np
2
3 from numpy.typing import ArrayLike
4
5 class MarchenkoPastur:
6 """Definition of a Marchenko-Pastur distribution"""
7
8 def __init__(self, ratio: float, sigma: float = 1.0):
9 """
10 Parameters
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 42ms⋅

Čeština
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文