Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.4K Views
|
6 Replies
|
1 Total Like
View groups...
Share
Share this post:

Error using Predict: "The data being evaluated is not formatted correctly"

Posted 2 years ago
POSTED BY: N KF
6 Replies

Should work now.

POSTED BY: Mariusz Iwaniuk
Posted 2 years ago

Hi Mariusz,

I was also wrong. The problem is the use of \[RightArrow] rather than ->. Nice catch!

POSTED BY: Rohit Namjoshi
Posted 2 years ago

Hi N KF

Take a look at

index // Counts // ReverseSort

The value 259.2 appears twice. That is the problem, two different time values cannot have the same index value.

POSTED BY: Rohit Namjoshi

It looks like p wants a single number as input.

POSTED BY: Daniel Lichtblau
Posted 2 years ago

Thanks, but I have tried to take out the

Predict[trainData, Method→"NeuralNetwork"]

itself to run, then get the same result

POSTED BY: N KF

Ah. My mistake, I misread where the error message was located.

POSTED BY: Daniel Lichtblau
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard