#metabrainz

/

      • MajorLurker has quit
      • 2020-07-23 20533, 2020

      • alastairp
        oh, sure!
      • 2020-07-23 20550, 2020

      • alastairp
        of course, if you're evaluating on everything that you trained on I would hope that you get 100% ;)
      • 2020-07-23 20506, 2020

      • jmp_music_
      • 2020-07-23 20550, 2020

      • jmp_music_
        this is the evaluation of fitting and predicting to the whole amount of thedanceability's data collection
      • 2020-07-23 20504, 2020

      • jmp_music_
        data collection --> dataset
      • 2020-07-23 20521, 2020

      • alastairp
        yeah, understood
      • 2020-07-23 20526, 2020

      • jmp_music_
        I'm trying now to see what I can do with gaia
      • 2020-07-23 20547, 2020

      • sumedh has quit
      • 2020-07-23 20502, 2020

      • jmp_music_
        you said before: `replace this with just a single item pointing to the history file`
      • 2020-07-23 20521, 2020

      • jmp_music_
        you mean something like that, right?
      • 2020-07-23 20530, 2020

      • jmp_music_
      • 2020-07-23 20504, 2020

      • jmp_music_
        i made a code directory inside the data dir of AB, and I put the file there
      • 2020-07-23 20512, 2020

      • alastairp
        right
      • 2020-07-23 20538, 2020

      • sumedh joined the channel
      • 2020-07-23 20545, 2020

      • jmp_music_
        and by saying `add anything you want to the 2 items under mergeValues`
      • 2020-07-23 20545, 2020

      • alastairp
        so, `svm_models: [ /data/svm_models/voice_instrumental.history, /code/data/jmp_results_danceability ]`
      • 2020-07-23 20556, 2020

      • jmp_music_
        yes
      • 2020-07-23 20558, 2020

      • alastairp
        in fact, you can delete the whole mergeValues section
      • 2020-07-23 20508, 2020

      • alastairp
        make sure you get the path correct for your second item
      • 2020-07-23 20522, 2020

      • alastairp
        the `acousticbrainz-server` folder on your computer is mapped to /code inside the container
      • 2020-07-23 20543, 2020

      • jmp_music_
        oh, ok!
      • 2020-07-23 20508, 2020

      • alastairp
        but sure, you could also make a new folder in /data, but keep in mind that when you close the session (and shut down the container) that data will disappear
      • 2020-07-23 20515, 2020

      • jmp_music_
        and the json value I want to predict, how AB-server can read it?
      • 2020-07-23 20542, 2020

      • alastairp
        the low-level file?
      • 2020-07-23 20520, 2020

      • jmp_music_
        yes
      • 2020-07-23 20522, 2020

      • alastairp
        just download it and put it in your `acousticbrainz-server` folder somewhere, and then when you are inside the container you can access it as `/code/wherever/you/put/it`
      • 2020-07-23 20550, 2020

      • sumedh has quit
      • 2020-07-23 20556, 2020

      • jmp_music_
        Thanks! And finally, which is the `[profilefile]`
      • 2020-07-23 20557, 2020

      • jmp_music_
        ?
      • 2020-07-23 20538, 2020

      • alastairp
        jmp_music_: profilefile is that file that you just made
      • 2020-07-23 20540, 2020

      • alastairp
        the configuration file
      • 2020-07-23 20507, 2020

      • iliekcomputers
        ishaanshah: hey
      • 2020-07-23 20520, 2020

      • ishaanshah
        Hi
      • 2020-07-23 20525, 2020

      • ishaanshah
        How are you
      • 2020-07-23 20527, 2020

      • ishaanshah
        ?
      • 2020-07-23 20548, 2020

      • iliekcomputers
        good, good. I'm gonna deploy the daily activity backend today.
      • 2020-07-23 20558, 2020

      • iliekcomputers
        i just want to pull in the landing page changes as well.
      • 2020-07-23 20505, 2020

      • ishaanshah
        Cool, I worked on the frontend today
      • 2020-07-23 20514, 2020

      • ishaanshah
        The line graph is done
      • 2020-07-23 20521, 2020

      • ishaanshah
        But very messy right now
      • 2020-07-23 20540, 2020

      • iliekcomputers
        messy as in it doesn't look good, or as in the code is messy?
      • 2020-07-23 20552, 2020

      • ishaanshah
        doesn't look good
      • 2020-07-23 20559, 2020

      • BrainzGit
        [listenbrainz-server] paramsingh merged pull request #966 (master…daily_activity_backend): LB-658: Add "Daily Activity" statistics (Spark + DB + API) https://github.com/metabrainz/listenbrainz-server…
      • 2020-07-23 20500, 2020

      • BrainzBot
        LB-658: Add "Daily Activity" statistics (Spark + DB + API) https://tickets.metabrainz.org/browse/LB-658
      • 2020-07-23 20503, 2020

      • ishaanshah
        but thats because of less data
      • 2020-07-23 20503, 2020

      • iliekcomputers
        hmm.
      • 2020-07-23 20518, 2020

      • iliekcomputers
        I'll trigger a calculation today, let's see how it looks then
      • 2020-07-23 20523, 2020

      • ishaanshah
        Lets check again after calculation
      • 2020-07-23 20539, 2020

      • ishaanshah
        I have a feelling it would be better for others
      • 2020-07-23 20539, 2020

      • iliekcomputers
        yep
      • 2020-07-23 20553, 2020

      • ishaanshah
        I didn't work on fine tuning the graph much
      • 2020-07-23 20503, 2020

      • ishaanshah
        Like toggleable legend and stuff
      • 2020-07-23 20521, 2020

      • iliekcomputers
        yeah, makes sense. let's see how it looks first
      • 2020-07-23 20524, 2020

      • ishaanshah
        if we have to switch to bar then it would have gone waste thats why
      • 2020-07-23 20540, 2020

      • ishaanshah
        yeah exactly
      • 2020-07-23 20555, 2020

      • ishaanshah
        I came across this site today
      • 2020-07-23 20510, 2020

      • ishaanshah
      • 2020-07-23 20539, 2020

      • ishaanshah
        I like the first graph they have used
      • 2020-07-23 20502, 2020

      • ishaanshah
        I think we should replace the stream graph in sitewide entities with this one
      • 2020-07-23 20524, 2020

      • iliekcomputers
        sure, it looks cleaner1
      • 2020-07-23 20525, 2020

      • ishaanshah
        Btw the whole site is built using nivo
      • 2020-07-23 20527, 2020

      • iliekcomputers
        !
      • 2020-07-23 20550, 2020

      • iliekcomputers
        that's pretty cool
      • 2020-07-23 20545, 2020

      • ishaanshah
        cool, just wanted to ask your opinion on it
      • 2020-07-23 20510, 2020

      • ishaanshah
        Let me know when you calculation is complete
      • 2020-07-23 20533, 2020

      • ishaanshah
        I will be around for some more time, I will post some screenshots
      • 2020-07-23 20542, 2020

      • ishaanshah
        you -> the
      • 2020-07-23 20504, 2020

      • iliekcomputers
        sure, ok. i want to merge a couple of pull requests that are building. i'll keep you updated.
      • 2020-07-23 20514, 2020

      • ishaanshah
        Cool
      • 2020-07-23 20526, 2020

      • BrainzGit
        [listenbrainz-server] paramsingh merged pull request #977 (master…remove-queue-stats): Remove the broken stats from the status page https://github.com/metabrainz/listenbrainz-server…
      • 2020-07-23 20524, 2020

      • iliekcomputers
        i don't have much else, do you?
      • 2020-07-23 20534, 2020

      • ishaanshah
        Nah nothing else
      • 2020-07-23 20540, 2020

      • iliekcomputers
        cool!
      • 2020-07-23 20528, 2020

      • BrainzGit
        [listenbrainz-server] paramsingh merged pull request #975 (master…param/landing-page-text): Improve landing page text https://github.com/metabrainz/listenbrainz-server…
      • 2020-07-23 20533, 2020

      • jmp_music_
        @alastairp: just ran the extractor for the same track
      • 2020-07-23 20553, 2020

      • jmp_music_
      • 2020-07-23 20549, 2020

      • alastairp
        cool. 99.9% looks very close to the 100% of acousticbrainz
      • 2020-07-23 20503, 2020

      • jmp_music_
        that's right!
      • 2020-07-23 20528, 2020

      • jmp_music_
        I have to check my code again. maybe i 've done something wrong when i call the model
      • 2020-07-23 20542, 2020

      • jmp_music_
        i.e. in the predictions
      • 2020-07-23 20549, 2020

      • alastairp
        sure thing
      • 2020-07-23 20527, 2020

      • alastairp
        have you tried to make a model specifically with the C/gamma values from gaia?
      • 2020-07-23 20504, 2020

      • jmp_music_
        I 'll proceed with this ones
      • 2020-07-23 20508, 2020

      • jmp_music_
        one*
      • 2020-07-23 20537, 2020

      • jmp_music_
        I'll work on it tomorrow
      • 2020-07-23 20518, 2020

      • alastairp
        no problem
      • 2020-07-23 20519, 2020

      • alastairp
        thanks
      • 2020-07-23 20522, 2020

      • jmp_music_
        I have already made a script that loads gaia's params
      • 2020-07-23 20531, 2020

      • jmp_music_
        so it will not take long to me to test it
      • 2020-07-23 20540, 2020

      • jmp_music_
        will you be available tomorrow?
      • 2020-07-23 20554, 2020

      • jmp_music_
        to discuss any results?
      • 2020-07-23 20508, 2020

      • shivam-kapila
        ishaanshah: you up?
      • 2020-07-23 20518, 2020

      • ishaanshah
        yep
      • 2020-07-23 20541, 2020

      • shivam-kapila
        So I wanted to dicuss about the graph on the my listens page
      • 2020-07-23 20554, 2020

      • shivam-kapila
        What do you think we can show there
      • 2020-07-23 20533, 2020

      • shivam-kapila
        Listening activity over past 30 days?
      • 2020-07-23 20546, 2020

      • ishaanshah
        Thats what I was gonna say
      • 2020-07-23 20510, 2020

      • shivam-kapila
        I dont want to make a bar graph
      • 2020-07-23 20516, 2020

      • ishaanshah
        We can have a line graph without the points
      • 2020-07-23 20517, 2020

      • shivam-kapila
        You know for the sake of variety
      • 2020-07-23 20527, 2020

      • ishaanshah
        Yep I think the same
      • 2020-07-23 20543, 2020

      • shivam-kapila
        Yeah we are in the same boat
      • 2020-07-23 20523, 2020

      • shivam-kapila
        Do we have something like past 30 days listen activity in backend right now. I mean a spark job for that
      • 2020-07-23 20536, 2020

      • ishaanshah
        the graph you have shown in the mockup seems good already
      • 2020-07-23 20537, 2020

      • alastairp
        jmp_music_: I'm not sure if I'll be around tomorrow, I have some things to do. however, send me some messages and I'll respond if I have time
      • 2020-07-23 20505, 2020

      • ishaanshah
      • 2020-07-23 20521, 2020

      • jmp_music_
        @alastairp: Ok! Thanks again!
      • 2020-07-23 20523, 2020

      • ishaanshah
      • 2020-07-23 20528, 2020

      • shivam-kapila
        Yeah. Since the whole dashboard focuses on smoothness I would like this one to be smooth
      • 2020-07-23 20559, 2020

      • BrainzGit
        [listenbrainz-server] release v-2020-07-23.0 has been published by release-drafter[bot]: https://github.com/metabrainz/listenbrainz-server…
      • 2020-07-23 20505, 2020

      • ishaanshah
        Yep, we can do that
      • 2020-07-23 20521, 2020

      • shivam-kapila
        So its basically the last month plus the month till now
      • 2020-07-23 20528, 2020

      • ishaanshah
        Yeah
      • 2020-07-23 20534, 2020

      • shivam-kapila
        Cool we have the data
      • 2020-07-23 20536, 2020

      • ishaanshah
        But we should skip the last month
      • 2020-07-23 20527, 2020

      • shivam-kapila
        From what I was thinking is: say today is 23 july so we show from june 24 to july 23
      • 2020-07-23 20537, 2020

      • shivam-kapila
        What do you think
      • 2020-07-23 20503, 2020

      • ishaanshah
        Yep, that makes sense
      • 2020-07-23 20506, 2020

      • iliekcomputers
        shivam-kapila: what would happen if stats were not calculated for a month, due to some downtime?
      • 2020-07-23 20528, 2020

      • ishaanshah
        we can have the same message that we have on stats page?
      • 2020-07-23 20549, 2020

      • shivam-kapila
        For a month? Arent the stats jobs triggered regularly
      • 2020-07-23 20507, 2020

      • ishaanshah
        Yeah but there are bugs some times
      • 2020-07-23 20508, 2020

      • iliekcomputers
        they are, but part of engineering is trying to handle failure cases gracefully
      • 2020-07-23 20521, 2020

      • ishaanshah
        The pipeline is not very stable right now
      • 2020-07-23 20541, 2020

      • shivam-kapila
        TBH I was gonna just tag you because of your wider sense of figuring things out
      • 2020-07-23 20548, 2020

      • shivam-kapila
        Yeah I understand
      • 2020-07-23 20522, 2020

      • iliekcomputers
        we solved the issue for stats by using the latest listen timestamp in spark for all calculations.
      • 2020-07-23 20545, 2020

      • shivam-kapila
        Yeah I remember seeing that in the PR
      • 2020-07-23 20507, 2020

      • iliekcomputers
        on the frontend we show data based on that, but we also explicitly state the time range (Jan 23 - Jan 30, for example)
      • 2020-07-23 20525, 2020

      • ishaanshah
        iliekcomputers: What I had in mind is, we show slice the array to show past 30 days
      • 2020-07-23 20537, 2020

      • ishaanshah
        Yeah show the date expicitely
      • 2020-07-23 20549, 2020

      • iliekcomputers
        right, that makes sense.
      • 2020-07-23 20551, 2020

      • ishaanshah
        expicitly
      • 2020-07-23 20556, 2020

      • shivam-kapila
        Actually the graph comes just after user's current listen count etc
      • 2020-07-23 20558, 2020

      • iliekcomputers
      • 2020-07-23 20522, 2020

      • iliekcomputers
        oh dammit
      • 2020-07-23 20526, 2020

      • ishaanshah
        error on sentry
      • 2020-07-23 20528, 2020

      • iliekcomputers
        i didn't do the schema change lol
      • 2020-07-23 20528, 2020

      • shivam-kapila
        So thats I was considering the last 30 days
      • 2020-07-23 20540, 2020

      • ishaanshah
        Whoops :D
      • 2020-07-23 20541, 2020

      • ishaanshah
        shivam-kapila: Instead of past 30 days, lets just show the time range that we are calulating it for below
      • 2020-07-23 20548, 2020

      • shivam-kapila
        Thag makes it somewhat like a line copy of a bar graph already in charts section if I am not wrong
      • 2020-07-23 20552, 2020

      • shivam-kapila
        That*
      • 2020-07-23 20538, 2020

      • shivam-kapila
        iliekcomputers: iiuc the edge case you mentioned is somwhat like a user has no listens in the past 30 days. Am I right?
      • 2020-07-23 20539, 2020

      • ishaanshah
        I mean, show 24 june to 23 july
      • 2020-07-23 20557, 2020

      • shivam-kapila
        I understand that
      • 2020-07-23 20512, 2020

      • iliekcomputers
        not really, the edge case here is that you might not have the stats for the past 30 days
      • 2020-07-23 20554, 2020

      • ishaanshah
      • 2020-07-23 20556, 2020

      • iliekcomputers
        the user could be submitting data and stats not getting calculaed