FairPAN — bringing fairness to neural networks

FairPAN — bringing fairness to neural networks Motivation With the ongoing development of XAI methods, we — data scientists have to take more and more responsibility for the behaviour of our models. It means that we should no longer care only about what are the results and the level of their accuracy, but also how are they obtained. It leads … Read more

Categories R Tags ExcerptFavorite

Maximum Likelihood Estimation (MLE) and the Fisher Information

Construction of the confidence interval for MLE The number of articles on Medium about MLE is enormous, from theory to implementation in different languages. About the Fisher information, there are also quite a few tutorials. However, the connection between the Fisher information and MLE is rarely mentioned. Therefore, I’d like to contribute one post on … Read more

2022 tidymodels user survey

[This article was first published on Blog – Applied Predictive Modeling, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. ShareTweet We are conducting another survey to see where … Read more

Categories R Tags ExcerptFavorite

A bug related to R factor

[This article was first published on One Tip Per Day, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Note a bug in my code today. Sometimes you need … Read more

Categories R Tags ExcerptFavorite

TidyModels or CARET – how they compare?

People have been telling me not to teach caret anymore, albeit I do teach TidyModels as well. Their argument is that TidyModels is new and shiny and we should be using the most up to date tools. I get this justification, but is caret really dead? My answer is “not by a long shot!“. Hats … Read more

Categories R Tags ExcerptFavorite

Deep Belief Networks and Autoencoders

[This article was first published on Methods – finnstats, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Deep Belief Networks (DBN) and Autoencoders, Let’s take a look at … Read more

Categories R Tags ExcerptFavorite

Running old versions of TeXlive with tinytex

[This article was first published on cynkra, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Rendering PDFs with rmarkdown requires a working LaTeX installation, such as tinytex. Occasionally, … Read more

Categories R Tags ExcerptFavorite

Agile in R: Appsilon Speakers at Agile By Example 2021

The Agile By Example conference is coming soon! Next week in October (11-13) will be the biggest Agile conference in Poland. To be agile in R is to be effective at software development. But there’s no one-size-fits-all recipe here because being Agile means focusing on the people in your team and how they function as … Read more

Categories R Tags ExcerptFavorite

Multi-Output Regression using Sklearn

[This article was first published on R – Hi! I am Nagdev, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Regression analysis is a process of building a … Read more

Categories R Tags ExcerptFavorite

‘Data analysis with tidyverse’ workshop

[This article was first published on Mirai Solutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Become professional at data analysis with tidyverse in R on October 27th! … Read more

Categories R Tags ExcerptFavorite

Replicating Plots: Oil Pathways with Radial Gradient

Intro Early last year I posted on my blog an attempt to recreate a Yahoo Finance graphic. Now, thanks to the work of Dr Paul Murrell on the grid and gggrid packages, I have the tools to polish this one off. Reference Article Here is a streamlined version of my earlier post, and the graphic … Read more

Categories R Tags ExcerptFavorite

{emayili} Message Precedence

[This article was first published on R – datawookie, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Sometimes you need to have a message delivered immediately. Other times … Read more

Categories R Tags ExcerptFavorite

Teaching a Biomedical Data Science Course Using RStudio Cloud

[This article was first published on RStudio Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. When teaching a course on biomedical data science, just the initial set … Read more

Categories R Tags ExcerptFavorite

R in Pharma works to allow an open inclusive environment

[This article was first published on R Consortium, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. R Consortium talks to Harvey Lieberman on their growth both pre and … Read more

Categories R Tags ExcerptFavorite

Restricted Boltzmann Machine (RBM)

[This article was first published on Methods – finnstats, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Restricted Boltzmann Machine is used to detect patterns in data, in … Read more

Categories R Tags ExcerptFavorite

COVID-19: The Incredible Shrinking Boost of the Booster Shot

With COVID-19 after the vaccination is before the vaccination. Now that most people in the developed countries have been vaccinated the question arises of how much boost is in the booster shot. We are here to help you understand the real power (or lack thereof) of the booster, so read on! Very recently a new … Read more

Categories R Tags ExcerptFavorite

{emayili} Message Integrity

[This article was first published on R – datawookie, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. How can you be sure that the contents of an email … Read more

Categories R Tags ExcerptFavorite

[maximin] geometric climbing

[This article was first published on R – Xi’an’s Og, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. A puzzle from The Riddler this week returning to the … Read more

Categories R Tags ExcerptFavorite

R-bloggers.com is moving to send daily/weekly update e-mails via a self-hosted solution (instead of follow.it)

As of now, daily/weekly e-mail updates from R-bloggers are available via a new self-hosted solution service – without any ads, and including a table of contents at the top of the email. Please click here to subscribe and get your daily/weekly email updates on new R news and tutorials. In the coming week or so, … Read more

Categories R Tags ExcerptFavorite

R Hispano talks about the growth of local groups

[This article was first published on R Consortium, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. During the pandemic, we have seen a lot of growth within the … Read more

Categories R Tags ExcerptFavorite

Introduction to Recurrent Neural Networks

[This article was first published on Methods – finnstats, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Recurrent Neural Networks, This is a follow-up to one of our … Read more

Categories R Tags ExcerptFavorite

pins 1.0.0

[This article was first published on RStudio Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. I’m delighted to announce that pins 1.0.0 is now available on CRAN. … Read more

Categories R Tags ExcerptFavorite

Multiple linear regression made simple

Remember that descriptive statistics is a branch of statistics that allows to describe your data at hand. Inferential statistics (with the popular hypothesis tests and confidence intervals) is another branch of statistics that allows to make inferences, that is, to draw conclusions about a population based on a sample. The last branch of statistics is … Read more

Categories R Tags ExcerptFavorite

The ‘Engineering Production-Grade Shiny Apps’ book is available in print!

[This article was first published on Colin Fay, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. I’m so, so excited to announce that the ‘Engineering Production-Grade Shiny Apps’ … Read more

Categories R Tags ExcerptFavorite

Working with Fairly Wide Data

[This article was first published on R – datawookie, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. The concept of “wide data” is relative. In some domains 100 … Read more

Categories R Tags ExcerptFavorite

Replicating Plots: Oil Pathways Part 2

Intro Early last year I posted on my blog an attempt to recreate a Yahoo Finance graphic. Now, thanks to the work of Dr Paul Murrell on the grid and gggrid packages, I have the tools to polish this one off. Reference Article Here is a streamlined version of my earlier post, and the graphic … Read more

Categories R Tags ExcerptFavorite

Working with Really Wide Data

[This article was first published on R – datawookie, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. The concept of “wide data” is relative. In some domains 100 … Read more

Categories R Tags ExcerptFavorite

Novel Algebraic Approaches to Maximum Likelihood Estimation

[This article was first published on YoungStatS, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Novel Algebraic Approaches to Maximum Likelihood Estimation The seventh “One World webinar” organized … Read more

Categories R Tags ExcerptFavorite

Regression Splines in R and Python

The linear model is named so because of the linear relationship between the input (independent variable) and the output (dependent variable). Even though we know it’s of a high probability that the real-world data shows nonlinearity, people usually keep regarding the linear model as one of the top choices. The reasons for that are mainly … Read more

Visualizing trees with Sklearn

[This article was first published on R – Hi! I am Nagdev, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Tree-based models are probably the second easiest ML … Read more

Categories R Tags ExcerptFavorite

Does neighbourhood trapping work?

And how can you tell? New Zealand tui in an Australian bottlebrush. Photo by the author. At least once a week, and often more frequently, many New Zealanders work their neighbourhood trapping lines. This involves visiting a series of traps set for rodents, hedgehogs, mustelids, or possums to see if there are any new kills. … Read more

Using Java functions from JAR file in R using rJava

#========================================================# # Quantitative ALM, Financial Econometrics & Derivatives  # ML/DL using R, Python, Tensorflow by Sang-Heon Lee  # # https://kiandlee.blogspot.com #——————————————————–# # Call Java function in jar file from R #========================================================# graphics.off()  # clear all graphs rm(list = ls()) # remove all files from your workspace library(rJava) .jinit()        # JVM start .jclassPath()   # get default class path #————————————————– # 1) Add directory in which *.jar file is located #————————————————– .jaddClassPath(“D:/SHLEE/sh_jar/aObba.jar”) .jclassPath()   # get class path with added path #————————————————– # 2) Instantiate a class object which we will use #————————————————– # rule : packagename.classname should be used #————————————————– Obba1 – .jnew(“aObba.CObba”) #————————————————– # 3) Call Java functions in the class object #————————————————– #    “D” : double #   “[D” : double [] # “[D[D” : double [][] #————————————————– .jcall(Obba1, “D”, “func1”, 5) .jcall(Obba1, “D”, “func1”, 5.5) .jcall(Obba1, “D”, “func2”, 4, 5) .jcall(Obba1, “D”, “func2”, 4.4, 5.5) # In case of double array input,  # “as.double” should be used .jcall(Obba1, “[D”,“func3”,         as.double(1:5+0.01), as.double(11:15+0.02)) Favorite

Categories R Tags ExcerptFavorite

September 2021 ISC Call for Proposals – Now Open!

[This article was first published on R Consortium, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. The deadline for submitting proposals is October 31, 2021. The September 2021 … Read more

Categories R Tags ExcerptFavorite

Crash Course in R Model Deployment with Docker and friends

I have put together a complete guide to model training, docker file creation and then consuming your API in R. This has arisen as part of a workshop the NHS-R community are doing around R in Production: show and tell, but instead of just making it local, I thought I would open up my part … Read more

Categories R Tags ExcerptFavorite

OASIS UI technical updates

[This article was first published on Mirai Solutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Mirai Solutions stays engaged in the development and maintenance of the front-end … Read more

Categories R Tags ExcerptFavorite

Introduction to Deep Learning

[This article was first published on Methods – finnstats, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Introduction to deep learning, This is a follow-up to one of … Read more

Categories R Tags ExcerptFavorite

A Simple Two-Stage Stochastic Linear Programming using R

#========================================================# # Quantitative ALM, Financial Econometrics & Derivatives  # ML/DL using R, Python, Tensorflow by Sang-Heon Lee  # # https://kiandlee.blogspot.com #——————————————————–# # A simple two-stage stochastic linear programming # for a simple Asset/Liability CF Matching problem #========================================================# graphics.off()  # clear all graphs rm(list = ls()) # remove all files from your workspace library(ROI) library(ROI.plugin.lpsolve) # Gross Interest Rates Scenario # Xi:the line of credit, Yi:CP 90d, Zi:excess funds # 1st stage, 2nd stage Rx0 = 1+0.12/12; Rx1 = 1+0.15/12; Rx2 = 1+0.05/12 Ry0 = 1+0.08/4;  Ry1 = 1+0.20/4;  Ry2 = 1+0.10/4 Rz0 = 1+0.036/12;Rz1 = 1+0.05/12; Rz2 = 1+0.02/12 # decision variables (25) # 1st stage # –> x01, y01, z01 # # 2nd stage # –> x12,x13,x14,x15, y12,y13, z12,z13,z14,z15, v1 #     x22,x23,x24,x25, y22,y23, z22,z23,z24,z25, v2 # x01,12,13,14,15,22,23,24,25, y01,12,13,22,23,  # z01,12,13,14,15,22,23,24,25, v1,2 # Left hand side matrix v.LHS – c(    1,0,0,0,0,0,0,0,0,    1,0,0,0,0,   –1,0,0,0,0,0,0,0,0, 0,0,    –Rx0,1,0,0,0,0,0,0,0,    0,1,0,0,0, Rz0,–1,0,0,0,0,0,0,0, 0,0,  0,–Rx1,1,0,0,0,0,0,0,    0,0,1,0,0, 0,Rz1,–1,0,0,0,0,0,0, 0,0,  0,0,–Rx1,1,0,0,0,0,0, –Ry0,0,0,0,0, 0,0,Rz1,–1,0,0,0,0,0, 0,0,  0,0,0,–Rx1,1,0,0,0,0, 0,–Ry1,0,0,0, 0,0,0,Rz1,–1,0,0,0,0, 0,0,  0,0,0,0,–Rx1,0,0,0,0, 0,0,–Ry1,0,0, 0,0,0,0,Rz1, 0,0,0,0,–1,0, –Rx0,0,0,0,0,1,0,0,0,    0,0,0,1,0, Rz0,0,0,0,0,–1,0,0,0, 0,0,  0,0,0,0,0,–Rx2,1,0,0,    0,0,0,0,1, 0,0,0,0,0,Rz2,–1,0,0, 0,0,  0,0,0,0,0,0,–Rx2,1,0, –Ry0,0,0,0,0, 0,0,0,0,0,0,Rz2,–1,0, 0,0,  0,0,0,0,0,0,0,–Rx2,1, 0,0,0,–Ry2,0, 0,0,0,0,0,0,0,Rz2,–1, 0,0,  0,0,0,0,0,0,0,0,–Rx2, 0,0,0,0,–Ry2, 0,0,0,0,0,0,0,0, Rz2, 0,–1 ) m.LHS – matrix(v.LHS, nrow = 11, byrow = TRUE) # 0.5*v1+0.5*v2 is the objective function lp_obj – L_objective(c(rep(0,23), 0.5, 0.5)) # LHS * X = RHS lp_con – L_constraint(     L   = m.LHS,      dir = rep(“==”, 11),     rhs = c(150, 100, –200, 200, –50, –300,                  100, –200, 200, –50, –300)) # Lower & Upper bounds for decision variables lp_bound – V_bound(     li=1:25, ui=1:25, lb=rep(0,25),  … Read more

Categories R Tags ExcerptFavorite

mlr3 package updates – Q3/2021

[This article was first published on Machine Learning in R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Due to the high amount of packages in the mlr3 … Read more

Categories R Tags ExcerptFavorite

error: JAVA_HOME cannot be determined from the Registry

[This article was first published on Methods – finnstats, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. error: JAVA_HOME cannot be determined from the Registry, This error notice … Read more

Categories R Tags ExcerptFavorite

Competition to win free training closes today

To celebrate EARL taking place this September we launched a competition to win a free online training course and the competition closes today at midnight – Submit your competition entry here. You have the chance to win a 2-day training course for you and up to 9 other attendees from your company. The winner can … Read more

Categories R Tags ExcerptFavorite

Solving Einstein’s Puzzle with Constraint Programming

The following puzzle is a well-known meme in social networks. It is said to have been invented by young Einstein and back in the days I was ambitious enough to solve it by hand (you should try too!). Yet, even simpler is to use Constraint Programming (CP). An excellent choice for doing that is MiniZinc, … Read more

Categories R Tags ExcerptFavorite

An RStudio Table Contest for 2021

[This article was first published on RStudio Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. We love tables here at RStudio. They serve as a fantastic means … Read more

Categories R Tags ExcerptFavorite

Advancements in Symbolic Data Analysis

[This article was first published on YoungStatS, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Advancements in Symbolic Data Analysis The sixth “One World webinar” organized by YoungStatS … Read more

Categories R Tags ExcerptFavorite

rOpenSci News Digest, September 2021

Dear rOpenSci friends, it’s time for our monthly news roundup! You can read this post on our blog. Now let’s dive into the activity at and around rOpenSci! 🔗 rOpenSci HQ A first package was submitted to rOpenSci Statistical Software Peer Review, two months after its opening: the tsbox package by Christoph Sax. We are … Read more

Categories R Tags ExcerptFavorite

Optimal disclosure risk assessment

[This article was first published on YoungStatS, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Protection against disclosure is a legal and ethical obligation for agencies releasing microdata … Read more

Categories R Tags ExcerptFavorite

Advances in Difference-in-Differences in Econometrics

[This article was first published on YoungStatS, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Advances in Difference-in-Differences in Econometrics The eighth “One World webinar” organized by YoungStatS … Read more

Categories R Tags ExcerptFavorite

Using bootstrapped sampling to assess variability in score predictions

[This article was first published on R’tichoke, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. When building risk scorecards, apart from the variety of performance metrics, analysts also … Read more

Categories R Tags ExcerptFavorite