CoolFace
Apppublic

Arunsalla/tabular-ml-classification-project

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
test_model_file.py14 linesDownload Raw Back to root
1import joblib
2
3loaded = joblib.load("models/xgb_improved.pkl")
4
5print("Type:", type(loaded))
6
7if isinstance(loaded, tuple):
8    print("Tuple length:", len(loaded))
9    print("Contents:")
10    for i, item in enumerate(loaded):
11        print(f"Index {i}: {type(item)}")
12else:
13    print("Object is not a tuple. It is:", type(loaded))
14