forked from s464914/ium_464914
Update get_stats.py
This commit is contained in:
parent
c0a52a095b
commit
30e5b7752a
12
get_stats.py
12
get_stats.py
@ -5,15 +5,15 @@ meteorite_test = pd.read_csv('meteorite_test.csv')
|
|||||||
meteorite_val = pd.read_csv('meteorite_val.csv')
|
meteorite_val = pd.read_csv('meteorite_val.csv')
|
||||||
|
|
||||||
with open('stats.txt', 'w') as f:
|
with open('stats.txt', 'w') as f:
|
||||||
f.write(f"Wielkość treningowego zbioru:\n {meteorite_train.shape}\n")
|
f.write(f"Wielkosc treningowego zbioru:\n {meteorite_train.shape}\n")
|
||||||
f.write(f"Wielkość testowego zbioru:\n {meteorite_test.shape}\n")
|
f.write(f"Wielkosc testowego zbioru:\n {meteorite_test.shape}\n")
|
||||||
f.write(f"Wielkość walidacyjnego zbioru:\n {meteorite_val.shape}\n")
|
f.write(f"Wielkosc walidacyjnego zbioru:\n {meteorite_val.shape}\n")
|
||||||
|
|
||||||
f.write(f"\nZbiór Treningowy:\n")
|
f.write(f"\Zbior Treningowy:\n")
|
||||||
f.write(f"{meteorite_train.describe()}\n")
|
f.write(f"{meteorite_train.describe()}\n")
|
||||||
|
|
||||||
f.write(f"\nZbiór Testowy:\n")
|
f.write(f"\Zbior Testowy:\n")
|
||||||
f.write(f"{meteorite_test.describe()}\n")
|
f.write(f"{meteorite_test.describe()}\n")
|
||||||
|
|
||||||
f.write(f"\nZbiór walidacyjny:\n")
|
f.write(f"\Zbior walidacyjny:\n")
|
||||||
f.write(f"{meteorite_val.describe()}\n")
|
f.write(f"{meteorite_val.describe()}\n")
|
Loading…
Reference in New Issue
Block a user