Problem The scikit-learn Python library has several classes for imputing (predicting missing values in arrays.) I had code using the Imputer class in the sklearn.preprocessing package. It has an axis=1 parameter to predict values row-wise. For example, an array like this (nan = missing value) … [[ 10. nan 20. 15.] [ 200. 200. 200. … [Read More]
You attempt to open a Jupyter Notebook in your GitHub repository and get the dreaded ‘Sorry, something went wrong. Reload?’ message. Don’t dispair, use nbviewer!
A new AWS account is granted, by default, root privileges. That means it has access to everything. Best practices dictate we avoid using root privileges whenever possible. Create and log into AWS with an Administrator user account instead of root.
A function with a data.frame column parameter can’t evaluate the column argument until it is first ‘quoted’, followed by an ‘unquote’ within the dyplr function. ‘Quote’ a column using enquo(), then ‘unquote’ it using !!.
A little white space between R Markdown sections gives the reader a little pause in the story before changing the subject otherwise all the cells get smooshed together by default and it ends up looking like one long run-on sentence.
To emphasize value differences in a bar chart, using gradient colors is a nice option. ggplot makes it easy with scale_fill_gradient2().