Hello! I'm currently working on machine learning. However, I'm facing an issue when running the KNN (k-nearest neighbors) algorithm. Specifically, I keep getting the error message "unserialize(socklist[[n]]) : error reading from connection". This error occurs when I'm training individual models to be used in ensemble training.
Then, the following model, and the previous model, including the KNN, will got the error "Error in serialize(data, node$con) : error writing to connection" when i try to run them (again)
I'm using a Mac M1, 8gb RAM. I would greatly appreciate any assistance or guidance from the community on how to resolve this issue. Thank you in advance for your help! The script are from other, I'm still new to machine learning so let me know if i can provide more information to understand the issue better.