{
  "id": 360643,
  "title": "I have 3 notebooks but get the same score, it's weird~",
  "url": "/competitions/open-problems-multimodal/discussion/360643",
  "author_name": "",
  "post_date": "2022-10-17T15:12:12.765596300Z",
  "votes": 6,
  "comment_count": 15,
  "views": 0,
  "content": "<p>I forked notebook from <a href=\"https://www.kaggle.com/SSKKNT\" target=\"_blank\">@SSKKNT</a>(<a href=\"https://www.kaggle.com/code/sskknt/msci-citeseq-keras-quickstart-dropout/data)\" target=\"_blank\">https://www.kaggle.com/code/sskknt/msci-citeseq-keras-quickstart-dropout/data)</a>, and edited for 3 version of that, but get the same result, it's weird:</p>\n<p><a href=\"https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108250114\" target=\"_blank\">https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108250114</a><br>\n(just 1 change:   L2 - &gt; L1)</p>\n<p><a href=\"https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108326451\" target=\"_blank\">https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108326451</a><br>\n(1 more layer)</p>\n<p><a href=\"https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108339491\" target=\"_blank\">https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108339491</a><br>\n(cut 3 layers)</p>\n<p>It's incredible that all those 3 versions get exactly the same score: 0.810, even if I cut 3 layers. The same problem has happened to me in other comepetions, this is the first time I asked this question in the discussion zone, if it's inappropriate please notice me. ^^</p>",
  "messages": [
    {
      "id": "1992190",
      "postDate": "10/17/2022 15:12:12",
      "content": "<p>I forked notebook from <a href=\"https://www.kaggle.com/SSKKNT\" target=\"_blank\">@SSKKNT</a>(<a href=\"https://www.kaggle.com/code/sskknt/msci-citeseq-keras-quickstart-dropout/data)\" target=\"_blank\">https://www.kaggle.com/code/sskknt/msci-citeseq-keras-quickstart-dropout/data)</a>, and edited for 3 version of that, but get the same result, it's weird:</p>\n<p><a href=\"https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108250114\" target=\"_blank\">https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108250114</a><br>\n(just 1 change:   L2 - &gt; L1)</p>\n<p><a href=\"https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108326451\" target=\"_blank\">https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108326451</a><br>\n(1 more layer)</p>\n<p><a href=\"https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108339491\" target=\"_blank\">https://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108339491</a><br>\n(cut 3 layers)</p>\n<p>It's incredible that all those 3 versions get exactly the same score: 0.810, even if I cut 3 layers. The same problem has happened to me in other comepetions, this is the first time I asked this question in the discussion zone, if it's inappropriate please notice me. ^^</p>",
      "rawMarkdown": "I forked notebook from @SSKKNT(https://www.kaggle.com/code/sskknt/msci-citeseq-keras-quickstart-dropout/data), and edited for 3 version of that, but get the same result, it's weird:\n\nhttps://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108250114\n(just 1 change:   L2 - > L1)\n\nhttps://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108326451\n(1 more layer)\n\nhttps://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108339491\n(cut 3 layers)\n\nIt's incredible that all those 3 versions get exactly the same score: 0.810, even if I cut 3 layers. The same problem has happened to me in other comepetions, this is the first time I asked this question in the discussion zone, if it's inappropriate please notice me. ^^",
      "votes": null
    },
    {
      "id": "1992885",
      "postDate": "10/18/2022 02:00:27",
      "content": "<p>There are a huge number of entries with 0.810 score.  Given so many individual predicted values (&gt; 65M) and the use of average r-squared per row of data, small changes in predictions lead to very small changes in scores.  The rankings of all the 0.811 and 0.810 scores is coming down to digits much further to the right of the decimal.</p>\n<p>For your results, have you looked at the correlations of the predictions you have made?  I would bet that they are very highly correlated - &gt; 0.98 or 0.99.  If they are that close to each other, you won't be able to see the change in the 3 digit scores on the leaderboard.</p>",
      "rawMarkdown": "There are a huge number of entries with 0.810 score.  Given so many individual predicted values (> 65M) and the use of average r-squared per row of data, small changes in predictions lead to very small changes in scores.  The rankings of all the 0.811 and 0.810 scores is coming down to digits much further to the right of the decimal.\n\nFor your results, have you looked at the correlations of the predictions you have made?  I would bet that they are very highly correlated - > 0.98 or 0.99.  If they are that close to each other, you won't be able to see the change in the 3 digit scores on the leaderboard.",
      "votes": null
    },
    {
      "id": "1992925",
      "postDate": "10/18/2022 02:48:11",
      "content": "<p>Thank you much@kirkdco, I guess the correlations of the predictions should be as you bet, but for me it's incredible that I move 3 layers out of 5 layers of neural net work and got so small of a difference in  result. The notebook is forked from the popular one and I think the 5 layers should count as important.</p>",
      "rawMarkdown": "Thank you much@kirkdco, I guess the correlations of the predictions should be as you bet, but for me it's incredible that I move 3 layers out of 5 layers of neural net work and got so small of a difference in  result. The notebook is forked from the popular one and I think the 5 layers should count as important.",
      "votes": null
    },
    {
      "id": "1992996",
      "postDate": "10/18/2022 04:07:10",
      "content": "<p>I agree, that is surprising.  I would be interested to see how the correlations change between predictions, though.  It might be equally surprising.  8^D</p>",
      "rawMarkdown": "I agree, that is surprising.  I would be interested to see how the correlations change between predictions, though.  It might be equally surprising.  8^D",
      "votes": null
    },
    {
      "id": "1993084",
      "postDate": "10/18/2022 05:37:23",
      "content": "<p>I'm sorry I don't know how to do the correlation, but I download all 3 \"submission.csv\" results and compared them and found that they are not the same, which surprise me.</p>\n<p>At first I think they are the same, which mean kaggle has a problem. But now I don't think so.<br>\nThank you very much, your help make me get some progress.</p>",
      "rawMarkdown": "I'm sorry I don't know how to do the correlation, but I download all 3 \"submission.csv\" results and compared them and found that they are not the same, which surprise me.\n\nAt first I think they are the same, which mean kaggle has a problem. But now I don't think so.\nThank you very much, your help make me get some progress.",
      "votes": null
    },
    {
      "id": "1994265",
      "postDate": "10/18/2022 22:33:38",
      "content": "<p>Interesting.  It is hard to know what is going on there.</p>\n<p>Regarding correlations, if you have all the predictions as different columns in a dataframe (one column for each submission's predictions), you get a nice correlation matrix with this code:</p>\n<p>import pandas as pd</p>\n<p>preds_flat = pd.DataFrame('sub1': [predictions], 'sub2': [predictions], 'sub3': [predictions]) </p>\n<p>df_corr = preds_flat.corr()<br>\ndf_corr.style.background_gradient(cmap='coolwarm')</p>",
      "rawMarkdown": "Interesting.  It is hard to know what is going on there.\n\nRegarding correlations, if you have all the predictions as different columns in a dataframe (one column for each submission's predictions), you get a nice correlation matrix with this code:\n\nimport pandas as pd\n\npreds_flat = pd.DataFrame('sub1': [predictions], 'sub2': [predictions], 'sub3': [predictions]) \n\ndf_corr = preds_flat.corr()\ndf_corr.style.background_gradient(cmap='coolwarm')",
      "votes": null
    },
    {
      "id": "1995969",
      "postDate": "10/20/2022 01:29:05",
      "content": "<p>Thank you.<br>\nDo you mean that \"sub1\", \"sub2\", \"sub3\" are column title?<br>\nWould you please explain what should I replace \"predictions\" with?</p>\n<p>I'm sorry for late response, there is some issue with me recently.</p>",
      "rawMarkdown": "Thank you.\nDo you mean that \"sub1\", \"sub2\", \"sub3\" are column title?\nWould you please explain what should I replace \"predictions\" with?\n\nI'm sorry for late response, there is some issue with me recently.",
      "votes": null
    },
    {
      "id": "1996037",
      "postDate": "10/20/2022 03:23:44",
      "content": "<p>Yes, sub1, sub2, and sub3 would be the column names.  The [predictions] would be lists of the predicted values for each submission.  Then, each column would be the predictions from each of your submission files.  You can then get the correlations and see how's similar they are to each other.</p>\n<p>No apology necessary!  I hope you're issue resolves itself and you're doing well.</p>",
      "rawMarkdown": "Yes, sub1, sub2, and sub3 would be the column names.  The [predictions] would be lists of the predicted values for each submission.  Then, each column would be the predictions from each of your submission files.  You can then get the correlations and see how's similar they are to each other.\n\nNo apology necessary!  I hope you're issue resolves itself and you're doing well.",
      "votes": null
    },
    {
      "id": "1997577",
      "postDate": "10/21/2022 01:53:32",
      "content": "<p>Thanks, this is the result, and later I'll adjunct my code in case the operation of my coding is wrong:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2F9e8775357c83e30221d5883addf21fe0%2F2022-10-21%2009.52.45.png?generation=1666317209276535&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Thanks, this is the result, and later I'll adjunct my code in case the operation of my coding is wrong:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2F9e8775357c83e30221d5883addf21fe0%2F2022-10-21%2009.52.45.png?generation=1666317209276535&alt=media)",
      "votes": null
    },
    {
      "id": "1997578",
      "postDate": "10/21/2022 01:56:58",
      "content": "<p>This is my code:<br>\ntarget = pd.read_csv(\"/Users/leo/Downloads/submissionAll.csv\", index_col='row_id')<br>\ndf_corr = target.corr()<br>\ndf_corr.style.background_gradient(cmap='coolwarm')</p>\n<p>This is the snap shot of \"submissionAll.csv\":<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2Fe782cec9d2a09d8c6e3dfc02d18bc178%2F2022-10-21%2009.56.14.png?generation=1666317395963191&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "This is my code:\ntarget = pd.read_csv(\"/Users/leo/Downloads/submissionAll.csv\", index_col='row_id')\ndf_corr = target.corr()\ndf_corr.style.background_gradient(cmap='coolwarm')\n\nThis is the snap shot of \"submissionAll.csv\":\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2Fe782cec9d2a09d8c6e3dfc02d18bc178%2F2022-10-21%2009.56.14.png?generation=1666317395963191&alt=media)",
      "votes": null
    },
    {
      "id": "1997580",
      "postDate": "10/21/2022 02:00:46",
      "content": "<p>From the correlation matrix, it looks like your submissions are very closely related with correlation of ~0.96 between each pair of submissions.  Looking at the DataFrame, though, the submissions look identical, at least for the first 25 rows.  Would you expect the different submissions share the same predictions for these first rows?  Since the columns are not perfectly correlated, I would anticipate that some of the later rows are different between submissions.  Obviously, with 65,000,000+ rows, it is impossible to visually inspect them all.  😃</p>",
      "rawMarkdown": "From the correlation matrix, it looks like your submissions are very closely related with correlation of ~0.96 between each pair of submissions.  Looking at the DataFrame, though, the submissions look identical, at least for the first 25 rows.  Would you expect the different submissions share the same predictions for these first rows?  Since the columns are not perfectly correlated, I would anticipate that some of the later rows are different between submissions.  Obviously, with 65,000,000+ rows, it is impossible to visually inspect them all.  😃",
      "votes": null
    },
    {
      "id": "1997609",
      "postDate": "10/21/2022 03:37:46",
      "content": "<p>I don't expect the first rows are the same。 And the last rows are different^^.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2Fe2c41fa68a6670ea51f62ee412ad5351%2F2022-10-21%2011.37.12.png?generation=1666323460779612&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "I don't expect the first rows are the same。 And the last rows are different^^.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2Fe2c41fa68a6670ea51f62ee412ad5351%2F2022-10-21%2011.37.12.png?generation=1666323460779612&alt=media)",
      "votes": null
    },
    {
      "id": "2000700",
      "postDate": "10/23/2022 13:48:18",
      "content": "<p>They way the submission file is organized, the first 6 million+ rows are predictions for the CITE data and the last 59 million+ rows are for the Multiome data.  Is it possible that your submission files all use the same model for the CITE data and only have different models for the Multiome data?  </p>\n<p>Also, looking the last table you posted, I would bet that despite the values in different columns having different magnitudes, they columns are reasonably well correlated.  There are a number of values in the first column from -8.0 to -8.5.  In the second column, those same rows have values around -2.7 to -2.8 and in the third column the values are around -7.3 to -7.5.  While the magnitudes are different, the correlation may be fairly high.</p>",
      "rawMarkdown": "They way the submission file is organized, the first 6 million+ rows are predictions for the CITE data and the last 59 million+ rows are for the Multiome data.  Is it possible that your submission files all use the same model for the CITE data and only have different models for the Multiome data?  \n\nAlso, looking the last table you posted, I would bet that despite the values in different columns having different magnitudes, they columns are reasonably well correlated.  There are a number of values in the first column from -8.0 to -8.5.  In the second column, those same rows have values around -2.7 to -2.8 and in the third column the values are around -7.3 to -7.5.  While the magnitudes are different, the correlation may be fairly high.",
      "votes": null
    },
    {
      "id": "2000737",
      "postDate": "10/23/2022 14:09:09",
      "content": "<p>I typed in all the values in the table image you posted and looked that the correlations between those columns.  They all have correlations &gt; 0.999!  As I mentioned, despite the values being very different in magnitude between the columns, the correlation is still very high. </p>\n<p>Given that the first few rows are the same, I'm guessing the predictions for CITE are exactly the same for the full set of 6 million+ predictions.  The Multiome preditions look like they are also very highly correlated, based on this small sample.  This would explain why your different submissions have very similar scores on the leader board.  And, as you mentioned before, it is very surprising given the difference in the neural networks, but it suggests to me that the smaller networks are fully capturing all the necessary information to make the same predictions as the larger datasets.</p>\n<p>Here are some plots.  Notice the slightly different scales on the axes.  Columns 1 and 3 have a larger scale compared to column 2 - about 2X in most cases.</p>\n<p>Column 1 vs Column 2</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2F86923e5d7b0d5e9b8fef483da74c6b6a%2Fc1vc2.png?generation=1666533936178220&amp;alt=media\" alt=\"\"></p>\n<p>Column 1 vs Column 3</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2F43556163eb2244acfef0921427554dad%2Fc1vc3.png?generation=1666533958870965&amp;alt=media\" alt=\"\"> </p>\n<p>Column 2 vs Column 3</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2Faf304a8e36d621792c4bc652ad52edc7%2Fc2vc3.png?generation=1666533997518086&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "I typed in all the values in the table image you posted and looked that the correlations between those columns.  They all have correlations > 0.999!  As I mentioned, despite the values being very different in magnitude between the columns, the correlation is still very high. \n\nGiven that the first few rows are the same, I'm guessing the predictions for CITE are exactly the same for the full set of 6 million+ predictions.  The Multiome preditions look like they are also very highly correlated, based on this small sample.  This would explain why your different submissions have very similar scores on the leader board.  And, as you mentioned before, it is very surprising given the difference in the neural networks, but it suggests to me that the smaller networks are fully capturing all the necessary information to make the same predictions as the larger datasets.\n\nHere are some plots.  Notice the slightly different scales on the axes.  Columns 1 and 3 have a larger scale compared to column 2 - about 2X in most cases.\n\nColumn 1 vs Column 2\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2F86923e5d7b0d5e9b8fef483da74c6b6a%2Fc1vc2.png?generation=1666533936178220&alt=media)\n\nColumn 1 vs Column 3\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2F43556163eb2244acfef0921427554dad%2Fc1vc3.png?generation=1666533958870965&alt=media) \n\nColumn 2 vs Column 3\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2Faf304a8e36d621792c4bc652ad52edc7%2Fc2vc3.png?generation=1666533997518086&alt=media)",
      "votes": null
    },
    {
      "id": "2000776",
      "postDate": "10/23/2022 14:27:57",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/a6893676\" target=\"_blank\">@a6893676</a> , they have different scores, but the difference appears in the 4th and further decimals. In the leaderboard, we only see 3 decimals. At the end of the competition, more decimals will be revealed and you will be able to see the difference.</p>",
      "rawMarkdown": "Hi @a6893676 , they have different scores, but the difference appears in the 4th and further decimals. In the leaderboard, we only see 3 decimals. At the end of the competition, more decimals will be revealed and you will be able to see the difference.",
      "votes": null
    },
    {
      "id": "2012813",
      "postDate": "11/01/2022 12:51:27",
      "content": "<p>Yes, my submission files all use the same model for the CITE data and only have different models for the Multiome data. But still I think the results should be much more different.</p>",
      "rawMarkdown": "Yes, my submission files all use the same model for the CITE data and only have different models for the Multiome data. But still I think the results should be much more different.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1992885,
      "author_name": "kirkdco",
      "author_url": "",
      "post_date": "10/18/2022 02:00:27",
      "content": "<p>There are a huge number of entries with 0.810 score.  Given so many individual predicted values (&gt; 65M) and the use of average r-squared per row of data, small changes in predictions lead to very small changes in scores.  The rankings of all the 0.811 and 0.810 scores is coming down to digits much further to the right of the decimal.</p>\n<p>For your results, have you looked at the correlations of the predictions you have made?  I would bet that they are very highly correlated - &gt; 0.98 or 0.99.  If they are that close to each other, you won't be able to see the change in the 3 digit scores on the leaderboard.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1992925,
          "author_name": "a6893676",
          "author_url": "",
          "post_date": "10/18/2022 02:48:11",
          "content": "<p>Thank you much@kirkdco, I guess the correlations of the predictions should be as you bet, but for me it's incredible that I move 3 layers out of 5 layers of neural net work and got so small of a difference in  result. The notebook is forked from the popular one and I think the 5 layers should count as important.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1992996,
          "author_name": "kirkdco",
          "author_url": "",
          "post_date": "10/18/2022 04:07:10",
          "content": "<p>I agree, that is surprising.  I would be interested to see how the correlations change between predictions, though.  It might be equally surprising.  8^D</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1993084,
          "author_name": "a6893676",
          "author_url": "",
          "post_date": "10/18/2022 05:37:23",
          "content": "<p>I'm sorry I don't know how to do the correlation, but I download all 3 \"submission.csv\" results and compared them and found that they are not the same, which surprise me.</p>\n<p>At first I think they are the same, which mean kaggle has a problem. But now I don't think so.<br>\nThank you very much, your help make me get some progress.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1994265,
          "author_name": "kirkdco",
          "author_url": "",
          "post_date": "10/18/2022 22:33:38",
          "content": "<p>Interesting.  It is hard to know what is going on there.</p>\n<p>Regarding correlations, if you have all the predictions as different columns in a dataframe (one column for each submission's predictions), you get a nice correlation matrix with this code:</p>\n<p>import pandas as pd</p>\n<p>preds_flat = pd.DataFrame('sub1': [predictions], 'sub2': [predictions], 'sub3': [predictions]) </p>\n<p>df_corr = preds_flat.corr()<br>\ndf_corr.style.background_gradient(cmap='coolwarm')</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1995969,
          "author_name": "a6893676",
          "author_url": "",
          "post_date": "10/20/2022 01:29:05",
          "content": "<p>Thank you.<br>\nDo you mean that \"sub1\", \"sub2\", \"sub3\" are column title?<br>\nWould you please explain what should I replace \"predictions\" with?</p>\n<p>I'm sorry for late response, there is some issue with me recently.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1996037,
          "author_name": "kirkdco",
          "author_url": "",
          "post_date": "10/20/2022 03:23:44",
          "content": "<p>Yes, sub1, sub2, and sub3 would be the column names.  The [predictions] would be lists of the predicted values for each submission.  Then, each column would be the predictions from each of your submission files.  You can then get the correlations and see how's similar they are to each other.</p>\n<p>No apology necessary!  I hope you're issue resolves itself and you're doing well.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1997577,
          "author_name": "a6893676",
          "author_url": "",
          "post_date": "10/21/2022 01:53:32",
          "content": "<p>Thanks, this is the result, and later I'll adjunct my code in case the operation of my coding is wrong:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2F9e8775357c83e30221d5883addf21fe0%2F2022-10-21%2009.52.45.png?generation=1666317209276535&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1997578,
          "author_name": "a6893676",
          "author_url": "",
          "post_date": "10/21/2022 01:56:58",
          "content": "<p>This is my code:<br>\ntarget = pd.read_csv(\"/Users/leo/Downloads/submissionAll.csv\", index_col='row_id')<br>\ndf_corr = target.corr()<br>\ndf_corr.style.background_gradient(cmap='coolwarm')</p>\n<p>This is the snap shot of \"submissionAll.csv\":<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2Fe782cec9d2a09d8c6e3dfc02d18bc178%2F2022-10-21%2009.56.14.png?generation=1666317395963191&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1997580,
          "author_name": "kirkdco",
          "author_url": "",
          "post_date": "10/21/2022 02:00:46",
          "content": "<p>From the correlation matrix, it looks like your submissions are very closely related with correlation of ~0.96 between each pair of submissions.  Looking at the DataFrame, though, the submissions look identical, at least for the first 25 rows.  Would you expect the different submissions share the same predictions for these first rows?  Since the columns are not perfectly correlated, I would anticipate that some of the later rows are different between submissions.  Obviously, with 65,000,000+ rows, it is impossible to visually inspect them all.  😃</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1997609,
          "author_name": "a6893676",
          "author_url": "",
          "post_date": "10/21/2022 03:37:46",
          "content": "<p>I don't expect the first rows are the same。 And the last rows are different^^.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2Fe2c41fa68a6670ea51f62ee412ad5351%2F2022-10-21%2011.37.12.png?generation=1666323460779612&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 2000700,
          "author_name": "kirkdco",
          "author_url": "",
          "post_date": "10/23/2022 13:48:18",
          "content": "<p>They way the submission file is organized, the first 6 million+ rows are predictions for the CITE data and the last 59 million+ rows are for the Multiome data.  Is it possible that your submission files all use the same model for the CITE data and only have different models for the Multiome data?  </p>\n<p>Also, looking the last table you posted, I would bet that despite the values in different columns having different magnitudes, they columns are reasonably well correlated.  There are a number of values in the first column from -8.0 to -8.5.  In the second column, those same rows have values around -2.7 to -2.8 and in the third column the values are around -7.3 to -7.5.  While the magnitudes are different, the correlation may be fairly high.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 2000737,
          "author_name": "kirkdco",
          "author_url": "",
          "post_date": "10/23/2022 14:09:09",
          "content": "<p>I typed in all the values in the table image you posted and looked that the correlations between those columns.  They all have correlations &gt; 0.999!  As I mentioned, despite the values being very different in magnitude between the columns, the correlation is still very high. </p>\n<p>Given that the first few rows are the same, I'm guessing the predictions for CITE are exactly the same for the full set of 6 million+ predictions.  The Multiome preditions look like they are also very highly correlated, based on this small sample.  This would explain why your different submissions have very similar scores on the leader board.  And, as you mentioned before, it is very surprising given the difference in the neural networks, but it suggests to me that the smaller networks are fully capturing all the necessary information to make the same predictions as the larger datasets.</p>\n<p>Here are some plots.  Notice the slightly different scales on the axes.  Columns 1 and 3 have a larger scale compared to column 2 - about 2X in most cases.</p>\n<p>Column 1 vs Column 2</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2F86923e5d7b0d5e9b8fef483da74c6b6a%2Fc1vc2.png?generation=1666533936178220&amp;alt=media\" alt=\"\"></p>\n<p>Column 1 vs Column 3</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2F43556163eb2244acfef0921427554dad%2Fc1vc3.png?generation=1666533958870965&amp;alt=media\" alt=\"\"> </p>\n<p>Column 2 vs Column 3</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2Faf304a8e36d621792c4bc652ad52edc7%2Fc2vc3.png?generation=1666533997518086&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 2012813,
          "author_name": "a6893676",
          "author_url": "",
          "post_date": "11/01/2022 12:51:27",
          "content": "<p>Yes, my submission files all use the same model for the CITE data and only have different models for the Multiome data. But still I think the results should be much more different.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2000776,
      "author_name": "gehallak",
      "author_url": "",
      "post_date": "10/23/2022 14:27:57",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/a6893676\" target=\"_blank\">@a6893676</a> , they have different scores, but the difference appears in the 4th and further decimals. In the leaderboard, we only see 3 decimals. At the end of the competition, more decimals will be revealed and you will be able to see the difference.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1992190": "I forked notebook from @SSKKNT(https://www.kaggle.com/code/sskknt/msci-citeseq-keras-quickstart-dropout/data), and edited for 3 version of that, but get the same result, it's weird:\n\nhttps://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108250114\n(just 1 change:   L2 - > L1)\n\nhttps://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108326451\n(1 more layer)\n\nhttps://www.kaggle.com/code/a6893676/msci-citeseq-keras-quickstart-dropout?scriptVersionId=108339491\n(cut 3 layers)\n\nIt's incredible that all those 3 versions get exactly the same score: 0.810, even if I cut 3 layers. The same problem has happened to me in other comepetions, this is the first time I asked this question in the discussion zone, if it's inappropriate please notice me. ^^",
    "1992885": "There are a huge number of entries with 0.810 score.  Given so many individual predicted values (> 65M) and the use of average r-squared per row of data, small changes in predictions lead to very small changes in scores.  The rankings of all the 0.811 and 0.810 scores is coming down to digits much further to the right of the decimal.\n\nFor your results, have you looked at the correlations of the predictions you have made?  I would bet that they are very highly correlated - > 0.98 or 0.99.  If they are that close to each other, you won't be able to see the change in the 3 digit scores on the leaderboard.",
    "1992925": "Thank you much@kirkdco, I guess the correlations of the predictions should be as you bet, but for me it's incredible that I move 3 layers out of 5 layers of neural net work and got so small of a difference in  result. The notebook is forked from the popular one and I think the 5 layers should count as important.",
    "1992996": "I agree, that is surprising.  I would be interested to see how the correlations change between predictions, though.  It might be equally surprising.  8^D",
    "1993084": "I'm sorry I don't know how to do the correlation, but I download all 3 \"submission.csv\" results and compared them and found that they are not the same, which surprise me.\n\nAt first I think they are the same, which mean kaggle has a problem. But now I don't think so.\nThank you very much, your help make me get some progress.",
    "1994265": "Interesting.  It is hard to know what is going on there.\n\nRegarding correlations, if you have all the predictions as different columns in a dataframe (one column for each submission's predictions), you get a nice correlation matrix with this code:\n\nimport pandas as pd\n\npreds_flat = pd.DataFrame('sub1': [predictions], 'sub2': [predictions], 'sub3': [predictions]) \n\ndf_corr = preds_flat.corr()\ndf_corr.style.background_gradient(cmap='coolwarm')",
    "1995969": "Thank you.\nDo you mean that \"sub1\", \"sub2\", \"sub3\" are column title?\nWould you please explain what should I replace \"predictions\" with?\n\nI'm sorry for late response, there is some issue with me recently.",
    "1996037": "Yes, sub1, sub2, and sub3 would be the column names.  The [predictions] would be lists of the predicted values for each submission.  Then, each column would be the predictions from each of your submission files.  You can then get the correlations and see how's similar they are to each other.\n\nNo apology necessary!  I hope you're issue resolves itself and you're doing well.",
    "1997577": "Thanks, this is the result, and later I'll adjunct my code in case the operation of my coding is wrong:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2F9e8775357c83e30221d5883addf21fe0%2F2022-10-21%2009.52.45.png?generation=1666317209276535&alt=media)",
    "1997578": "This is my code:\ntarget = pd.read_csv(\"/Users/leo/Downloads/submissionAll.csv\", index_col='row_id')\ndf_corr = target.corr()\ndf_corr.style.background_gradient(cmap='coolwarm')\n\nThis is the snap shot of \"submissionAll.csv\":\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2Fe782cec9d2a09d8c6e3dfc02d18bc178%2F2022-10-21%2009.56.14.png?generation=1666317395963191&alt=media)",
    "1997580": "From the correlation matrix, it looks like your submissions are very closely related with correlation of ~0.96 between each pair of submissions.  Looking at the DataFrame, though, the submissions look identical, at least for the first 25 rows.  Would you expect the different submissions share the same predictions for these first rows?  Since the columns are not perfectly correlated, I would anticipate that some of the later rows are different between submissions.  Obviously, with 65,000,000+ rows, it is impossible to visually inspect them all.  😃",
    "1997609": "I don't expect the first rows are the same。 And the last rows are different^^.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1606228%2Fe2c41fa68a6670ea51f62ee412ad5351%2F2022-10-21%2011.37.12.png?generation=1666323460779612&alt=media)",
    "2000700": "They way the submission file is organized, the first 6 million+ rows are predictions for the CITE data and the last 59 million+ rows are for the Multiome data.  Is it possible that your submission files all use the same model for the CITE data and only have different models for the Multiome data?  \n\nAlso, looking the last table you posted, I would bet that despite the values in different columns having different magnitudes, they columns are reasonably well correlated.  There are a number of values in the first column from -8.0 to -8.5.  In the second column, those same rows have values around -2.7 to -2.8 and in the third column the values are around -7.3 to -7.5.  While the magnitudes are different, the correlation may be fairly high.",
    "2000737": "I typed in all the values in the table image you posted and looked that the correlations between those columns.  They all have correlations > 0.999!  As I mentioned, despite the values being very different in magnitude between the columns, the correlation is still very high. \n\nGiven that the first few rows are the same, I'm guessing the predictions for CITE are exactly the same for the full set of 6 million+ predictions.  The Multiome preditions look like they are also very highly correlated, based on this small sample.  This would explain why your different submissions have very similar scores on the leader board.  And, as you mentioned before, it is very surprising given the difference in the neural networks, but it suggests to me that the smaller networks are fully capturing all the necessary information to make the same predictions as the larger datasets.\n\nHere are some plots.  Notice the slightly different scales on the axes.  Columns 1 and 3 have a larger scale compared to column 2 - about 2X in most cases.\n\nColumn 1 vs Column 2\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2F86923e5d7b0d5e9b8fef483da74c6b6a%2Fc1vc2.png?generation=1666533936178220&alt=media)\n\nColumn 1 vs Column 3\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2F43556163eb2244acfef0921427554dad%2Fc1vc3.png?generation=1666533958870965&alt=media) \n\nColumn 2 vs Column 3\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F779570%2Faf304a8e36d621792c4bc652ad52edc7%2Fc2vc3.png?generation=1666533997518086&alt=media)",
    "2000776": "Hi @a6893676 , they have different scores, but the difference appears in the 4th and further decimals. In the leaderboard, we only see 3 decimals. At the end of the competition, more decimals will be revealed and you will be able to see the difference.",
    "2012813": "Yes, my submission files all use the same model for the CITE data and only have different models for the Multiome data. But still I think the results should be much more different."
  },
  "source": "meta"
}