Jump to content


Photo

Ever thought about (ML.Net) Machine Learning Media Recommendations?


  • Please log in to reply
30 replies to this topic

#21 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3633 posts
  • Local time: 02:46 AM
  • LocationPeterborough, Canada

Posted 26 March 2019 - 02:17 PM

Hi Chef

This is cool stuff. :)

This may be a stupid question but how do I mark something as Liked? or Unliked for that matter. I can make something a Favorite but that is a whole other thing.

I think that we used to be able to do that

-vicpa


Hey Vicpa! Horray another volunteer!

Just go through your emby library and Mark the "heart" icon.

Whatever you mark as "liked/favorite" in the Emby library is what we use for the dataset.

Then run the survey app above and PM me the CSV!

Judging by the amount of volunteers, I have a feeling it's going to take a while to put together a dataset. But I'm hopeful!

#22 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3633 posts
  • Local time: 02:46 AM
  • LocationPeterborough, Canada

Posted 27 March 2019 - 08:55 AM

We'll the more I read about machine learning the more I am convinced that this is a worth while project.

I think inorder to make this work, a plug-in for emby should be created to take the survey.

This would make people feel better about submitting results. Not running a exe on their machine.

So I'll build a plug-in.

Edited by chef, 27 March 2019 - 08:55 AM.

  • aspdend, Spaceboy, horstepipe and 1 other like this

#23 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3633 posts
  • Local time: 02:46 AM
  • LocationPeterborough, Canada

Posted 27 March 2019 - 09:06 PM

In the meantime I have created the beginning of a dataset for my home automation. I wonder how long it would take for a neural network to learn my families routine?

I wonder if a light will turn on one day when I walk into a room?

Or the TV will just turn on and log into emby theater on my Xbox when I sit down on the couch.

Well... I'm excited to find out! LOL

#24 PenkethBoy OFFLINE  

PenkethBoy

    Advanced Member

  • Members
  • 3150 posts
  • Local time: 07:46 AM
  • LocationWarrington,UK

Posted 28 March 2019 - 05:21 AM

Lol - that would more than likely freak you out

 

"Morning Chef, what do you want to watch on Emby today?"

 

"Maybe something based on those weird favourite choices you keep feeding me?"

 

:)


  • Spaceboy likes this

#25 horstepipe OFFLINE  

horstepipe

    Advanced Member

  • Members
  • 1403 posts
  • Local time: 08:46 AM

Posted 28 March 2019 - 05:32 AM

We'll the more I read about machine learning the more I am convinced that this is a worth while project.
I think inorder to make this work, a plug-in for emby should be created to take the survey.
This would make people feel better about submitting results. Not running a exe on their machine.
So I'll build a plug-in.


Hey chef,

Will the plugin allow an opt-in for every Emby user or will it simply collect data of all users?


Is there a way to like a movie with Emby for Kodi? @Angelblue05

#26 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3633 posts
  • Local time: 02:46 AM
  • LocationPeterborough, Canada

Posted 28 March 2019 - 07:29 AM

Hey chef,

Will the plugin allow an opt-in for every Emby user or will it simply collect data of all users?


Is there a way to like a movie with Emby for Kodi? @Angelblue05


Sure, we could have the admin choose users to opt in.

Because it would be a server plugin, it would gather favorite from all clients, yes.
  • horstepipe likes this

#27 horstepipe OFFLINE  

horstepipe

    Advanced Member

  • Members
  • 1403 posts
  • Local time: 08:46 AM

Posted 28 March 2019 - 08:01 AM

Perfect,
getting this to work would be a real game changer.
I‘m really excited about it!

Thanks for your effort!

#28 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3633 posts
  • Local time: 02:46 AM
  • LocationPeterborough, Canada

Posted 01 April 2019 - 10:11 PM

I've spent the last week learning quiet a bit of ML.Net and what it offers. It's quite powerful. But, the Classifiers/Models are only as powerful as the dataset they consume.

That said, as cool as it would be to teach an algorithm to recommend media through emby, the task itself is massive.

The dataset would have to contain a world of media items, with just as much user data.

Unfortunately, it is probably best left up to companies like Netflix and Amazon who have all that data.

For example, I spent the last week collecting Home Automation data for my house.

I saved it in lists of JavaScript object notation. (What devices where powered up, etc.) I logged device data ever minute for weeks. Then serialized all the data back into a Binary Classifier, I trained the thing and still only got a production accuracy of 0.5.

So, for that project I'll have to go through the data and figure out what is useful and what isn't to get a better rating.

I only have 24 devices on the mesh network.

Now, I imagine a dataset of media items (TV, and movies) and realize the massive undertaking.

The Machine Learning Model is only as good as the data it consumes...

Perhaps in the future, machines will have a better way of sorting and consuming datasets. They'll be smarter and figure it out for you. In the meantime it's true: Artificial Intelligence/ Machine Learning (because there is a difference between the science and the application) is just not that intelligent.

Edited by chef, 01 April 2019 - 10:13 PM.


#29 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3633 posts
  • Local time: 02:46 AM
  • LocationPeterborough, Canada

Posted 06 April 2019 - 10:04 PM

Well, I did it, I created my first Machine Learning application.

 

I recorded over half a million home automation devices states over the past two weeks, fed them to a BinaryClassification Learner, and gave it control of my house!

 

Since yesterday it has done pretty well. It knows weekday routines really well, it is just the weekend routines it needs to predict better.

 

It's really just an OP light timer, but... it taught itself how to be that way. LOL! 

 

Pretty crazy!


Edited by chef, 06 April 2019 - 10:06 PM.

  • Spaceboy, PenkethBoy, neik and 1 other like this

#30 BillOatman OFFLINE  

BillOatman

    Advanced Member

  • Members
  • 144 posts
  • Local time: 02:46 AM

Posted 07 April 2019 - 10:51 AM

I still like your original idea, and I think ultimately it would have done a good job with a seamless plugin to collect data to a central database for a learner to use :)


  • chef likes this

#31 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3633 posts
  • Local time: 02:46 AM
  • LocationPeterborough, Canada

Posted 09 April 2019 - 09:15 PM


  • BillOatman likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users