Git Product home page Git Product logo

kaggle-competitions's Introduction

Kaggle-Competitions

kaggle-competitions's People

Contributors

krishnaik06 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kaggle-competitions's Issues

XGBoostError: [00:23:51] c:\.\..\workspace\xgboost-win64_release_1.6.0\src\c_api\c_api_utils.h:159: Invalid missing value: null

Created the model and pickled it, however while predicting Y values for Test Data, getting this error.

Command - y_pred = regressor.predict(df_Test)
Output

XGBoostError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_26796/2506740906.py in
----> 1 y_pred = regressor.predict(df_Test)
2 sns.heatmap(df_Test.isnull(),yticklabels=False,cbar=False)

C:\ProgramData\Miniconda3\lib\site-packages\xgboost\sklearn.py in predict(self, X, output_margin, ntree_limit, validate_features, base_margin, iteration_range)
1047 if self._can_use_inplace_predict():
1048 try:
-> 1049 predts = self.get_booster().inplace_predict(
1050 data=X,
1051 iteration_range=iteration_range,

C:\ProgramData\Miniconda3\lib\site-packages\xgboost\core.py in inplace_predict(self, data, iteration_range, predict_type, missing, validate_features, base_margin, strict_shape)
2100 from .data import _ensure_np_dtype
2101 data, _ = _ensure_np_dtype(data, data.dtype)
-> 2102 _check_call(
2103 _LIB.XGBoosterPredictFromDense(
2104 self.handle,

C:\ProgramData\Miniconda3\lib\site-packages\xgboost\core.py in _check_call(ret)
201 """
202 if ret != 0:
--> 203 raise XGBoostError(py_str(_LIB.XGBGetLastError()))
204
205

XGBoostError: [00:23:51] c:\users\administrator\workspace\xgboost-win64_release_1.6.0\src\c_api\c_api_utils.h:159: Invalid missing value: null

Data files

Hi Krish,

Thanks a lottttttttt for sharing all good content every day.. I'm watching each and every video of yours., those are such an informative..

Also, big Thank you for sharing this code. Please share the data files as well (untouched .csv files), so that I can do some practice over them.

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.