Home » how to » Page 18

how to

Fixing Kibana error ‘Error in visualization – Cannot read property of undefined’

  • by
  • 1 min read

Kibana is a great tool, with corporate-level user management, to visualize data from the Elasticsearch stack. Given the highly customizeable user roles, it’s easy to run into errors that appear to be gibberish. Here’s an example: Error in VisualizationCannot read property ‘x’ of undefined It seems to not make a… 

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… 

Solved: “docker build” hangs

  • by
  • 2 min read

Taking a Docker course, building your first image and nothing happens? Here’s why and how to solve this issue. When you run the docker build command, the Docker client will send the “context” of your Dockerfile via REST to the Docker daemon. This “context” is the content of what is… 

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…