kochlisGit / ProphitBet-Soccer-Bets-Predictor

ProphitBet is a Machine Learning Soccer Bet prediction application. It analyzes the form of teams, computes match statistics and predicts the outcomes of a match using Advanced Machine Learning (ML) methods. The supported algorithms in this application are Neural Networks, Random Forests & Ensembl Models.
MIT License
312 stars 113 forks source link

No matches shown in evaluation tab #65

Open ByLennox opened 7 months ago

ByLennox commented 7 months ago

When I open the evaluation tab none of the matches are shown and i get this error: AttributeError: module 'numpy' has no attribute 'bool'. np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_ here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

kochlisGit commented 7 months ago

Hello, which numpy version are you using? Open cmd and type: pip show numpy and tell me your version.

ByLennox commented 7 months ago

It says version: 1.26.4

kochlisGit commented 7 months ago

That's because you have different version installed. Check requirements.txt and install the recommended versions. You can do it like this:

pip install numpy==1.22.4 for example. Check the requirements.txt on the folder for the exact version of each library