{
  "id": 58741,
  "title": "Are image features helping",
  "url": "/competitions/avito-demand-prediction/discussion/58741",
  "author_name": "",
  "post_date": "2018-06-13T07:40:31.365157100Z",
  "votes": 4,
  "comment_count": 19,
  "views": 0,
  "content": "<p>anyone?</p>",
  "messages": [
    {
      "id": "342262",
      "postDate": "06/13/2018 07:40:31",
      "content": "<p>anyone?</p>",
      "rawMarkdown": "anyone?",
      "votes": null
    },
    {
      "id": "342270",
      "postDate": "06/13/2018 07:49:16",
      "content": "<p>They help - at least for us. Not the simple ones like blurriness or average color but \"deeper\" ones. </p>",
      "rawMarkdown": "They help - at least for us. Not the simple ones like blurriness or average color but \"deeper\" ones.",
      "votes": null
    },
    {
      "id": "342274",
      "postDate": "06/13/2018 08:05:09",
      "content": "<p>Yep, I've got a boost in both XGB and LGB with simpler image features. </p>",
      "rawMarkdown": "Yep, I've got a boost in both XGB and LGB with simpler image features.",
      "votes": null
    },
    {
      "id": "342372",
      "postDate": "06/13/2018 11:57:31",
      "content": "<p>helping a lot</p>",
      "rawMarkdown": "helping a lot",
      "votes": null
    },
    {
      "id": "342469",
      "postDate": "06/13/2018 15:06:50",
      "content": "<p>I've got at least a 0.0012 boost from image features.</p>",
      "rawMarkdown": "I've got at least a 0.0012 boost from image features.",
      "votes": null
    },
    {
      "id": "342982",
      "postDate": "06/14/2018 13:31:19",
      "content": "<p>Interesting, I'm a newbie and I have the contradictory case. Simple ones like blurriness and average color give me small boost. </p>\n\n<p>On the other hand, I found advanced ones (like probability predicted by Resnet) make my model worse, even though they have a correlation with deal probability higher than some important features indicated by my model. </p>",
      "rawMarkdown": "Interesting, I'm a newbie and I have the contradictory case. Simple ones like blurriness and average color give me small boost. \n\nOn the other hand, I found advanced ones (like probability predicted by Resnet) make my model worse, even though they have a correlation with deal probability higher than some important features indicated by my model.",
      "votes": null
    },
    {
      "id": "343977",
      "postDate": "06/16/2018 16:27:32",
      "content": "<p>May ask you about what kinds of model you use get such improvements in NN or LGBM？And how you get them，use pretrained model or opencv</p>",
      "rawMarkdown": "May ask you about what kinds of model you use get such improvements in NN or LGBM？And how you get them，use pretrained model or opencv",
      "votes": null
    },
    {
      "id": "344059",
      "postDate": "06/16/2018 21:03:41",
      "content": "<p>As already said  ..simple image features may be helpful for LGBM  but not for NN.  </p>\n\n<p>Some deeper images features are definitely helpful. for NN </p>",
      "rawMarkdown": "As already said  ..simple image features may be helpful for LGBM  but not for NN.  \n\nSome deeper images features are definitely helpful. for NN",
      "votes": null
    },
    {
      "id": "344870",
      "postDate": "06/18/2018 20:22:47",
      "content": "<p>How are missing images in test set handled?</p>",
      "rawMarkdown": "How are missing images in test set handled?",
      "votes": null
    },
    {
      "id": "345529",
      "postDate": "06/20/2018 02:15:28",
      "content": "<p>The answer is yes as others have said. Image features gave me about 0.0012 improvement on my LGBM model and a 0.0003 with Catboost which uses fewer features. I have not run my XGB model with image features yet but expect it to make a difference there as well.</p>",
      "rawMarkdown": "The answer is yes as others have said. Image features gave me about 0.0012 improvement on my LGBM model and a 0.0003 with Catboost which uses fewer features. I have not run my XGB model with image features yet but expect it to make a difference there as well.",
      "votes": null
    },
    {
      "id": "346326",
      "postDate": "06/21/2018 14:11:40",
      "content": "<p>If you have features like \"blurriness\" with values between, let's say 0 and 100, just use a -1 for rows with missing images.</p>",
      "rawMarkdown": "If you have features like \"blurriness\" with values between, let's say 0 and 100, just use a -1 for rows with missing images.",
      "votes": null
    },
    {
      "id": "346376",
      "postDate": "06/21/2018 15:32:50",
      "content": "<p>I also have a similar case where Resnet etc. Class and Probability make my LGB model worse. Not sure why.</p>",
      "rawMarkdown": "I also have a similar case where Resnet etc. Class and Probability make my LGB model worse. Not sure why.",
      "votes": null
    },
    {
      "id": "346378",
      "postDate": "06/21/2018 15:34:37",
      "content": "<p>By features is it meta features ? Pretrained keras predictions or some dense activation values at the end of one of those pretrained models ? 0.0012 is quite a lot ! </p>",
      "rawMarkdown": "By features is it meta features ? Pretrained keras predictions or some dense activation values at the end of one of those pretrained models ? 0.0012 is quite a lot !",
      "votes": null
    },
    {
      "id": "346466",
      "postDate": "06/21/2018 18:20:19",
      "content": "<p>the basic ones like blur definitely help. we have also come up with similar/improved image features based on <a href=\"https://www.kaggle.com/shivamb/ideas-for-image-features-and-image-quality\">https://www.kaggle.com/shivamb/ideas-for-image-features-and-image-quality</a>.   but with my limited experience I failed to develop an pure NN based feature extraction method.</p>",
      "rawMarkdown": "the basic ones like blur definitely help. we have also come up with similar/improved image features based on https://www.kaggle.com/shivamb/ideas-for-image-features-and-image-quality.   but with my limited experience I failed to develop an pure NN based feature extraction method.",
      "votes": null
    },
    {
      "id": "346478",
      "postDate": "06/21/2018 18:49:38",
      "content": "<p>Both and both</p>",
      "rawMarkdown": "Both and both",
      "votes": null
    },
    {
      "id": "346479",
      "postDate": "06/21/2018 18:50:07",
      "content": "<p>Though the model's reactions to some of the image features can be a bit strange...</p>\n\n<p><img src=\"https://i.imgflip.com/2cnaz2.jpg\" alt=\"enter image description here\"></p>",
      "rawMarkdown": "Though the model's reactions to some of the image features can be a bit strange...\n\n![enter image description here][1]\n\n  [1]: https://i.imgflip.com/2cnaz2.jpg",
      "votes": null
    },
    {
      "id": "346527",
      "postDate": "06/21/2018 22:08:10",
      "content": "<p>Thanks @Arnaud Roussel. Yes it is a very good improvement. I have those features all along but had an error in my code which I found after all the +ve feedback about image features I have read here and in other threads. Once I fixed that I got the benefit.</p>\n\n<p>I asked the same question you are asking me and all people were willing to say is simple image features or nothing complicated. I will be honest and say, I will only share that information after the end of the competition if anyone wants to know.</p>\n\n<p>Happy Kaggling!</p>",
      "rawMarkdown": "Thanks @Arnaud Roussel. Yes it is a very good improvement. I have those features all along but had an error in my code which I found after all the +ve feedback about image features I have read here and in other threads. Once I fixed that I got the benefit.\n\nI asked the same question you are asking me and all people were willing to say is simple image features or nothing complicated. I will be honest and say, I will only share that information after the end of the competition if anyone wants to know.\n\nHappy Kaggling!",
      "votes": null
    },
    {
      "id": "346623",
      "postDate": "06/22/2018 04:11:50",
      "content": "<p>Found a way to make the predicted imagenet labels working. Guess your answer inspired me to look again :) Got a 0.0008 improvement in a first draft on a test GBM model for features. Need now to retrain a full GBM.</p>\n\n<p>Thanks !</p>",
      "rawMarkdown": "Found a way to make the predicted imagenet labels working. Guess your answer inspired me to look again :) Got a 0.0008 improvement in a first draft on a test GBM model for features. Need now to retrain a full GBM.\n\nThanks !",
      "votes": null
    },
    {
      "id": "346637",
      "postDate": "06/22/2018 04:37:50",
      "content": "<p>Thanks @Arnaud Roussel, I am glad you found a way. An upvote would be nice if you got inspired by my comment :-)</p>\n\n<p>I also got inspired by the kind of non-answer answers I got to look hard at my code and eventually found the bug.</p>\n\n<p>Good luck.</p>",
      "rawMarkdown": "Thanks @Arnaud Roussel, I am glad you found a way. An upvote would be nice if you got inspired by my comment :-)\n\nI also got inspired by the kind of non-answer answers I got to look hard at my code and eventually found the bug.\n\nGood luck.",
      "votes": null
    },
    {
      "id": "347241",
      "postDate": "06/23/2018 17:32:56",
      "content": "<p>Yes, it improved score for me:</p>\n\n<ul>\n<li>INet (VGG16/19, ResNet50, Xception, Inceptionv3)  score: Around 0.0002</li>\n<li><a href=\"https://github.com/titu1994/neural-image-assessment\">NIMA</a> (MobileNet, ResNet) score: Around 0.0003</li>\n<li>Basic statistics (RGB mean/std, width, height, width*height): Around 0.0003</li>\n</ul>",
      "rawMarkdown": "Yes, it improved score for me:\n\n - INet (VGG16/19, ResNet50, Xception, Inceptionv3)  score: Around 0.0002\n - [NIMA][1] (MobileNet, ResNet) score: Around 0.0003\n - Basic statistics (RGB mean/std, width, height, width*height): Around 0.0003\n\n\n  [1]: https://github.com/titu1994/neural-image-assessment",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 342270,
      "author_name": "christofhenkel",
      "author_url": "",
      "post_date": "06/13/2018 07:49:16",
      "content": "<p>They help - at least for us. Not the simple ones like blurriness or average color but \"deeper\" ones. </p>",
      "votes": null,
      "replies": [
        {
          "id": 342982,
          "author_name": "naivelamb",
          "author_url": "",
          "post_date": "06/14/2018 13:31:19",
          "content": "<p>Interesting, I'm a newbie and I have the contradictory case. Simple ones like blurriness and average color give me small boost. </p>\n\n<p>On the other hand, I found advanced ones (like probability predicted by Resnet) make my model worse, even though they have a correlation with deal probability higher than some important features indicated by my model. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 346376,
          "author_name": "arroqc",
          "author_url": "",
          "post_date": "06/21/2018 15:32:50",
          "content": "<p>I also have a similar case where Resnet etc. Class and Probability make my LGB model worse. Not sure why.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 342274,
      "author_name": "nuhsikander",
      "author_url": "",
      "post_date": "06/13/2018 08:05:09",
      "content": "<p>Yep, I've got a boost in both XGB and LGB with simpler image features. </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 342372,
      "author_name": "liuhdsgoal",
      "author_url": "",
      "post_date": "06/13/2018 11:57:31",
      "content": "<p>helping a lot</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 342469,
      "author_name": "peterhurford",
      "author_url": "",
      "post_date": "06/13/2018 15:06:50",
      "content": "<p>I've got at least a 0.0012 boost from image features.</p>",
      "votes": null,
      "replies": [
        {
          "id": 343977,
          "author_name": "sheboke93",
          "author_url": "",
          "post_date": "06/16/2018 16:27:32",
          "content": "<p>May ask you about what kinds of model you use get such improvements in NN or LGBM？And how you get them，use pretrained model or opencv</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 346478,
          "author_name": "peterhurford",
          "author_url": "",
          "post_date": "06/21/2018 18:49:38",
          "content": "<p>Both and both</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 344059,
      "author_name": "serigne",
      "author_url": "",
      "post_date": "06/16/2018 21:03:41",
      "content": "<p>As already said  ..simple image features may be helpful for LGBM  but not for NN.  </p>\n\n<p>Some deeper images features are definitely helpful. for NN </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 344870,
      "author_name": "rajeshbhat",
      "author_url": "",
      "post_date": "06/18/2018 20:22:47",
      "content": "<p>How are missing images in test set handled?</p>",
      "votes": null,
      "replies": [
        {
          "id": 346326,
          "author_name": "frankherfert",
          "author_url": "",
          "post_date": "06/21/2018 14:11:40",
          "content": "<p>If you have features like \"blurriness\" with values between, let's say 0 and 100, just use a -1 for rows with missing images.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 345529,
      "author_name": "sheriytm",
      "author_url": "",
      "post_date": "06/20/2018 02:15:28",
      "content": "<p>The answer is yes as others have said. Image features gave me about 0.0012 improvement on my LGBM model and a 0.0003 with Catboost which uses fewer features. I have not run my XGB model with image features yet but expect it to make a difference there as well.</p>",
      "votes": null,
      "replies": [
        {
          "id": 346378,
          "author_name": "arroqc",
          "author_url": "",
          "post_date": "06/21/2018 15:34:37",
          "content": "<p>By features is it meta features ? Pretrained keras predictions or some dense activation values at the end of one of those pretrained models ? 0.0012 is quite a lot ! </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 346527,
          "author_name": "sheriytm",
          "author_url": "",
          "post_date": "06/21/2018 22:08:10",
          "content": "<p>Thanks @Arnaud Roussel. Yes it is a very good improvement. I have those features all along but had an error in my code which I found after all the +ve feedback about image features I have read here and in other threads. Once I fixed that I got the benefit.</p>\n\n<p>I asked the same question you are asking me and all people were willing to say is simple image features or nothing complicated. I will be honest and say, I will only share that information after the end of the competition if anyone wants to know.</p>\n\n<p>Happy Kaggling!</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 346623,
          "author_name": "arroqc",
          "author_url": "",
          "post_date": "06/22/2018 04:11:50",
          "content": "<p>Found a way to make the predicted imagenet labels working. Guess your answer inspired me to look again :) Got a 0.0008 improvement in a first draft on a test GBM model for features. Need now to retrain a full GBM.</p>\n\n<p>Thanks !</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 346637,
          "author_name": "sheriytm",
          "author_url": "",
          "post_date": "06/22/2018 04:37:50",
          "content": "<p>Thanks @Arnaud Roussel, I am glad you found a way. An upvote would be nice if you got inspired by my comment :-)</p>\n\n<p>I also got inspired by the kind of non-answer answers I got to look hard at my code and eventually found the bug.</p>\n\n<p>Good luck.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 346466,
      "author_name": "yl1202",
      "author_url": "",
      "post_date": "06/21/2018 18:20:19",
      "content": "<p>the basic ones like blur definitely help. we have also come up with similar/improved image features based on <a href=\"https://www.kaggle.com/shivamb/ideas-for-image-features-and-image-quality\">https://www.kaggle.com/shivamb/ideas-for-image-features-and-image-quality</a>.   but with my limited experience I failed to develop an pure NN based feature extraction method.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 346479,
      "author_name": "peterhurford",
      "author_url": "",
      "post_date": "06/21/2018 18:50:07",
      "content": "<p>Though the model's reactions to some of the image features can be a bit strange...</p>\n\n<p><img src=\"https://i.imgflip.com/2cnaz2.jpg\" alt=\"enter image description here\"></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 347241,
      "author_name": "mpware",
      "author_url": "",
      "post_date": "06/23/2018 17:32:56",
      "content": "<p>Yes, it improved score for me:</p>\n\n<ul>\n<li>INet (VGG16/19, ResNet50, Xception, Inceptionv3)  score: Around 0.0002</li>\n<li><a href=\"https://github.com/titu1994/neural-image-assessment\">NIMA</a> (MobileNet, ResNet) score: Around 0.0003</li>\n<li>Basic statistics (RGB mean/std, width, height, width*height): Around 0.0003</li>\n</ul>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "342262": "anyone?",
    "342270": "They help - at least for us. Not the simple ones like blurriness or average color but \"deeper\" ones.",
    "342274": "Yep, I've got a boost in both XGB and LGB with simpler image features.",
    "342372": "helping a lot",
    "342469": "I've got at least a 0.0012 boost from image features.",
    "342982": "Interesting, I'm a newbie and I have the contradictory case. Simple ones like blurriness and average color give me small boost. \n\nOn the other hand, I found advanced ones (like probability predicted by Resnet) make my model worse, even though they have a correlation with deal probability higher than some important features indicated by my model.",
    "343977": "May ask you about what kinds of model you use get such improvements in NN or LGBM？And how you get them，use pretrained model or opencv",
    "344059": "As already said  ..simple image features may be helpful for LGBM  but not for NN.  \n\nSome deeper images features are definitely helpful. for NN",
    "344870": "How are missing images in test set handled?",
    "345529": "The answer is yes as others have said. Image features gave me about 0.0012 improvement on my LGBM model and a 0.0003 with Catboost which uses fewer features. I have not run my XGB model with image features yet but expect it to make a difference there as well.",
    "346326": "If you have features like \"blurriness\" with values between, let's say 0 and 100, just use a -1 for rows with missing images.",
    "346376": "I also have a similar case where Resnet etc. Class and Probability make my LGB model worse. Not sure why.",
    "346378": "By features is it meta features ? Pretrained keras predictions or some dense activation values at the end of one of those pretrained models ? 0.0012 is quite a lot !",
    "346466": "the basic ones like blur definitely help. we have also come up with similar/improved image features based on https://www.kaggle.com/shivamb/ideas-for-image-features-and-image-quality.   but with my limited experience I failed to develop an pure NN based feature extraction method.",
    "346478": "Both and both",
    "346479": "Though the model's reactions to some of the image features can be a bit strange...\n\n![enter image description here][1]\n\n  [1]: https://i.imgflip.com/2cnaz2.jpg",
    "346527": "Thanks @Arnaud Roussel. Yes it is a very good improvement. I have those features all along but had an error in my code which I found after all the +ve feedback about image features I have read here and in other threads. Once I fixed that I got the benefit.\n\nI asked the same question you are asking me and all people were willing to say is simple image features or nothing complicated. I will be honest and say, I will only share that information after the end of the competition if anyone wants to know.\n\nHappy Kaggling!",
    "346623": "Found a way to make the predicted imagenet labels working. Guess your answer inspired me to look again :) Got a 0.0008 improvement in a first draft on a test GBM model for features. Need now to retrain a full GBM.\n\nThanks !",
    "346637": "Thanks @Arnaud Roussel, I am glad you found a way. An upvote would be nice if you got inspired by my comment :-)\n\nI also got inspired by the kind of non-answer answers I got to look hard at my code and eventually found the bug.\n\nGood luck.",
    "347241": "Yes, it improved score for me:\n\n - INet (VGG16/19, ResNet50, Xception, Inceptionv3)  score: Around 0.0002\n - [NIMA][1] (MobileNet, ResNet) score: Around 0.0003\n - Basic statistics (RGB mean/std, width, height, width*height): Around 0.0003\n\n\n  [1]: https://github.com/titu1994/neural-image-assessment"
  },
  "source": "meta"
}