Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

dvc.jsonnet 913 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  1. local bd = import '../lib.jsonnet';
  2. bd.pipeline({
  3. 'scan-ratings': {
  4. cmd: bd.cmd('amazon scan-ratings -o ratings.parquet ../data/az2014/ratings_Books.csv'),
  5. deps: [
  6. '../src/amazon.rs',
  7. '../src/cli/amazon/',
  8. '../data/az2014/ratings_Books.csv',
  9. ],
  10. outs: ['ratings.parquet'],
  11. },
  12. 'cluster-ratings': {
  13. wdir: '..',
  14. cmd: bd.cmd('amazon cluster-ratings -o az2014/az-cluster-ratings.parquet az2014/ratings.parquet'),
  15. deps: [
  16. 'src/cli/amazon',
  17. 'az2014/ratings.parquet',
  18. 'book-links/isbn-clusters.parquet',
  19. ],
  20. outs: ['az2014/az-cluster-ratings.parquet'],
  21. },
  22. 'cluster-ratings-5core': {
  23. cmd: bd.cmd('kcore -o az-cluster-ratings-5core.parquet az-cluster-ratings.parquet'),
  24. deps: [
  25. 'az-cluster-ratings.parquet',
  26. '../src/cli/kcore.rs',
  27. ],
  28. outs: ['az-cluster-ratings-5core.parquet'],
  29. },
  30. }, bd.config.az2014.enabled)
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...