💄 Changes dataset shape printing
This commit is contained in:
parent
ba31f87932
commit
58edbb0551
@ -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("")
|
||||
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
@ -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("")
|
||||
|
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user