Views
No views yet
1from autogluon.tabular import TabularPredictor
2from huggingface_hub import hf_hub_download
3import os
4
5model_path = hf_hub_download(repo_id="DeltaSatellite1/entrepreneurial_readiness_2", filename="predictor.pkl")
6predictor = TabularPredictor.load(os.path.dirname(model_path))
7
8# Example prediction
9import pandas as pd
10example = pd.DataFrame([{"feature1": 3.2, "feature2": 7.5, "feature3": 1.0}])
11print(predictor.predict(example))