abhishek374 / dream11 Goto Github PK
View Code? Open in Web Editor NEWProject to predict the dream11 points in an IPL match
Project to predict the dream11 points in an IPL match
I Cloned this project and installed the required library. I tried running the script by "python3 controller.py"
But I got the below error:
preddatafeature updated with currently playing members
Calculation for best XI started
/usr/local/lib/python3.8/dist-packages/sklearn/base.py:329: UserWarning: Trying to unpickle estimator StandardScaler from version 0.22.1 when using version 0.23.2. This might lead to breaking code or invalid results. Use at your own risk.
warnings.warn(
Traceback (most recent call last):
File "controller.py", line 213, in <module>
execute_model_prediction(datapath, predictors, modelname, cat_cols, pred_col, usetimeseries=False, predpath=True)
File "/home/emperoreby/sideprojects/dream11/main.py", line 110, in execute_model_prediction
mod_predict.get_normalized_data()
File "/home/emperoreby/sideprojects/dream11/point_prediction.py", line 248, in get_normalized_data
master_numcols = self.enc[1].transform(master_numcols_df.values)
File "/usr/local/lib/python3.8/dist-packages/sklearn/preprocessing/_data.py", line 791, in transform
X = self._validate_data(X, reset=False,
File "/usr/local/lib/python3.8/dist-packages/sklearn/base.py", line 436, in _validate_data
self._check_n_features(X, reset=reset)
File "/usr/local/lib/python3.8/dist-packages/sklearn/base.py", line 372, in _check_n_features
raise RuntimeError(
RuntimeError: The reset parameter is False but there is no n_features_in_ attribute. Is this estimator fitted?
raise InvalidURL("Invalid URL %r: No host supplied" % url)
requests.exceptions.InvalidURL: Invalid URL 'https: // hsapi.espncricinfo.com / v1 / pages / series / schedule?lang = en & leagueId =8048&year=2021': No host supplied
after install main.py does not output anything
the csv file was converted to xlsx ( its the only thing i can see that might have been changed)
catboost.CatBoostError: Invalid type for cat_feature[non-default value idx=14616,feature_idx=21]=nan : cat_features must be integer or string, real number values and NaN values should be converted to string.
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.