💄 Changes dataset shape printing

This commit is contained in:
Daniel Svitan 2024-12-15 12:55:53 +01:00
parent ba31f87932
commit 58edbb0551
7 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@ import numpy as np
from scipy.stats import kendalltau
dataset = np.load("clean.npy")
print(f"dataset shape: {dataset.shape}, analyzing column 11 (absence)")
print(f"dataset shape: {dataset.shape}; analyzing column 11 (absence)")
print("\tinteger value")
print("")

View File

@ -3,7 +3,7 @@ import numpy as np
from analyze import analyze
dataset = np.load("clean.npy")
print(f"dataset shape: {dataset.shape}, analyzing column 9 (commute)")
print(f"dataset shape: {dataset.shape}; analyzing column 9 (commute)")
print("\t0 - dorms")
print("\t1 - <= 15m")
print("\t2 - <= 30m")

View File

@ -3,7 +3,7 @@ import numpy as np
from analyze import analyze
dataset = np.load("clean.npy")
print(f"dataset shape: {dataset.shape}, analyzing column 8 (living)")
print(f"dataset shape: {dataset.shape}; analyzing column 8 (living)")
print("\t0 - with family")
print("\t1 - with family member")
print("\t2 - alone / roomates")

View File

@ -3,7 +3,7 @@ import numpy as np
from analyze import analyze
dataset = np.load("clean.npy")
print(f"dataset shape: {dataset.shape}, analyzing column 7 (occupation)")
print(f"dataset shape: {dataset.shape}; analyzing column 7 (occupation)")
print("\t0 - work hours / week >= 10")
print("\t1 - work hours / week < 10")
print("\t2 - sport")

View File

@ -3,7 +3,7 @@ import numpy as np
from analyze import analyze
dataset = np.load("clean.npy")
print(f"dataset shape: {dataset.shape}, analyzing column 6 (ses)")
print(f"dataset shape: {dataset.shape}; analyzing column 6 (ses)")
print("\t0 - lower class")
print("\t1 - middle class")
print("\t2 - upper class")

View File

@ -3,7 +3,7 @@ import numpy as np
from analyze import analyze
dataset = np.load("clean.npy")
print(f"dataset shape: {dataset.shape}, analyzing column 1 (sex)")
print(f"dataset shape: {dataset.shape}; analyzing column 1 (sex)")
print("\t0 - female")
print("\t1 - male")
print("")

View File

@ -3,7 +3,7 @@ import numpy as np
from analyze import analyze
dataset = np.load("clean.npy")
print(f"dataset shape: {dataset.shape}, analyzing column 10 (sleep)")
print(f"dataset shape: {dataset.shape}; analyzing column 10 (sleep)")
print("\t0 - short sleepers")
print("\t1 - medium sleepers")
print("\t2 - long sleepers")