# Post Processing

**URL:** <https://community.drivendata.org/t/post-processing/7559>\
**Category:** Mars Spectrometry\
**Created:** [March 24, 2022, 4:11pm UTC](https://community.drivendata.org/t/post-processing/7559 "2022-03-24T16:11:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![devnikhilmishra](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@devnikhilmishra](https://community.drivendata.org/u/devnikhilmishra)\
**Post date:** [March 24, 2022, 4:11pm UTC](https://community.drivendata.org/t/post-processing/7559/1 "2022-03-24T16:11:27Z")

</div>

Is post-processing of model predictions allowed ? Especially a metric like log loss leaves much scope for post processing, so just wanted to confirm if it breaks any rules.

---

<div class="post-metadata">

**Author:** ![jayqi](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.drivendata.org/jayqi/32/924_2.png) [@jayqi](https://community.drivendata.org/u/jayqi)\
**Post date:** [March 25, 2022, 1:47pm UTC](https://community.drivendata.org/t/post-processing/7559/2 "2022-03-25T13:47:24Z")

</div>

Hi @devnikhilmishra, post-processing is allowed but must be compliant with the rule about processing test set observations independently. From the [rules page](https://www.drivendata.org/competitions/93/nasa-mars-spectrometry/rules/):

> Unless otherwise specified on the Competition Website, for the purposes of quantitative evaluation of Submissions, Participants agree to process each test data sample independently without the use of information from other cases in the test set. By default, this precludes using information gathered across multiple test samples during training, for instance through pseudo labeling. Eligible Submissions and models must be able to run inference on new test data automatically, without retraining the model.

So, for example, if you are doing calibration on the test data, you _can_ use a calibration function that is fitted on the training and validation data. You _should not_ use a calibration function that is fitted on the test data.

---

<div class="post-metadata">

**Author:** ![Loki\_K](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@Loki\_K](https://community.drivendata.org/u/Loki_K)\
**Post date:** [April 1, 2022, 4:06am UTC](https://community.drivendata.org/t/post-processing/7559/3 "2022-04-01T04:06:19Z")

</div>

So can’t we use techniques like pseudo labeling?

---

<div class="post-metadata">

**Author:** ![jayqi](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.drivendata.org/jayqi/32/924_2.png) [@jayqi](https://community.drivendata.org/u/jayqi)\
**Post date:** [April 1, 2022, 2:49pm UTC](https://community.drivendata.org/t/post-processing/7559/4 "2022-04-01T14:49:18Z")

</div>

@Loki_K Per the rules that I quoted above, you are not allowed to use pseudo-labeling that involves training on any test set data. Your model should not be fit on any test set data.
