Fix a ValueError inside a machine learning program built with Keras

Completado Publicado hace 5 años Pagado a la entrega
Completado Pagado a la entrega

In [login to view URL] from Model_v2 in the attachment, I got the following error :

ValueError: Error when checking target: expected activation_4 to have shape (3,) but got array with shape (2,)

You can look at the photo in the attachment, i.e. [login to view URL]

I changed the line 25 in [login to view URL] to get the labels ['1', '0', '-1'] instead of ['1', '-1']

How can I fix it?

Machine Learning (ML) Python

Nº del proyecto: #17404628

Sobre el proyecto

14 propuestas Proyecto remoto Activo hace 5 años

Adjudicado a:

dilichan

The error in the program seems to be a mismatch in the model output size and the size of the provided training data. This can be solved by modifying the model, or the training data. Relevant Skills and Experience Deep Más

$180 CAD en 3 días
(7 comentarios)
4.0

14 freelancers están ofertando un promedio de $147 por este trabajo

hamzaisb

I am a professional ML/NLP Engineer in an IT company with 3+ years of Python, Machine learning and Natural Language processing, have experience working with many challenging problems Relevant Skills and Experience al Más

$155 CAD en 3 días
(59 comentarios)
6.4
andrewemel

Hi there, I would like to be considered for your project. I have 2+ years of experience in Neural Networks specially in Keras. I'll be glad to help. Best regards, Andrew Relevant Skills and Experience Keras Neural N Más

$50 CAD en 1 día
(36 comentarios)
4.9
raghavajay3

sure, do let's share the code. will tell you the debug

$166 CAD en 3 días
(37 comentarios)
4.8
vorasiddh4it

View my last projects based on Data Mining, Machine Learning, Artificial Intelligence, python, java and I can complete your project perfectly. www.freelancer.com/u/vorasiddh4it#/reviews Relevant Skills and Experience Más

$250 CAD en 7 días
(8 comentarios)
4.2
hiteshabheda

I have a team of Machine Learning and Python developers with 5+ years of experience. Relevant Skills and Experience We have an experience with Tensor flow and other Machine Learning techniques. We can do that. Propos Más

$188 CAD en 3 días
(3 comentarios)
4.1
origami07

change keras script Relevant Skills and Experience python keras Proposed Milestones $155 CAD - complete

$155 CAD en 1 día
(12 comentarios)
3.9
Valuesolutions

Hello, i have read the details provided..please contact me to discuss more on the project deadline and some other few things Relevant Skills and Experience Machine Learning, Python Proposed Milestones $155 CAD - .

$155 CAD en 3 días
(9 comentarios)
5.0
hoanganh928

I think there is some mismatch in input or output shape in your model If you extract some of your data and send me, so I can reproduce your error Relevant Skills and Experience I have experience in training some pytho Más

$100 CAD en 3 días
(1 comentario)
1.0
rbhatiabscs15se9

This Issue does not seem to be big issue as i have been working in this since long, I want script and some more details or specific requirements if any . I would love to get a reply from you. Relevant Skills and Exper Más

$144 CAD en 3 días
(0 comentarios)
0.0
vasilopoc

Dear Madam/Sir, The problem is that you have the wrong shape in your data. The data must be reshaped in order not to have this problem. Look forward to working with you. Relevant Skills and Experience In my diploma Más

$111 CAD en 5 días
(0 comentarios)
0.0