Skip to content

Instantly share code, notes, and snippets.

@RyanRosario
Last active January 17, 2024 21:09
Show Gist options
  • Select an option

  • Save RyanRosario/8ae2ff19c4543d714d59e5785f1b513d to your computer and use it in GitHub Desktop.

Select an option

Save RyanRosario/8ae2ff19c4543d714d59e5785f1b513d to your computer and use it in GitHub Desktop.

Revisions

  1. RyanRosario revised this gist Jan 17, 2024. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -7,18 +7,18 @@ group: ucla examples

    youtube_video = {
    video_id title channel cat_id views likes dislikes
    "XpVt6Z1Gjjo" "1 YEAR OF VLOGGING" "Logan Paul Vlogs" 24 4394029 320053 5931
    "cLdxuaxaQwc" "My Response" Pewter 22 5845909 576597 39774
    "Ayb_2qbZHm4" "Honest College Tour" CollegeHumor 23 859289 34485 726
    "EVp4-qjWVJE" "Chargers vs. Broncos" NFL 17 743947 6126 352
    XpVt6Z1Gjjo "1 YEAR OF VLOGGING" "Logan Paul Vlogs" 24 4394029 320053 5931
    cLdxuaxaQwc "My Response" Pewter 22 5845909 576597 39774
    Ayb_2qbZHm4 "Honest College Tour" CollegeHumor 23 859289 34485 726
    EVp4-qjWVJE "Chargers vs. Broncos" NFL 17 743947 6126 352
    }

    youtube_comment = {
    video_id comment_id comment likes replies
    "cLdxuaxaQwc" xl418Pq1 "Love you Pooter don't apologize your fine" 0 0
    "cLdxuaxaQwc" yV7x88ba "Yo this was funny af" 0 0
    "Ayb_2qbZHm4" UB0bn1zz "That word is not okay to say because.." 0 0
    "Ayb_2qbZHm4" mBb7991a "Yo this was funny af" 0 0
    cLdxuaxaQwc xl418Pq1 "Love you Pooter don't apologize your fine" 0 0
    cLdxuaxaQwc yV7x88ba "Yo this was funny af" 0 0
    Ayb_2qbZHm4 UB0bn1zz "That word is not okay to say because.." 0 0
    Ayb_2qbZHm4 mBb7991a "Yo this was funny af" 0 0
    }

    Instructor = {
  2. RyanRosario revised this gist Jan 17, 2024. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -7,18 +7,18 @@ group: ucla examples

    youtube_video = {
    video_id title channel cat_id views likes dislikes
    XpVt6Z1Gjjo "1 YEAR OF VLOGGING" "Logan Paul Vlogs" 24 4394029 320053 5931
    cLdxuaxaQwc "My Response" Pewter 22 5845909 576597 39774
    Ayb_2qbZHm4 "Honest College Tour" CollegeHumor 23 859289 34485 726
    EVp4-qjWVJE "Chargers vs. Broncos" NFL 17 743947 6126 352
    "XpVt6Z1Gjjo" "1 YEAR OF VLOGGING" "Logan Paul Vlogs" 24 4394029 320053 5931
    "cLdxuaxaQwc" "My Response" Pewter 22 5845909 576597 39774
    "Ayb_2qbZHm4" "Honest College Tour" CollegeHumor 23 859289 34485 726
    "EVp4-qjWVJE" "Chargers vs. Broncos" NFL 17 743947 6126 352
    }

    youtube_comment = {
    video_id comment_id comment likes replies
    cLdxuaxaQwc xl418Pq1 "Love you Pooter don't apologize your fine" 0 0
    cLdxuaxaQwc yV7x88ba "Yo this was funny af" 0 0
    Ayb_2qbZHm4 UB0bn1zz "That word is not okay to say because.." 0 0
    Ayb_2qbZHm4 mBb7991a "Yo this was funny af" 0 0
    "cLdxuaxaQwc" xl418Pq1 "Love you Pooter don't apologize your fine" 0 0
    "cLdxuaxaQwc" yV7x88ba "Yo this was funny af" 0 0
    "Ayb_2qbZHm4" UB0bn1zz "That word is not okay to say because.." 0 0
    "Ayb_2qbZHm4" mBb7991a "Yo this was funny af" 0 0
    }

    Instructor = {
  3. RyanRosario revised this gist Apr 5, 2021. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -97,4 +97,16 @@ group: ucla examples
    "201161" "COM SCI 161"
    "201180" "COM SCI 180"
    "201181" "COM SCI 181"
    }

    ThetaJoinExR1 = {
    A B
    "alpha" "beta"
    "beta" "beta"
    }

    ThetaJoinExR2 = {
    A C
    "beta" "alpha"
    "alpha" "gamma"
    }
  4. RyanRosario revised this gist Apr 5, 2021. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -5,16 +5,16 @@ group: ucla examples
    * the relation _Comment_ contains the basic information of a YouTube comment. A video can have multiple comments.
    ]]

    Video = {
    video_id title channel catid views likes dislikes
    youtube_video = {
    video_id title channel cat_id views likes dislikes
    XpVt6Z1Gjjo "1 YEAR OF VLOGGING" "Logan Paul Vlogs" 24 4394029 320053 5931
    cLdxuaxaQwc "My Response" Pewter 22 5845909 576597 39774
    Ayb_2qbZHm4 "Honest College Tour" CollegeHumor 23 859289 34485 726
    EVp4-qjWVJE "Chargers vs. Broncos" NFL 17 743947 6126 352
    }

    Comment = {
    video_id comment_id comments likes replies
    youtube_comment = {
    video_id comment_id comment likes replies
    cLdxuaxaQwc xl418Pq1 "Love you Pooter don't apologize your fine" 0 0
    cLdxuaxaQwc yV7x88ba "Yo this was funny af" 0 0
    Ayb_2qbZHm4 UB0bn1zz "That word is not okay to say because.." 0 0
  5. RyanRosario revised this gist Apr 5, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ucla_relax
    Original file line number Diff line number Diff line change
    @@ -66,7 +66,7 @@ group: ucla examples
    }

    Teaches2 = {
    InsID name
    InsID course
    1 "201031"
    1 "201032"
    2 "201033"
  6. RyanRosario revised this gist Apr 5, 2021. 1 changed file with 26 additions and 26 deletions.
    52 changes: 26 additions & 26 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -67,34 +67,34 @@ group: ucla examples

    Teaches2 = {
    InsID name
    1 201031
    1 201032
    2 201033
    3 20135L
    3 201130
    3 201131
    4 201111
    5 201118
    6 201136
    7 201143
    8 201161
    9 201180
    10 201181
    1 "201031"
    1 "201032"
    2 "201033"
    3 "20135L"
    3 "201130"
    3 "201131"
    4 "201111"
    5 "201118"
    6 "201136"
    7 "201143"
    8 "201161"
    9 "201180"
    10 "201181"
    }

    Course2= {
    course course_name
    201031 "COM SCI 31"
    201032 "COM SCI 32"
    201033 "COM SCI 33"
    20135L "COM SCI 35L"
    201130 "COM SCI 130"
    201131 "COM SCI 131"
    201111 "COM SCI 111"
    201118 "COM SCI 118"
    201136 "COM SCI 136"
    201143 "COM SCI 143"
    201161 "COM SCI 161"
    201180 "COM SCI 180"
    201181 "COM SCI 181"
    "201031" "COM SCI 31"
    "201032" "COM SCI 32"
    "201033" "COM SCI 33"
    "20135L" "COM SCI 35L"
    "201130" "COM SCI 130"
    "201131" "COM SCI 131"
    "201111" "COM SCI 111"
    "201118" "COM SCI 118"
    "201136" "COM SCI 136"
    "201143" "COM SCI 143"
    "201161" "COM SCI 161"
    "201180" "COM SCI 180"
    "201181" "COM SCI 181"
    }
  7. RyanRosario revised this gist Apr 5, 2021. 1 changed file with 34 additions and 0 deletions.
    34 changes: 34 additions & 0 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -63,4 +63,38 @@ group: ucla examples
    C D
    3 4
    2 4
    }

    Teaches2 = {
    InsID name
    1 201031
    1 201032
    2 201033
    3 20135L
    3 201130
    3 201131
    4 201111
    5 201118
    6 201136
    7 201143
    8 201161
    9 201180
    10 201181
    }

    Course2= {
    course course_name
    201031 "COM SCI 31"
    201032 "COM SCI 32"
    201033 "COM SCI 33"
    20135L "COM SCI 35L"
    201130 "COM SCI 130"
    201131 "COM SCI 131"
    201111 "COM SCI 111"
    201118 "COM SCI 118"
    201136 "COM SCI 136"
    201143 "COM SCI 143"
    201161 "COM SCI 161"
    201180 "COM SCI 180"
    201181 "COM SCI 181"
    }
  8. RyanRosario revised this gist Apr 5, 2021. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -55,9 +55,12 @@ group: ucla examples
    Foo = {
    A B
    1 2
    1 8
    1 6
    }

    Bar = {
    C D
    3 4
    2 4
    }
  9. RyanRosario revised this gist Apr 5, 2021. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -50,4 +50,14 @@ group: ucla examples
    8 "COM SCI 161"
    9 "COM SCI 180"
    10 "COM SCI 181"
    }

    Foo = {
    A B
    1 2
    }

    Bar = {
    C D
    3 4
    }
  10. RyanRosario revised this gist Apr 5, 2021. 1 changed file with 31 additions and 0 deletions.
    31 changes: 31 additions & 0 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -19,4 +19,35 @@ group: ucla examples
    cLdxuaxaQwc yV7x88ba "Yo this was funny af" 0 0
    Ayb_2qbZHm4 UB0bn1zz "That word is not okay to say because.." 0 0
    Ayb_2qbZHm4 mBb7991a "Yo this was funny af" 0 0
    }

    Instructor = {
    InsID name
    1 "Smallberg, D. A."
    2 "Reinman, G. D."
    3 "Eggert, P. R."
    4 "Xu, H"
    5 "Lu, S"
    6 "Reiher, P. L."
    7 "Rosario, R. R."
    8 "van Den Broeck, G."
    9 "Ostrovsky, R."
    10 "Campbell, M. L."
    }

    Teaches= {
    InsID course
    1 "COM SCI 31"
    1 "COM SCI 32"
    2 "COM SCI 33"
    3 "COM SCI 35L"
    3 "COM SCI 130"
    3 "COM SCI 131"
    4 "COM SCI 111"
    5 "COM SCI 118"
    6 "COM SCI 136"
    7 "COM SCI 143"
    8 "COM SCI 161"
    9 "COM SCI 180"
    10 "COM SCI 181"
    }
  11. RyanRosario revised this gist Apr 5, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ucla_relax
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ group: ucla examples
    Video = {
    video_id title channel catid views likes dislikes
    XpVt6Z1Gjjo "1 YEAR OF VLOGGING" "Logan Paul Vlogs" 24 4394029 320053 5931
    cLdxuaxaQwc "My Response & Pewter" 22 5845909 576597 39774
    cLdxuaxaQwc "My Response" Pewter 22 5845909 576597 39774
    Ayb_2qbZHm4 "Honest College Tour" CollegeHumor 23 859289 34485 726
    EVp4-qjWVJE "Chargers vs. Broncos" NFL 17 743947 6126 352
    }
  12. RyanRosario created this gist Apr 5, 2021.
    22 changes: 22 additions & 0 deletions ucla_relax
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    group: ucla examples
    description[[ the data for this dataset was generated using {'<'}http://www.generatedata.com/>

    * the relation _Video_ contains basic information about YouTube videos.
    * the relation _Comment_ contains the basic information of a YouTube comment. A video can have multiple comments.
    ]]

    Video = {
    video_id title channel catid views likes dislikes
    XpVt6Z1Gjjo "1 YEAR OF VLOGGING" "Logan Paul Vlogs" 24 4394029 320053 5931
    cLdxuaxaQwc "My Response & Pewter" 22 5845909 576597 39774
    Ayb_2qbZHm4 "Honest College Tour" CollegeHumor 23 859289 34485 726
    EVp4-qjWVJE "Chargers vs. Broncos" NFL 17 743947 6126 352
    }

    Comment = {
    video_id comment_id comments likes replies
    cLdxuaxaQwc xl418Pq1 "Love you Pooter don't apologize your fine" 0 0
    cLdxuaxaQwc yV7x88ba "Yo this was funny af" 0 0
    Ayb_2qbZHm4 UB0bn1zz "That word is not okay to say because.." 0 0
    Ayb_2qbZHm4 mBb7991a "Yo this was funny af" 0 0
    }