forest = RandomForestRegressor(n_estimators=1000,
criterion='mse')
forest.fit(X_train, y_train)
The forest model stored above
import joblib
file_name = 'mormalize.pkl'
joblib.dump(forest, file_name)
I saved it using the code above.
I'm gonna bring this up.
model_name = 'C:\\myenv\\object_01.pkl'
forest=joblib.load(model_name)
y_pred = forest.predict(df)
used as . In the process of making this file an exe file using the phystaller,
As shown in the image above, the problem of importing unused files (used in the model) continued. Results brought up using hidden import The capacity of the exe file exceeded 3GB when three sklear modules were loaded. Still requesting import.
The prompt to add hidden import in the spec answered in the other questions does not work.
How can I make an exe file? Also, could you recommend another module if it's the limit of the pyintaller?