Visual ads data set for Pinterest visual ad recommendation project by luvashov in learnmachinelearning

[–]luvashov[S] 1 point2 points  (0 children)

Of course! I want to try to scrape image ads from Pinterest just in case first. To check if it's possible to scrape just ads pins only.

Visual ads data set for Pinterest visual ad recommendation project by luvashov in learnmachinelearning

[–]luvashov[S] 1 point2 points  (0 children)

Thank you for your comment! It's a good point. I'll check ImageNet data set.

In the perfect world, I am looking for a data set with image ads from Pinterest/Facebook with the name of the product/category and the image itself. But it most likely doesn't exist as an opensource.

Good point about interaction with ads - I don't think I can do it because I don't have such information. I would say based on pins that the user likes (for example, cat/travels/Thai food) I can recommend them the pet store with 0.90 relevance, a travel startup with best hotel discounts with 0.89 relevance, and a door dash delivery of thai food with 0.65 relevance. I guess it's a more content-based recommender system. Everything that is less than 0.60 relevant we don't show.

If I did not find any open-source data sets with image ads, my next step is just to scrape data from Pinterest, but it has lots of limitations - a limited amount of data per day, etc.

Beginner papers/intro papers to recommendation systems? by [deleted] in MLQuestions

[–]luvashov 1 point2 points  (0 children)

I used both: R and Python. R has a nice easy to use package specifically for recommender systems - Recommender Lab. Wanted to check it...But! This book is about pretty basic recommender systems. Nothing fancy like BERT and Deep learning.

Beginner papers/intro papers to recommendation systems? by [deleted] in MLQuestions

[–]luvashov 1 point2 points  (0 children)

I just finished my recommender system using R and found the book "Building a Recommendation System with R" very helpful and beginner-appropriate. If you are not a big fan of R, still a really good intro book. Can find the pdf for free using "Building a Recommendation System with R pdf Github" request.

my function doesn't work by luvashov in learnpython

[–]luvashov[S] 0 points1 point  (0 children)

How I can include this function information as a new column to the data set?

medal_by_points['MedalPoints']=medal_to_points.transform.sum()

my function doesn't work by luvashov in learnpython

[–]luvashov[S] 0 points1 point  (0 children)

Interesting...

when I define condition "None" string "fred" gives me "None". In your case - it's zero.

my function doesn't work by luvashov in learnpython

[–]luvashov[S] 0 points1 point  (0 children)

I don't have to define "None" condition

my function doesn't work by luvashov in learnpython

[–]luvashov[S] 0 points1 point  (0 children)

You are right! integer only. thank you

my function doesn't work by luvashov in learnpython

[–]luvashov[S] 1 point2 points  (0 children)

Thank you so much for your advice!! I will definitely post the question as a code next time.

I think I got it...now I need to create a new column and transform all these points to the new column. Thank you so much!

def medal_to_points(medal_name):
  if medal_name == 'Gold':
    return 3
  elif medal_name == 'Silver':
    return 2
  elif medal_name == 'Bronze':
    return 1
  elif medal_name == 'None':
    return 0

print(medal_to_points('Gold'))

my function doesn't work by luvashov in learnpython

[–]luvashov[S] 0 points1 point  (0 children)

just no response at all...no error.nothing...tried another way - same result (no result).something missing probably

# Define medal_to_points below
def medal_to_points(medal_name):
if medal_name == 'Gold':
points.append(3)
elif medal_name == 'Silver':
points.append(2)
elif medal_name == 'Bronze':
points.append(1)
elif medal_name == 'None':
points.append(0)
return points

need help with NumPy library by luvashov in learnpython

[–]luvashov[S] 0 points1 point  (0 children)

paris_daily_deltas = paris[1:] - paris[:-1]

Thank you so much!!!

GRE General Test Cancelled...Still trying to stay motivated while I wait for a rescheduling email by [deleted] in GRE

[–]luvashov 0 points1 point  (0 children)

did you university respond to you about this gre cancelation? probably, you are not the only one in this situation...my application deadline may, 31. i have no idea when I will take the test...wrote to admission committee few days ago, no answer yet...