Comments (5)
Assigned @jstainer-kleis because I believe you already had such a script laying around. Please unassign yourself otherwise :)
from tournesol-meta.
I have a quick and dirty set of scripts. It allows:
- importing the public dataset that used to be distributed into the database with the new schema (from tournesol-backend repository)
- fetching the metadata of referenced videos (for now I only insert the title in DB, but the full metadata is retrieved)
- dumping SQL commands that could be directly used to fill the DB (without going through the previous steps)
- exporting a tarball containing the videos metadata
I'm not sure what and how to commit though.
- should I put the original .csv files somewhere?
- should I push the scripts to fill the DB from these or just the SQL file?
- should I put the tarball with the videos metadata somewhere? just the scripts to fetch / export them?
- should I insert more metadata in the video table (i.e. duration or things like that instead of just the title)?
If the public dataset distribution format is kept as-is for the foreseeable future I guess that the scripts should be made more robust but the SQL file may be more convenient. However, in the current form it contains data crawled from Youtube and I'm not sure we're allowed to distribute that. The same question arises for the videos metadata tarball, maybe even for the script to fetch them using youtube-dl...
IANAL, before pushing anything I'll wait for an informed PoV (@mahdi ?) on this topic.
from tournesol-meta.
Edited:
NOT Blocked by #45
from tournesol-meta.
Blocked by #45
I don't think it's a blocker, migration from the current schema to the future one will be easier than modifying the scripts to adapt them to the new schema.
from tournesol-meta.
Correct! I agree
from tournesol-meta.
Related Issues (20)
- Video Recommendation Page
- Loading state when fetching recommendations HOT 1
- Infinite Scroll or Pagination for recommendations
- Search Filter improvement
- Criteria preferences in video recommendations
- Order of comparisons
- Tournesol recommendations should be strictly positive
- Fix incoherent values reported by the multiple Django Prometheus workers
- Investigate and fix issues with ML algorithm
- Add CI on monorepo
- Improve style of sidebar
- Cleanup new monorepo
- [UX/UI] Quick Improve "compare video" page
- Backend video metadata HOT 4
- Investigate refactor of Comparison backend
- Look into links shared by Capitain Fact
- Add test for Comparison API endpoint
- Video Recommendation Page
- Schedule ML training HOT 1
- Reprovision production vm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tournesol-meta.