Views
No views yet
Product_Store_Sales_Totalvinayakdnrdd/superkart-sales-dataprocessed/train.csvprocessed/test.csv1{
2 "model__subsample": 0.85,
3 "model__reg_lambda": 1.0,
4 "model__n_estimators": 800,
5 "model__max_depth": 6,
6 "model__learning_rate": 0.03,
7 "model__colsample_bytree": 0.85
8}1import joblib
2from huggingface_hub import hf_hub_download
3
4model_path = hf_hub_download('vinayakdnrdd/superkart-sales-xgb-model', filename='superkart_sales_model.joblib')
5model = joblib.load(model_path)
6y_pred = model.predict(X) # X: pandas DataFrame with training feature columns