<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:r="https://r-universe.dev"><channel><title>yanisvdc.r-universe.dev</title><link>https://yanisvdc.r-universe.dev</link><description>Recent package updates in yanisvdc</description><generator>R-universe</generator><image><url>https://github.com/yanisvdc.png</url><title>R packages by yanisvdc</title><link>https://yanisvdc.r-universe.dev</link></image><lastBuildDate>Thu, 15 May 2025 02:51:19 GMT</lastBuildDate><item><title>[yanisvdc] cramR 0.1.0</title><author>yanisvdc.ensae@gmail.com (Yanis Vandecasteele)</author><description>Performs the Cram method, a general and efficient approach
to simultaneous learning and evaluation using a generic machine
learning algorithm. In a single pass of batched data, the
proposed method repeatedly trains a machine learning algorithm
and tests its empirical performance. Because it utilizes the
entire sample for both learning and evaluation, cramming is
significantly more data-efficient than sample-splitting. Unlike
cross-validation, Cram evaluates the final learned model
directly, providing sharper inference aligned with real-world
deployment. The method naturally applies to both policy
learning and contextual bandits, where decisions are based on
individual features to maximize outcomes. The package includes
cram_policy() for learning and evaluating individualized binary
treatment rules, cram_ml() to train and assess the
population-level performance of machine learning models, and
cram_bandit() for on-policy evaluation of contextual bandit
algorithms. For all three functions, the package provides
estimates of the average outcome that would result if the model
were deployed, along with standard errors and confidence
intervals for these estimates. Details of the method are
described in Jia, Imai, and Li (2024)
&lt;https://www.hbs.edu/ris/Publication%20Files/2403.07031v1_a83462e0-145b-4675-99d5-9754aa65d786.pdf&gt;
and Jia et al. (2025) &lt;doi:10.48550/arXiv.2403.07031&gt;.</description><link>https://github.com/r-universe/yanisvdc/actions/runs/37611489127</link><pubDate>Thu, 15 May 2025 02:51:19 GMT</pubDate><r:package>cramR</r:package><r:version>0.1.0</r:version><r:status>success</r:status><r:repository>https://yanisvdc.r-universe.dev</r:repository><r:upstream>https://github.com/yanisvdc/cramr</r:upstream><r:article><r:source>cram_bandit.Rmd</r:source><r:filename>cram_bandit.html</r:filename><r:title>Cram Bandit</r:title><r:created>2025-03-27 06:23:48</r:created><r:modified>2025-04-29 14:52:57</r:modified></r:article><r:article><r:source>cram_bandit_helpers.Rmd</r:source><r:filename>cram_bandit_helpers.html</r:filename><r:title>Cram Bandit Helpers</r:title><r:created>2025-03-27 06:23:48</r:created><r:modified>2025-05-05 19:14:36</r:modified></r:article><r:article><r:source>cram_bandit_simulation.Rmd</r:source><r:filename>cram_bandit_simulation.html</r:filename><r:title>Cram Bandit Simulation</r:title><r:created>2025-03-27 06:23:48</r:created><r:modified>2025-05-11 18:54:22</r:modified></r:article><r:article><r:source>cram_ml.Rmd</r:source><r:filename>cram_ml.html</r:filename><r:title>Cram ML</r:title><r:created>2025-03-27 06:23:48</r:created><r:modified>2025-04-29 14:52:57</r:modified></r:article><r:article><r:source>cram_policy_part_2.Rmd</r:source><r:filename>cram_policy_part_2.html</r:filename><r:title>Cram Policy part 2</r:title><r:created>2025-04-21 04:06:49</r:created><r:modified>2025-04-29 14:52:57</r:modified></r:article><r:article><r:source>cram_policy_simulation.Rmd</r:source><r:filename>cram_policy_simulation.html</r:filename><r:title>Cram Policy Simulation</r:title><r:created>2025-03-27 06:23:48</r:created><r:modified>2025-04-29 14:52:57</r:modified></r:article><r:article><r:source>cram_policy_part_1.Rmd</r:source><r:filename>cram_policy_part_1.html</r:filename><r:title>Introduction &amp; Cram Policy part 1</r:title><r:created>2025-04-21 04:06:49</r:created><r:modified>2025-05-05 19:41:33</r:modified></r:article><r:article><r:source>quickstart.Rmd</r:source><r:filename>quickstart.html</r:filename><r:title>Quick Start with CRAM</r:title><r:created>2025-04-02 04:48:26</r:created><r:modified>2025-04-29 14:52:57</r:modified></r:article></item></channel></rss>