IndexError: index 804 is out of bounds for axis 0 with size 8002019 Community Moderator Electionconvert single index pandas data frame to multi-indexQ-learning with a state-action-state reward structure and a Q-matrix with states as rows and actions as columnsQ learning and Neural Network for Tic Tac ToeReinforcement Learning with static stateWhat is the optimal value of a Markov Decision process with Single actions at each state?Can you interpolate with QLearning or Reinforcement learning in general?Is there a general guideline for experience replay size, and how to store?Using categorial_crossentropy to train a model in kerasHow to generate list with out for loop in python

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

What is the offset in a seaplane's hull?

In Japanese, what’s the difference between “Tonari ni” (となりに) and “Tsugi” (つぎ)? When would you use one over the other?

What does it mean to describe someone as a butt steak?

Have astronauts in space suits ever taken selfies? If so, how?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

Why not use SQL instead of GraphQL?

How do I create uniquely male characters?

Did Shadowfax go to Valinor?

Is it unprofessional to ask if a job posting on GlassDoor is real?

What are the differences between the usage of 'it' and 'they'?

What does "Puller Prush Person" mean?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Fully-Firstable Anagram Sets

If I cast Expeditious Retreat, can I Dash as a bonus action on the same turn?

Arthur Somervell: 1000 Exercises - Meaning of this notation

Example of a continuous function that don't have a continuous extension

Show that if two triangles built on parallel lines, with equal bases have the same perimeter only if they are congruent.

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

How does strength of boric acid solution increase in presence of salicylic acid?

Why dont electromagnetic waves interact with each other?

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

Why do falling prices hurt debtors?



IndexError: index 804 is out of bounds for axis 0 with size 800



2019 Community Moderator Electionconvert single index pandas data frame to multi-indexQ-learning with a state-action-state reward structure and a Q-matrix with states as rows and actions as columnsQ learning and Neural Network for Tic Tac ToeReinforcement Learning with static stateWhat is the optimal value of a Markov Decision process with Single actions at each state?Can you interpolate with QLearning or Reinforcement learning in general?Is there a general guideline for experience replay size, and how to store?Using categorial_crossentropy to train a model in kerasHow to generate list with out for loop in python










1












$begingroup$


