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 860 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
34
35
36
  1. local bd = import '../lib.jsonnet';
  2. bd.pipeline({
  3. 'clean-ratings': {
  4. cmd: bd.cmd('bx extract ../data/BX-CSV-Dump.zip cleaned-ratings.csv'),
  5. deps: [
  6. '../src/cli/bx',
  7. '../data/BX-CSV-Dump.zip',
  8. ],
  9. outs: [
  10. 'cleaned-ratings.csv',
  11. ],
  12. },
  13. 'cluster-ratings': {
  14. cmd: bd.cmd('bx cluster-actions --ratings -o bx-cluster-ratings.parquet'),
  15. deps: [
  16. '../src/cli/bx',
  17. 'cleaned-ratings.csv',
  18. '../book-links/isbn-clusters.parquet',
  19. ],
  20. outs: [
  21. 'bx-cluster-ratings.parquet',
  22. ],
  23. },
  24. 'cluster-actions': {
  25. cmd: bd.cmd('bx cluster-actions --add-actions -o bx-cluster-actions.parquet'),
  26. deps: [
  27. '../src/cli/bx',
  28. 'cleaned-ratings.csv',
  29. '../book-links/isbn-clusters.parquet',
  30. ],
  31. outs: [
  32. 'bx-cluster-actions.parquet',
  33. ],
  34. },
  35. }, bd.config.bx.enabled)
Tip!

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

Comments

Loading...