- This topic has 1 reply, 2 voices, and was last updated 4 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Fórum Machine Learning e Data Science com Python de A à Z › Erro ao utilizar o fit
Bom dia pessoal! Preciso de ajuda, por favor.
Estou executando o código imputer = SimpleImputer.fit(previsores[:,0:3]) , contudo ele está dando o seguinte erro:
TypeError: fit() missing 1 required positional argument: ‘X’
E quando utilizo o código atualizado imputer = imputer.fit(previsores[:, 0:3]) também tenho o mesmo erro.
Obrigado desde já.
Olá Adriano, esse erro pode corrigido com a atualização do código fonte, disponível no link abaixo:
https://iaexpert.academy/topic/importante-atualizacao-do-codigo-fonte-e-recursos-para-download/
Fabio