Git Product home page Git Product logo

crop-recommendation's Introduction

Hi there ๐Ÿ‘‹

Visits Badge

side Image

side Gif
  • ๐Ÿ”ญ Iโ€™m Arpit Gupta working as a Software Engineer.
  • ๐ŸŒฑ Iโ€™m currently learning App Development
  • ๐Ÿ’ฌ Ask me about animes, movies, tech and games.
  • ๐Ÿ˜„ Pronouns: He/Him
  • โšก Fun fact: Appears 4 everywhere.

๐Ÿ“ซ How to reach me:

ย  ย  ย  ย  ย 

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Languages and Tools

Statsย  ย  ย  ย  ย  ย  ย  ย  ย  ย 

trophy

crop-recommendation's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

crop-recommendation's Issues

I'm facing the below error when i submit

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "c:\Users\Admin\Pictures\Saved Pictures\Crop-Recommendation\gui.py", line 108, in
button = tk.Button(root,text="Submit",font=40,command=lambda: self_function())
File "c:\Users\Admin\Pictures\Saved Pictures\Crop-Recommendation\gui.py", line 14, in self_function
label['text'] = pre(a,b)
File "c:\Users\Admin\Pictures\Saved Pictures\Crop-Recommendation\backend.py", line 25, in pre
c = classifier.predict(Z)
File "C:\Python39\lib\site-packages\sklearn\tree_classes.py", line 442, in predict
X = self._validate_X_predict(X, check_input)
X = self._validate_data(X, dtype=DTYPE, accept_sparse="csr",
File "C:\Python39\lib\site-packages\sklearn\base.py", line 421, in validate_data
X = check_array(X, **check_params)
File "C:\Python39\lib\site-packages\sklearn\utils\validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "C:\Python39\lib\site-packages\sklearn\utils\validation.py", line 726, in check_array
raise ValueError("Found array with %d sample(s) (shape=%s) while a"
ValueError: Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 1 is required.
PS C:\Users\Admin\Pictures\Saved Pictures\Crop-Recommendation> c:; cd 'c:\Users\Admin\Pictures\Saved Pictures\Crop-Recommendation'; & 'C:\Python39\python.exe' 'c:\Users\Admin.vscode\extensions\ms-python.python-2021.9.1246542782\pythonFiles\lib\python\debugpy\launcher' '64341' '--' 'c:\Users\Admin\Pictures\Saved Pictures\Crop-Recommendation\gui.py'
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python39\lib\tkinter_init
.py", line 1892, in call
return self.func(*args)
File "c:\Users\Admin\Pictures\Saved Pictures\Crop-Recommendation\gui.py", line 108, in
button = tk.Button(root,text="Submit",font=40,command=lambda: test_function())
File "c:\Users\Admin\Pictures\Saved Pictures\Crop-Recommendation\gui.py", line 14, in test_function
label['text'] = pre(a,b)
File "c:\Users\Admin\Pictures\Saved Pictures\Crop-Recommendation\backend.py", line 25, in pre
c = classifier.predict(Z)
File "C:\Python39\lib\site-packages\sklearn\tree_classes.py", line 442, in predict
X = self._validate_X_predict(X, check_input)
File "C:\Python39\lib\site-packages\sklearn\tree_classes.py", line 407, in _validate_X_predict
X = self._validate_data(X, dtype=DTYPE, accept_sparse="csr",
File "C:\Python39\lib\site-packages\sklearn\base.py", line 421, in _validate_data
X = check_array(X, **check_params)
File "C:\Python39\lib\site-packages\sklearn\utils\validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "C:\Python39\lib\site-packages\sklearn\utils\validation.py", line 726, in check_array
raise ValueError("Found array with %d sample(s) (shape=%s) while a"
ValueError: Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 1 is required.

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.