Closed TAMILSELVAM-A closed 1 year ago
how to resolve this issue?
how to resolve this issue?
change the import statement of the model before dump that model...
{ from xgboost import XGBClassifier (##CHNAG THIS IMPORT SATEMENT INTO THIS) gbc = GradientBoostingClassifier(max_depth=4,learning_rate=0.7) gbc.fit(X_train,y_train) }
{ from sklearn.ensemble import GradientBoostingClassifier (IMPORT THIS FILE ) gbc = GradientBoostingClassifier(max_depth=4,learning_rate=0.7) gbc.fit(X_train,y_train) }
HOW CAN I SOLVE THIS ERROR??
Originally posted by @TAMILSELVAM-A in https://github.com/VaibhavBichave/Phishing-URL-Detection/issues/4#issuecomment-1510843459