Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Machine Learning by (19k points)

I have a data table ("norm") containing numeric - at least to what I can see - normalized values of the following form:

A screenshot of the table

When I am executing

k <- kmeans(norm,center=3)

I am receving the following error:

Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg 1)

Can you help me? Thank you!

1 Answer

0 votes
by (33.1k points)
edited by

Most of the machine learning algorithms can't handle data with NA values. K-means cannot handle data that has NA values.

Hope this answer helps you!

If you want to know the real-world applications of Machine Learning then you can go through this video:

This video is so insightful that it may propel you to undergo a Machine Learning Online Course when it comes to making a mark in the software industry. 

Browse Categories

...