Page MenuHomePhabricator

Mitumoni_kalita (Mitu)
User

Projects

User does not belong to any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Tuesday

  • No visible events.

User Details

User Since
Mar 9 2024, 2:54 PM (97 w, 17 h)
Availability
Available
LDAP User
Unknown
MediaWiki User
Mitumoni kalita [ Global Accounts ]

Recent Activity

Mar 15 2024

Mitumoni_kalita added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

Can anyone please share the desired output for the first TODO of this task?

Mar 15 2024, 1:02 PM · Outreachy (Round 28)
Mitumoni_kalita added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

@MahimaSinghal Can you please help me with how page views API is being used for this task?

Hi @Mitumoni_kalita ,Yeah Sure. I am more than willing to help.
PageViews API will be used in the very first TODO of this microtask. Where you have to use the API to gather pageviews count in the time period each revision was made.
You can refer to the documentation of the API here : mwviews documentation: https://github.com/mediawiki-utilities/python-mwviews.

image.png (396×1 px, 134 KB)

The above image is of the sample example given in the Notebook on how can we use the API.

The function "article_views" under PageviewsClient class already have used the pageviews count API and did all the implementation right to show pageview count of any article in the time period each revision was made ; so I didn't understand what actually we need to do under this TODO of the Microtask ? @MahimaSinghal

That is just an example, we have to do it for a sample of articles other than the two given, and we have to calculate the pageview count for every revision_timestamp.

Mar 15 2024, 1:01 PM · Outreachy (Round 28)
Mitumoni_kalita added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

@MahimaSinghal Can you please help me with how page views API is being used for this task?

Hi @Mitumoni_kalita ,Yeah Sure. I am more than willing to help.
PageViews API will be used in the very first TODO of this microtask. Where you have to use the API to gather pageviews count in the time period each revision was made.
You can refer to the documentation of the API here : mwviews documentation: https://github.com/mediawiki-utilities/python-mwviews.

image.png (396×1 px, 134 KB)

The above image is of the sample example given in the Notebook on how can we use the API.

The function "article_views" under PageviewsClient class already have used the pageviews count API and did all the implementation right to show pageview count of any article in the time period each revision was made ; so I didn't understand what actually we need to do under this TODO of the Microtask ? @MahimaSinghal

Hi @Mitumoni_kalita. We need to use the function article_views to find out how many page_views were there in between subsequent revisions. One way to do this is to make a function that takes as an arguments the page_title and returns a new dataframe with the page_views included for that particular page_title. Hope this helps.

Mar 15 2024, 1:00 PM · Outreachy (Round 28)
Mitumoni_kalita added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

@MahimaSinghal Can you please help me with how page views API is being used for this task?

Hi @Mitumoni_kalita ,Yeah Sure. I am more than willing to help.
PageViews API will be used in the very first TODO of this microtask. Where you have to use the API to gather pageviews count in the time period each revision was made.
You can refer to the documentation of the API here : mwviews documentation: https://github.com/mediawiki-utilities/python-mwviews.

image.png (396×1 px, 134 KB)

The above image is of the sample example given in the Notebook on how can we use the API.

Mar 15 2024, 8:50 AM · Outreachy (Round 28)
Mitumoni_kalita added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

@MahimaSinghal Can you please help me with how page views API is being used for this task?

Mar 15 2024, 7:47 AM · Outreachy (Round 28)
Mitumoni_kalita added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

I am have having issues understanding the microtask, can someone shed more light about what the task is about.

What is confusing you?

Mar 15 2024, 5:23 AM · Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Not able to generate video from the data frame? What might the reason be? As we have 7k+ columns and it's taking time can we generate a bar chart race video of only a few columns as an example?
And I read in the documentation that we should have 'ffmpeg' installed on our device as I am working on web paws Jupyter notebook and not locally do I also have to install 'ffmpeg'?

After installing ffmpeg try to add only few rows and columns to check everything works properly

Already working on only 5 columns and 60 rows

Mar 15 2024, 2:59 AM · Outreach-Programs-Projects, Outreachy (Round 28)

Mar 14 2024

Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Do we have to continue with other tasks as well after completing Task A?

Mar 14 2024, 6:58 PM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Are you including all the 7519 columns in your video 😅?

Screenshot 2024-03-14 222908.png (435×1 px, 40 KB)

This is the dataframe structure that I have generated of the cumulative sum which is sent to the bar_chart_race function, please confirm me if this is the correct structure that i have generated. let me know if I have made any error

Thank you so much to all, It worked.

How should I proceed?

Hmm, if you're including 7519 columns, it will take time. For now, just add 5 rows and 5 columns, or 10 rows by 10 columns. I think I read in the bar chart documentation that the more rows and columns you have, the longer it takes to render.Since, it generates frame by frame something like that. Also, only play the video after your cell is done running.

Great 🥳

Mar 14 2024, 6:26 PM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Are you including all the 7519 columns in your video 😅?

Screenshot 2024-03-14 222908.png (435×1 px, 40 KB)

This is the dataframe structure that I have generated of the cumulative sum which is sent to the bar_chart_race function, please confirm me if this is the correct structure that i have generated. let me know if I have made any error

Mar 14 2024, 6:18 PM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Are you including all the 7519 columns in your video 😅?

Screenshot 2024-03-14 222908.png (435×1 px, 40 KB)

This is the dataframe structure that I have generated of the cumulative sum which is sent to the bar_chart_race function, please confirm me if this is the correct structure that i have generated. let me know if I have made any error

Mar 14 2024, 5:58 PM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Screenshot 2024-03-14 222908.png (435×1 px, 40 KB)

This is the dataframe structure that I have generated of the cumulative sum which is sent to the bar_chart_race function, please confirm me if this is the correct structure that i have generated. let me know if I have made any error

Mar 14 2024, 5:02 PM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Screenshot 2024-03-14 143830.png (511×1 px, 36 KB)

I have tried implementing bar-chart-race locally on my machine as well as also tried on PAWS as one of the applicant advised above , but unable to play the video. Can anyone here help me with this issue and rectify my error?
@Ederporto

When you play video what is the error. Does it play but shows gibberish?
Can you provide more info

@Mitumoni_kalita for now avoid filtering warining unless you are able to play the video since warnings/error might contain useful info.

Has the video file appeared in your folder?

Mar 14 2024, 4:48 PM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Screenshot 2024-03-14 160452.png (398×819 px, 23 KB)

While implementing the same code in PAWS, I encountered this warning.

Mar 14 2024, 10:36 AM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

import warnings
warnings.filterwarnings("ignore", category=UserWarning)
import IPython.display as display

Mar 14 2024, 10:30 AM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Screenshot 2024-03-14 154850.png (485×767 px, 29 KB)

Please help me out, unable to get it correct!

Mar 14 2024, 10:20 AM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

yeah sure

Mar 14 2024, 10:17 AM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

No

Mar 14 2024, 10:14 AM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

But still unable to get the video

Mar 14 2024, 9:56 AM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Screenshot 2024-03-14 152420.png (611×1 px, 51 KB)

Please correct if this is wrong

Mar 14 2024, 9:55 AM · Outreach-Programs-Projects, Outreachy (Round 28)
Mitumoni_kalita added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Screenshot 2024-03-14 143830.png (511×1 px, 36 KB)

I have tried implementing bar-chart-race locally on my machine as well as also tried on PAWS as one of the applicant advised above , but unable to play the video. Can anyone here help me with this issue and rectify my error?
@Ederporto

Mar 14 2024, 9:13 AM · Outreach-Programs-Projects, Outreachy (Round 28)