Review of the Machine Learning Engineer Datacamp Course

As a data science lead, I see it as my responsibility to guide junior data scientists on training and professional development. The field is broad, and I often see two common profiles: those with strong mathematical and statistical foundations but limited software engineering experience (e.g., object-oriented programming, unit testing, CI/CD), and those with solid computer science backgrounds but less exposure to the mathematical side. To make informed recommendations, I regularly complete courses and exercises myself and make a habit of daily practice. In this post, I review DataCamp’s Machine Learning Engineering course, which I recently completed. ...

31 August 2025 · 4 min · Konrad Zdeb

Poor Man's Robust Shiny App Deployment (Part II)

Introduction This article draws on the past post concerned with utilisation of golem for robust deployment of analytical and reporting solutions. For this article, we will assume that we are working with defined working requirements that utilise some of the Labour Market Statistics disseminated through the nomis portal. Change Plan What we have Reporting requirements Past scriptts we used to create reports with accompanying instructions What we want Stronger business continuity - we want to be able to give some access to this project and don’t be concerned with missing files, outdated unavailable documentation and questions on how to produce updated reports. We want self-encompassing entity that takes of care of its technical requirements and user-interaction^[Good parallel can be drawn between this approach and manuals available with life-saving equipment. Equipment delivers technical capacity and manual ensures operational capacity. In case of an inexperienced user one is not useful without the other. We want to ensure that user with minimum required capacity can use the tools correctly.] Better reproducibility - Easier way to re-run reports on custom parameters Improved efficiency - We want to have a possibility of quickly creating updated and re-running past reports using the app. Better development: We want to ensure that any change requests to our reporting/analytical stack won’t break crucial functionalities. We want to modularise development so new corporate branding or visualisation requirements can be applied with no (or minimal) integration in analytical function Framework Package Future robust development owes a lot to solid foundations. As the aim is to capitalise on the robust R package architecture, we will look to leverage available supporting packages. As a first step, we will construct a new Shiny/R package infrastructure using golem. ...

12 February 2021 · 3 min · Konrad

Poor Man's Robust Shiny App Deployment

Not so uncommon problem RStudio Connect and more modest Shiny Proxy come to mind as most obvious solutions for deploying Shiny applications in production. Application servers are ideal for deploying applications that are to be consumed on a regular basis by larger audiences. In addition to serving the application, managing dependencies and user access or logging user activity are common tasks we would expect for a publishing platform to address. Frequently, however, deployment of Shiny application is directed at smaller audiences and less frequent usage. In such a situation, are availability, accessibility and user access management requirements will be often more modest. Commonly,in business a modelling or analytical solution can be packaged in Shiny application facilitating periodical re-run of models with different parameters and updated data sets. Such solutions can be conveniently utilised to facilitated development of monthly or quarterly reports. If the app is used once per month/quarter by a narrow user group the need to deploy it on the server is not well articulated. In that particular case we are mostly interested in ensuring that we can: ...

23 July 2020 · 5 min · Konrad

Interactively Loading Shiny Modules

TL;DR If you want to see the implemented solution, please refer to: GitHub repo. Context Shiny is a widely popular web application framework for a R. In simple tearms it enables any R programmer to develop and deploy web application. This application could be simple - an interactive document consisting of a few charts and tables or a c complex “behemoth” with multiple functionalities enabling end-users to run models, query external data, generate exportable reports and sophisticated visuals. ...

24 November 2018 · 2 min · Konrad

ASCII charts in R

In Stata it is possible to use function plot in order to get a simple scatter plot in Stata console. As of Stata eight, plot is no longer supported but remains a useful tool for quickly exploring relationships between variables. Using plot on the auto data provides the following results: Now the question is: can we achieve the same level of convenience in R? Of course. The txtplot package authored by Bjoern Bornkamp provides similar functionality. Executing the code below will generate nice text plot straight in the R console: ...

5 June 2015 · 1 min · Konrad

Managing rows in the ggplot legend

After developing the Shiny App sourcing live labour market data from NOMIS. I wanted to accommodate a convenient way of managing rows in the legend. In particular, I wanted to account for the situation where end-user may select a number of geographies that will only conveniently fit into two or more rows. After transposing the data to long format, guessing the number of elements in the legend is relatively simple as it will correspond to the number of unique geographies passed via the subset command. ...

28 March 2015 · 1 min · Konrad