campusx-official / laptop-price-predictor-regression-project Goto Github PK
View Code? Open in Web Editor NEWA ML based laptop price predictor
A ML based laptop price predictor
XGBoostError: [21:11:44] c:\users\administrator\workspace\xgboost-win64_release_1.5.1\src\data\array_interface.h:357: Unicode-3 is not supported.
I'm getting this issue in streamlit.
Getting this error
XGBoostError: [22:28:28] c:\buildkite-agent\builds\buildkite-windows-cpu-autoscaling-group-i-0fc7796c793e6356f-1\xgboost\xgboost-ci-windows\src\data\array_interface.h:475: Unicode-3 is not supported.
Traceback:
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "C:\Users\vishs\Documents\LPS2\app.py", line 66, in
st.title("The predicted price of this configuration is " + str(int(np.exp(pipe.predict(query)[0]))))
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\sklearn\pipeline.py", line 481, in predict
return self.steps[-1][1].predict(Xt, **predict_params)
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\sklearn\ensemble_stacking.py", line 371, in predict
return self.final_estimator_.predict(self.transform(X), **predict_params)
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\sklearn\utils_set_output.py", line 140, in wrapped
data_to_wrap = f(self, X, *args, **kwargs)
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\sklearn\ensemble_stacking.py", line 974, in transform
return self._transform(X)
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\sklearn\ensemble_stacking.py", line 296, in _transform
predictions = [
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\sklearn\ensemble_stacking.py", line 297, in
getattr(est, meth)(X)
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\xgboost\sklearn.py", line 1114, in predict
predts = self.get_booster().inplace_predict(
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\xgboost\core.py", line 2292, in inplace_predict
_check_call(
File "C:\Users\vishs\Documents\LPS2\venv\lib\site-packages\xgboost\core.py", line 279, in _check_call
raise XGBoostError(py_str(_LIB.XGBGetLastError()))
TypeError: Protocols cannot be instantiated
2023-04-04 00:25:06.363 Uncaught exception
Traceback (most recent call last):
File "C:\Users\HP\PycharmProjects\laptop-price-predictor\venv\lib\site-packages\tornado\http1connection.py", line 276, in _read_message
delegate.finish()
File "C:\Users\HP\PycharmProjects\laptop-price-predictor\venv\lib\site-packages\tornado\routing.py", line 268, in finish
self.delegate.finish()
File "C:\Users\HP\PycharmProjects\laptop-price-predictor\venv\lib\site-packages\tornado\web.py", line 2322, in finish
self.execute()
File "C:\Users\HP\PycharmProjects\laptop-price-predictor\venv\lib\site-packages\tornado\web.py", line 2344, in execute
self.handler = self.handler_class(
File "C:\Users\HP\PycharmProjects\laptop-price-predictor\venv\lib\site-packages\tornado\websocket.py", line 224, in init
super().init(application, request, **kwargs)
File "C:\Users\HP\PycharmProjects\laptop-price-predictor\venv\lib\site-packages\tornado\web.py", line 215, in init
super().init()
File "C:\Users\HP\PycharmProjects\laptop-price-predictor\venv\lib\site-packages\tornado\websocket.py", line 224, in init
super().init(application, request, **kwargs)
File "C:\Users\HP\PycharmProjects\laptop-price-predictor\venv\lib\site-packages\tornado\web.py", line 215, in init
super().init()
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\typing.py", line 1083, in _no_init
raise TypeError('Protocols cannot be instantiated')
TypeError: Protocols cannot be instantiated
AttributeError: 'ColumnTransformer' object has no attribute '_name_to_fitted_passthrough
raise XGBoostError(py_str(_LIB.XGBGetLastError()))
xgboost.core.XGBoostError: [16:06:17] C:\buildkite-agent\builds\buildkite-windows-cpu-autoscaling-group-i-0fdc6d574b9c0d168-1\xgboost\xgboost-ci-windows\src\data\array_interface.h:475: Unicode-3 is not supported.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.