Giter Club home page Giter Club logo

laptop-price-predictor-regression-project's People

Contributors

campusx-official avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

laptop-price-predictor-regression-project's Issues

Xgboost issue

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.

XGBoostError

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()))

protocols cannot be instantiated

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

AttributeError: 'ColumnTransformer' object has no attribute '_name_to_fitted_passthrough

unicode issue

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.