From 84faf448bd08cefc15ed9f7493fbcd3e8bf89ad7 Mon Sep 17 00:00:00 2001 From: Frederik Vanrenterghem Date: Sat, 25 Nov 2023 21:13:16 +0800 Subject: [PATCH 1/1] Gebruik juiste link voor assets. --- .../AUC_and_economics_of_predictive_modelling.org | 2 +- posts/Half_Time_Oranges.org | 2 +- posts/I_bought_a_balance_board.org | 2 +- posts/Innovate_WA_2023.org | 2 +- posts/NYC_taxi_calendar_fun.org | 4 ++-- posts/Perth_solar_exposure_over_year.org | 2 +- posts/Ronald_McDonald_House.org | 2 +- posts/Setting_up_an_Analytics_Practice.org | 2 +- posts/WA_roads_in_R_using_sf.org | 2 +- posts/explore-AU-road-fatalities.org | 14 +++++++------- posts/facet_labels_in_R.org | 2 +- posts/fertile-summers.org | 2 +- posts/house_price_evolution.org | 4 ++-- posts/loans_and_semi_Markov_chains.org | 2 +- posts/managing_data_science_work.org | 4 ++-- posts/obtaining_SLIP_data_using_R.org | 2 +- ...income_per_postal_code_in_Australian_cities.org | 2 +- posts/survival_analysis_in_fintech.org | 2 +- 18 files changed, 27 insertions(+), 27 deletions(-) diff --git a/posts/AUC_and_economics_of_predictive_modelling.org b/posts/AUC_and_economics_of_predictive_modelling.org index 720360a..9735c27 100644 --- a/posts/AUC_and_economics_of_predictive_modelling.org +++ b/posts/AUC_and_economics_of_predictive_modelling.org @@ -19,7 +19,7 @@ This line represents combinations of true positive rates and false positive rate #+caption: ROC space plot with indifference line. #+attr_html: :width 300 -[[file:assets/indifference-line.png]] +[[file:../assets/indifference-line.png]] An optimal and viable cutoff is the point of the tangent of the left-most parallel line to the indifference line and the ROC curve. diff --git a/posts/Half_Time_Oranges.org b/posts/Half_Time_Oranges.org index 99b33a2..57006d4 100644 --- a/posts/Half_Time_Oranges.org +++ b/posts/Half_Time_Oranges.org @@ -7,5 +7,5 @@ Moving countries means learning about a new culture. Even after 10 years in Aust #+caption: Bag of oranges labelled half-time oranges #+attr_html: :class img-fluid :alt Bag of oranges labelled half-time oranges -[[file:assets/half-time-oranges.png]] +[[file:../assets/half-time-oranges.png]] diff --git a/posts/I_bought_a_balance_board.org b/posts/I_bought_a_balance_board.org index 27c34af..6c76256 100644 --- a/posts/I_bought_a_balance_board.org +++ b/posts/I_bought_a_balance_board.org @@ -24,4 +24,4 @@ Keep on riding :) #+CAPTION: Barefoot & Salty XL Surf balance board #+ATTR_HTML: :class img-fluid :alt Barefoot & Salty XL Surf balance board -[[file:assets/balance-board.png]] +[[file:../assets/balance-board.png]] diff --git a/posts/Innovate_WA_2023.org b/posts/Innovate_WA_2023.org index e2d8c6c..1d39b0b 100644 --- a/posts/Innovate_WA_2023.org +++ b/posts/Innovate_WA_2023.org @@ -5,7 +5,7 @@ Public Sector Network's Innovate WA conference today started with a poll amongst the attendees, asking for our biggest goal or aspiration for the public sector in Western Australia. Overwhelmingly, collaboration came out as the main opportunity for contributors and decision makers in the sector. Closely linked was the desire to better share data between government departments and functions. In his opening address, WA Minister for Innovation Stephen Dawson touched on that, mentioning the State Government is planning to introduce legislation later this year around privacy and responsible data sharing. This will be the first time WA government agencies and state-owned enterprises will be subject to privacy laws, and at the same time is hoped to encourage data sharing that should result in better outcomes for citizens of the state. #+caption: poll results -[[file:assets/Innovate_WA_2023.png]] +[[file:../assets/Innovate_WA_2023.png]] Greg Italiano, the state government's CIO, gave an update on the digital transformation of the WA government. Delivering a digital identity has been a key milestone so far - no easy task given the many arms of government at state and federal level that were involved. He acknowledged the Service WA app doesn't offer a compelling range of services to deal with government so far though - finding your best deal for refueling and notices on shark detections probably don't top the list of needs for many. diff --git a/posts/NYC_taxi_calendar_fun.org b/posts/NYC_taxi_calendar_fun.org index ef0f2c4..1947c2f 100644 --- a/posts/NYC_taxi_calendar_fun.org +++ b/posts/NYC_taxi_calendar_fun.org @@ -44,12 +44,12 @@ Next, I moved on to the actual analysis work in R. Looking at the number of trips per day on a calendar heatmap reveals something odd - the first week of August has very few rides compared to any other week. While it's known people in NY tend to leave the city in August, this drop is odd. #+caption: Calendar heatmap of trips -[[file:assets/NYCtaxitripsNbrPlot.png]] +[[file:../assets/NYCtaxitripsNbrPlot.png]] Deciding to ignore August altogether, and zooming in on occupancy rate of the taxis rather than the absolute number or rides, reveals an interesting insight - people travel together far more in weekends and on public holidays! #+caption: Occupancy heatmap -[[file:assets/NYCtaxioccupancyPlot.png]] +[[file:../assets/NYCtaxioccupancyPlot.png]] Just looking at the calendar heatmap it's possible to determine 1 Jan 2013 was a Tuesday and point out Memorial Day as the last Monday of May, Labour day in September, Thanksgiving day and even Black Friday at the end of November, and of course the silly season at the end of the year!) diff --git a/posts/Perth_solar_exposure_over_year.org b/posts/Perth_solar_exposure_over_year.org index 7e282fc..a848628 100644 --- a/posts/Perth_solar_exposure_over_year.org +++ b/posts/Perth_solar_exposure_over_year.org @@ -19,7 +19,7 @@ available on our roofs throughout the year. #+caption: Perth solar exposure variation #+ATTR_HTML: :class img-fluid :alt Perth solar exposure variation -[[file:assets/solarExposure.png]] +[[file:../assets/solarExposure.png]] __Table:__ Average solar exposure per m2 in Kings Park, Perth Jan 2017 to Jun 2023. diff --git a/posts/Ronald_McDonald_House.org b/posts/Ronald_McDonald_House.org index c27355d..8521159 100644 --- a/posts/Ronald_McDonald_House.org +++ b/posts/Ronald_McDonald_House.org @@ -7,6 +7,6 @@ Synergy's Pricing and Portfolio team took the opportunity at the end of the year #+caption: Group picture with the house manager #+ATTR_HTML: :class img-fluid :alt Group picture with the house manager -[[file:assets/group-photo-RMDH.png]] +[[file:../assets/group-photo-RMDH.png]] We prepared lunch for the families and volunteers in the house, followed by a tour of the place by its manager. Hearing some of the stories about the children was heartbreaking and uplifting at the same time. During extremely demanding times for a family, both mentally and financially, the volunteers and the team at Ronald McDonald House do a great job in making life slightly easier for them. It was great to be able to contribute a little bit to that this Christmas period. diff --git a/posts/Setting_up_an_Analytics_Practice.org b/posts/Setting_up_an_Analytics_Practice.org index 96f6c54..ba57731 100644 --- a/posts/Setting_up_an_Analytics_Practice.org +++ b/posts/Setting_up_an_Analytics_Practice.org @@ -4,6 +4,6 @@ #+CAPTION: Mindmap on setting up analytics practice #+ATTR_HTML: :class img-fluid :alt Mindmap on setting up analytics practice -[[file:assets/Setting_up_an_analytics_practice.png]] +[[file:../assets/Setting_up_an_analytics_practice.png]] Ideas courtesy of Abhi Seth, Head of Data Science & Analytics at Honeywell Aerospace. diff --git a/posts/WA_roads_in_R_using_sf.org b/posts/WA_roads_in_R_using_sf.org index dd12d7f..03f954e 100644 --- a/posts/WA_roads_in_R_using_sf.org +++ b/posts/WA_roads_in_R_using_sf.org @@ -14,7 +14,7 @@ colour = "red") #+caption: Map of WA state roads #+ATTR_HTML: :class img-fluid :alt Map of WA state roads -[[file:assets/state-roads.png]] +[[file:../assets/state-roads.png]] Courtesy of the development version of ggplot2 - geom_sf is not yet available in the version on CRAN. diff --git a/posts/explore-AU-road-fatalities.org b/posts/explore-AU-road-fatalities.org index 29dfb0a..90945e7 100644 --- a/posts/explore-AU-road-fatalities.org +++ b/posts/explore-AU-road-fatalities.org @@ -22,13 +22,13 @@ differences noticeable between states? Or by gender? #+CAPTION: Overall trendline #+ATTR_HTML: :class img-fluid :alt Overall trendline -[[file:assets/explore-AU-road-fatalities_files/fatalitiesTrends-1.png]] +[[file:../assets/explore-AU-road-fatalities_files/fatalitiesTrends-1.png]] #+CAPTION: Trendlines by Australian state #+ATTR_HTML: :class img-fluid :alt Trendline by Australian state -[[file:assets/explore-AU-road-fatalities_files/fatalitiesTrends-2.png]] +[[file:../assets/explore-AU-road-fatalities_files/fatalitiesTrends-2.png]] #+CAPTION: Trendlines by gender #+ATTR_HTML: :class img-fluid :alt Trendlines by gender -[[file:assets/explore-AU-road-fatalities_files/fatalitiesTrends-3.png]] +[[file:../assets/explore-AU-road-fatalities_files/fatalitiesTrends-3.png]] ** What age group is most at risk in city traffic? :PROPERTIES: @@ -52,7 +52,7 @@ fatalities %>% #+CAPTION: histogram #+ATTR_HTLM: :class img-fluid :alt histogram -[[file:assets/explore-AU-road-fatalities_files/fatalities.cityTraffic-1.png]] +[[file:../assets/explore-AU-road-fatalities_files/fatalities.cityTraffic-1.png]] ** Hypothesis :PROPERTIES: @@ -76,10 +76,10 @@ To answer the question, I produce a density plot and a boxplot. #+CAPTION: densityplot #+ATTR_HTML: :class img-fluid :alt densityplot -[[file:assets/explore-AU-road-fatalities_files/fatalitiesSegmentation-1.png]] +[[file:../assets/explore-AU-road-fatalities_files/fatalitiesSegmentation-1.png]] #+CAPTION: boxplot #+ATTR_HTML: :class img-fluid :alt boxplot -[[file:assets/explore-AU-road-fatalities_files/fatalitiesSegmentation-2.png]] +[[file:../assets/explore-AU-road-fatalities_files/fatalitiesSegmentation-2.png]] Some further statistical analysis does confirm the hypothesis! @@ -139,4 +139,4 @@ yet considered in this quick look at the contents of the dataset. #+CAPTION: quantile-quantile plot #+ATTR_HTML: :class img-fluid :alt quantile-quantile plot -[[file:assets/explore-AU-road-fatalities_files/fatalitiesDistComp-1.png]] +[[file:../assets/explore-AU-road-fatalities_files/fatalitiesDistComp-1.png]] diff --git a/posts/facet_labels_in_R.org b/posts/facet_labels_in_R.org index f096158..609a8ee 100644 --- a/posts/facet_labels_in_R.org +++ b/posts/facet_labels_in_R.org @@ -30,4 +30,4 @@ ggplot(outputs, aes(x = date_var,y = value_var), alpha = 0.8) + Output: #+CAPTION: Example plot with 2 facets labelled Segment B and Segment A. #+ATTR_HTML: :class img-fluid :alt Example plot with 2 facets labelled Segment B and Segment A. -[[file:assets/2016-10-05_R-facet.png]] +[[file:../assets/2016-10-05_R-facet.png]] diff --git a/posts/fertile-summers.org b/posts/fertile-summers.org index 223ebeb..693a48b 100644 --- a/posts/fertile-summers.org +++ b/posts/fertile-summers.org @@ -9,7 +9,7 @@ under! #+CAPTION: seasonal subseries plot Australian births by month 1996-2014 #+ATTR_HTML: :class img-fluid :alt seasonal subseries plot Australian births by month 1996-2014 -[[file:assets/au-births-seasonal-subseries-plot.png]] +[[file:../assets/au-births-seasonal-subseries-plot.png]] In preparing the graph above (a "seasonal subseries plot"), I could not help but notice the spike in the numbers for each month around 2005. It diff --git a/posts/house_price_evolution.org b/posts/house_price_evolution.org index 5d2b0a0..418b02d 100644 --- a/posts/house_price_evolution.org +++ b/posts/house_price_evolution.org @@ -27,7 +27,7 @@ every 4 years. #+CAPTION: Table with evolution of house prices #+ATTR_HTML: :class img-fluid :alt Table with evolution of house prices -[[file:assets/house-price-evolution-table.png]] +[[file:../assets/house-price-evolution-table.png]] Of course, the AUD/EUR exchange rate needs to be taken into account as well. I've adjusted the prices using the weighted average monthly @@ -37,7 +37,7 @@ between the currencies of the 2 nations. #+CAPTION: Plot with evolution of house prices in EUR #+ATTR_HTML: :class img-fluid :alt Plot with evolution of house prices in EUR -[[file:assets/house-price-evolution-plot.png]] +[[file:../assets/house-price-evolution-plot.png]] Comparing the first 3 months of 2021 to the first 3 months of 2023, the relative price of an Australian residential dwelling has gone to 92% of diff --git a/posts/loans_and_semi_Markov_chains.org b/posts/loans_and_semi_Markov_chains.org index 08d801d..f1a8bdb 100644 --- a/posts/loans_and_semi_Markov_chains.org +++ b/posts/loans_and_semi_Markov_chains.org @@ -11,7 +11,7 @@ periods of time. #+CAPTION: Actual vs predicted loan vintage performance. #+ATTR_HTML: :width 400 :class img-fluid :alt Actual vs predicted loan vintage performance. -[[file:assets/rollRateBeware.png]] +[[file:../assets/rollRateBeware.png]] The solid lines are the result of applying an average transition matrix 6 times (the model's predicted outcome). The dashed lines are the actual diff --git a/posts/managing_data_science_work.org b/posts/managing_data_science_work.org index c6fd2f1..add1629 100644 --- a/posts/managing_data_science_work.org +++ b/posts/managing_data_science_work.org @@ -13,7 +13,7 @@ steps based on what's learned in the later steps. #+CAPTION: CRISP-DM #+ATTR_HTML: :class img-fluid :alt CRISP-DM -[[file:assets/crisp-dm-diagram.png]] +[[file:../assets/crisp-dm-diagram.png]] It doesn't put too great an emphasis on scheduling the activities, but focuses on the value creation. @@ -27,6 +27,6 @@ pitfall to skip the last step - deploying the model / acting. #+CAPTION: OODA loop ([[Image by Patrick Edwin Moran - Own work, CC BY 3.0|https://commons.wikimedia.org/w/index.php?curid=3904554]]) #+ATTR_HTML: :class img-fluid :alt OODA loop -[[file:assets/OODA-diagram.png]] +[[file:../assets/OODA-diagram.png]] diff --git a/posts/obtaining_SLIP_data_using_R.org b/posts/obtaining_SLIP_data_using_R.org index afd8261..1d20221 100644 --- a/posts/obtaining_SLIP_data_using_R.org +++ b/posts/obtaining_SLIP_data_using_R.org @@ -48,4 +48,4 @@ ranked by student numbers): #+CAPTION: Pupil density in Western Australian high schools #+ATTR_HTML: :class img-fluid :alt Pupil density in Western Australian high schools -[[file:assets/SLIP_WA_schools.png]] +[[file:../assets/SLIP_WA_schools.png]] diff --git a/posts/spatial_indexes_to_plot_income_per_postal_code_in_Australian_cities.org b/posts/spatial_indexes_to_plot_income_per_postal_code_in_Australian_cities.org index c12176c..07d7b38 100644 --- a/posts/spatial_indexes_to_plot_income_per_postal_code_in_Australian_cities.org +++ b/posts/spatial_indexes_to_plot_income_per_postal_code_in_Australian_cities.org @@ -23,7 +23,7 @@ key cities in a single image. #+CAPTION: Income distribution in major AU cities #+ATTR_HTML: :class img-fluid :alt Income distribution in major AU cities -[[file:assets/AUCitiesIncomeDistribution.gif]] +[[file:../assets/AUCitiesIncomeDistribution.gif]] The full code is available on my git server for you to clone using =git clone git://git.vanrenterghem.biz/R/project-au-taxstats.git=. diff --git a/posts/survival_analysis_in_fintech.org b/posts/survival_analysis_in_fintech.org index 18cad1e..4c5dd42 100644 --- a/posts/survival_analysis_in_fintech.org +++ b/posts/survival_analysis_in_fintech.org @@ -46,7 +46,7 @@ in what is known as a cumulative incidence curve. #+CAPTION: Survival/incidence curve and risk table #+ATTR_HTML :width 442 :class img-fluid :alt Survival/incidence curve and risk table -[[file:assets/surv-curve-risk-table.png]] +[[file:../assets/surv-curve-risk-table.png]] Underneath the plot, a risk table is added with no effort by adding =risk.table = TRUE= as parameter for =ggsurvplot=. -- 2.39.5