#๐Ÿ”’ Stacking predictive model help

7 messages ยท Page 1 of 1 (latest)

drifting pawnBOT
#

Hey @prisma dome!

Please edit your message to use a code block

Add a py after the three backticks.

```py
print('Hello, world!')
```

This will result in the following:

print('Hello, world!')```
#

@prisma dome

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

prisma dome
#

I've tried changing around a handful of things and ended up with a variety of errors that I don't particularly understand what to do with them, namely these two

ValueError: y should be a 1d array, got an array shape of (699, 3) instead
KeyError: "[Label1, Label2, Label3] not found in axis"
#

The labels in the KeyError being encoded class labels with OneHotEncoder/LabelEncoder

#

My end goal is to predict on the class if that helps at all

drifting pawnBOT
#
Python help channel closed using Discord native close action

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.