randomForest gives NA/NaN/Inf in foreign function call and how to solve it

  • by
  • 3 min read

Personally, Random Forest is one of my favorite algorithms for supervised learning. It’s quick and dirty and still allows for some interpretation. However, R and the RandomForest package are somewhat cryptic when it comes to requirements not met to properly train the algorithm. I bumped a lot into this error… 

Nginx port mapping error on docker

  • by
  • 1 min read

When taking Docker tutorials, one of the first things that pops up is running a web server in a container via Nginx. However, when you map ports (e.g. 80 on 80) you might get the following error: Error response from daemon: driver failed programming external connectivity on endpoint <your container>:… 

What to do when Python is not recognized as an internal or external command

  • by
  • 2 min read

One of the main reasons I prefer R(Studio) over Python for doing data science in a context of business intelligence is the ease and stability of the workspace: no virtual environments to maintain since most popular libraries have matured. An update once a year suffices. Yet I acknowledge Python is…