i installed a self driving car project from superdatascience site , when i open the map using terminal after a while the map window close up or it closes directly after i maximize the map window and it gives me this error :



 [INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "map.py", line 235, in <module>
CarApp().run()
File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 826, in run
runTouchApp()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 502, in runTouchApp
EventLoop.window.mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 727, in mainloop
self._mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 460, in _mainloop
EventLoop.idle()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 340, in idle
self.dispatch_input()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 325, in dispatch_input
post_dispatch_input(*pop(0))
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 231, in post_dispatch_input
listener.dispatch('on_motion', etype, me)
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1360, in on_motion
self.dispatch('on_touch_down', me)
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1376, in on_touch_down
if w.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 460, in on_touch_down
if child.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "map.py", line 181, in on_touch_down
sand[int(touch.x),int(touch.y)] = 1
IndexError: index 620 is out of bounds for axis 1 with size 600


the code i have in the brain ( ai.py file ) is



 class Dqn():

def select_action(self, state):
probs = F.softmax(self.model(Variable(state, volatile = True))*100) # T=100
action = probs.multinomial(num_samples=1)
return action.data[0,0]


the code i have in the map ( map.py file ) is



class MyPaintWidget(Widget):

def on_touch_down(self, touch):
global length, n_points, last_x, last_y
with self.canvas:
Color(0.8,0.7,0)
d = 10.
touch.ud['line'] = Line(points = (touch.x, touch.y), width = 10)
last_x = int(touch.x)
last_y = int(touch.y)
n_points = 0
length = 0
sand[int(touch.x),int(touch.y)] = 1


what should i do or change ??










share|improve this question









$endgroup$




bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






migrated from ai.stackexchange.com Nov 8 '18 at 0:19


This question came from our site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment.

















  • $begingroup$
    Seems like you are gong out of bounds of an array somewhere
    $endgroup$
    – Markiian Benovskyi
    Nov 7 '18 at 10:06















1












$begingroup$


i installed a self driving car project from superdatascience site , when i open the map using terminal after a while the map window close up or it closes directly after i maximize the map window and it gives me this error :



 [INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "map.py", line 235, in <module>
CarApp().run()
File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 826, in run
runTouchApp()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 502, in runTouchApp
EventLoop.window.mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 727, in mainloop
self._mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 460, in _mainloop
EventLoop.idle()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 340, in idle
self.dispatch_input()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 325, in dispatch_input
post_dispatch_input(*pop(0))
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 231, in post_dispatch_input
listener.dispatch('on_motion', etype, me)
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1360, in on_motion
self.dispatch('on_touch_down', me)
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1376, in on_touch_down
if w.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 460, in on_touch_down
if child.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "map.py", line 181, in on_touch_down
sand[int(touch.x),int(touch.y)] = 1
IndexError: index 620 is out of bounds for axis 1 with size 600


the code i have in the brain ( ai.py file ) is



 class Dqn():

def select_action(self, state):
probs = F.softmax(self.model(Variable(state, volatile = True))*100) # T=100
action = probs.multinomial(num_samples=1)
return action.data[0,0]


the code i have in the map ( map.py file ) is



class MyPaintWidget(Widget):

def on_touch_down(self, touch):
global length, n_points, last_x, last_y
with self.canvas:
Color(0.8,0.7,0)
d = 10.
touch.ud['line'] = Line(points = (touch.x, touch.y), width = 10)
last_x = int(touch.x)
last_y = int(touch.y)
n_points = 0
length = 0
sand[int(touch.x),int(touch.y)] = 1


what should i do or change ??










share|improve this question









$endgroup$




bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






migrated from ai.stackexchange.com Nov 8 '18 at 0:19


This question came from our site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment.

















  • $begingroup$
    Seems like you are gong out of bounds of an array somewhere
    $endgroup$
    – Markiian Benovskyi
    Nov 7 '18 at 10:06













1












1








1





$begingroup$


i installed a self driving car project from superdatascience site , when i open the map using terminal after a while the map window close up or it closes directly after i maximize the map window and it gives me this error :



 [INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "map.py", line 235, in <module>
CarApp().run()
File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 826, in run
runTouchApp()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 502, in runTouchApp
EventLoop.window.mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 727, in mainloop
self._mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 460, in _mainloop
EventLoop.idle()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 340, in idle
self.dispatch_input()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 325, in dispatch_input
post_dispatch_input(*pop(0))
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 231, in post_dispatch_input
listener.dispatch('on_motion', etype, me)
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1360, in on_motion
self.dispatch('on_touch_down', me)
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1376, in on_touch_down
if w.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 460, in on_touch_down
if child.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "map.py", line 181, in on_touch_down
sand[int(touch.x),int(touch.y)] = 1
IndexError: index 620 is out of bounds for axis 1 with size 600


the code i have in the brain ( ai.py file ) is



 class Dqn():

def select_action(self, state):
probs = F.softmax(self.model(Variable(state, volatile = True))*100) # T=100
action = probs.multinomial(num_samples=1)
return action.data[0,0]


the code i have in the map ( map.py file ) is



class MyPaintWidget(Widget):

def on_touch_down(self, touch):
global length, n_points, last_x, last_y
with self.canvas:
Color(0.8,0.7,0)
d = 10.
touch.ud['line'] = Line(points = (touch.x, touch.y), width = 10)
last_x = int(touch.x)
last_y = int(touch.y)
n_points = 0
length = 0
sand[int(touch.x),int(touch.y)] = 1


what should i do or change ??










share|improve this question









$endgroup$




i installed a self driving car project from superdatascience site , when i open the map using terminal after a while the map window close up or it closes directly after i maximize the map window and it gives me this error :



 [INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "map.py", line 235, in <module>
CarApp().run()
File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 826, in run
runTouchApp()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 502, in runTouchApp
EventLoop.window.mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 727, in mainloop
self._mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 460, in _mainloop
EventLoop.idle()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 340, in idle
self.dispatch_input()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 325, in dispatch_input
post_dispatch_input(*pop(0))
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 231, in post_dispatch_input
listener.dispatch('on_motion', etype, me)
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1360, in on_motion
self.dispatch('on_touch_down', me)
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1376, in on_touch_down
if w.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 460, in on_touch_down
if child.dispatch('on_touch_down', touch):
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "map.py", line 181, in on_touch_down
sand[int(touch.x),int(touch.y)] = 1
IndexError: index 620 is out of bounds for axis 1 with size 600


the code i have in the brain ( ai.py file ) is



 class Dqn():

def select_action(self, state):
probs = F.softmax(self.model(Variable(state, volatile = True))*100) # T=100
action = probs.multinomial(num_samples=1)
return action.data[0,0]


the code i have in the map ( map.py file ) is



class MyPaintWidget(Widget):

def on_touch_down(self, touch):
global length, n_points, last_x, last_y
with self.canvas:
Color(0.8,0.7,0)
d = 10.
touch.ud['line'] = Line(points = (touch.x, touch.y), width = 10)
last_x = int(touch.x)
last_y = int(touch.y)
n_points = 0
length = 0
sand[int(touch.x),int(touch.y)] = 1


what should i do or change ??







reinforcement-learning python q-learning






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 5 '18 at 15:05







R.SH












bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






migrated from ai.stackexchange.com Nov 8 '18 at 0:19


This question came from our site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment.









migrated from ai.stackexchange.com Nov 8 '18 at 0:19


This question came from our site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment.













  • $begingroup$
    Seems like you are gong out of bounds of an array somewhere
    $endgroup$
    – Markiian Benovskyi
    Nov 7 '18 at 10:06
















  • $begingroup$
    Seems like you are gong out of bounds of an array somewhere
    $endgroup$
    – Markiian Benovskyi
    Nov 7 '18 at 10:06















$begingroup$
Seems like you are gong out of bounds of an array somewhere
$endgroup$
– Markiian Benovskyi
Nov 7 '18 at 10:06




$begingroup$
Seems like you are gong out of bounds of an array somewhere
$endgroup$
– Markiian Benovskyi
Nov 7 '18 at 10:06










1 Answer
1






active

oldest

votes


















0












$begingroup$

One of the values being returned by touch.x or touch.y are bigger than the dimensions of the sand array.



You could try adding a try/except block around it and print a useful message - just as an example, as I have no idea what this programme is doing (in the on_touch_down function):



def on_touch_down(self, touch)
...
...
try:
sand[int(touch.x), int(touch.y)] = 1
except IndexError:
print("Touchdown did not occur within the end-zone! No goal!")





share|improve this answer









$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "557"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f40892%2findexerror-index-804-is-out-of-bounds-for-axis-0-with-size-800%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown
























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    One of the values being returned by touch.x or touch.y are bigger than the dimensions of the sand array.



    You could try adding a try/except block around it and print a useful message - just as an example, as I have no idea what this programme is doing (in the on_touch_down function):



    def on_touch_down(self, touch)
    ...
    ...
    try:
    sand[int(touch.x), int(touch.y)] = 1
    except IndexError:
    print("Touchdown did not occur within the end-zone! No goal!")





    share|improve this answer









    $endgroup$

















      0












      $begingroup$

      One of the values being returned by touch.x or touch.y are bigger than the dimensions of the sand array.



      You could try adding a try/except block around it and print a useful message - just as an example, as I have no idea what this programme is doing (in the on_touch_down function):



      def on_touch_down(self, touch)
      ...
      ...
      try:
      sand[int(touch.x), int(touch.y)] = 1
      except IndexError:
      print("Touchdown did not occur within the end-zone! No goal!")





      share|improve this answer









      $endgroup$















        0












        0








        0





        $begingroup$

        One of the values being returned by touch.x or touch.y are bigger than the dimensions of the sand array.



        You could try adding a try/except block around it and print a useful message - just as an example, as I have no idea what this programme is doing (in the on_touch_down function):



        def on_touch_down(self, touch)
        ...
        ...
        try:
        sand[int(touch.x), int(touch.y)] = 1
        except IndexError:
        print("Touchdown did not occur within the end-zone! No goal!")





        share|improve this answer









        $endgroup$



        One of the values being returned by touch.x or touch.y are bigger than the dimensions of the sand array.



        You could try adding a try/except block around it and print a useful message - just as an example, as I have no idea what this programme is doing (in the on_touch_down function):



        def on_touch_down(self, touch)
        ...
        ...
        try:
        sand[int(touch.x), int(touch.y)] = 1
        except IndexError:
        print("Touchdown did not occur within the end-zone! No goal!")






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 8 '18 at 0:37









        n1k31t4n1k31t4

        6,4912421




        6,4912421



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Data Science Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f40892%2findexerror-index-804-is-out-of-bounds-for-axis-0-with-size-800%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Францішак Багушэвіч Змест Сям'я | Біяграфія | Творчасць | Мова Багушэвіча | Ацэнкі дзейнасці | Цікавыя факты | Спадчына | Выбраная бібліяграфія | Ушанаванне памяці | У філатэліі | Зноскі | Літаратура | Спасылкі | НавігацыяЛяхоўскі У. Рупіўся дзеля Бога і людзей: Жыццёвы шлях Лявона Вітан-Дубейкаўскага // Вольскі і Памідораў з песняй пра немца Адвакат, паэт, народны заступнік Ашмянскі веснікВ Минске появится площадь Богушевича и улица Сырокомли, Белорусская деловая газета, 19 июля 2001 г.Айцец беларускай нацыянальнай ідэі паўстаў у бронзе Сяргей Аляксандравіч Адашкевіч (1918, Мінск). 80-я гады. Бюст «Францішак Багушэвіч».Яўген Мікалаевіч Ціхановіч. «Партрэт Францішка Багушэвіча»Мікола Мікалаевіч Купава. «Партрэт зачынальніка новай беларускай літаратуры Францішка Багушэвіча»Уладзімір Іванавіч Мелехаў. На помніку «Змагарам за родную мову» Барэльеф «Францішак Багушэвіч»Памяць пра Багушэвіча на Віленшчыне Страчаная сталіца. Беларускія шыльды на вуліцах Вільні«Krynica». Ideologia i przywódcy białoruskiego katolicyzmuФранцішак БагушэвічТворы на knihi.comТворы Францішка Багушэвіча на bellib.byСодаль Уладзімір. Францішак Багушэвіч на Лідчыне;Луцкевіч Антон. Жыцьцё і творчасьць Фр. Багушэвіча ў успамінах ягоных сучасьнікаў // Запісы Беларускага Навуковага таварыства. Вільня, 1938. Сшытак 1. С. 16-34.Большая российская1188761710000 0000 5537 633Xn9209310021619551927869394п

            Partai Komunis Tiongkok Daftar isi Kepemimpinan | Pranala luar | Referensi | Menu navigasidiperiksa1 perubahan tertundacpc.people.com.cnSitus resmiSurat kabar resmi"Why the Communist Party is alive, well and flourishing in China"0307-1235"Full text of Constitution of Communist Party of China"smengembangkannyas

            ValueError: Expected n_neighbors <= n_samples, but n_samples = 1, n_neighbors = 6 (SMOTE) The 2019 Stack Overflow Developer Survey Results Are InCan SMOTE be applied over sequence of words (sentences)?ValueError when doing validation with random forestsSMOTE and multi class oversamplingLogic behind SMOTE-NC?ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)SmoteBoost: Should SMOTE be ran individually for each iteration/tree in the boosting?solving multi-class imbalance classification using smote and OSSUsing SMOTE for Synthetic Data generation to improve performance on unbalanced dataproblem of entry format for a simple model in KerasSVM SMOTE fit_resample() function runs forever with no result