ageron / ageron/handson-ml

Splitting with hashlib

Aperta
#628 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
25.6k
Fork
12.7k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

Good time a day ageron, you have a very nice book.

Anyway I have one question from Chapter 2. Which of algorithm given in book is more faster:

**- 1) def split_train_test(data, test_ratio)
- 2) def test_set_check(identifier, test_ratio, id_column, hash=hashlib.md5)
- 3) train_test_split from sklearn**

?

Which function is more save memory?

I would be gratefull if you give comments about this. Thanks for your attention

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.