Weekly Check-in #3

sudharsana-kjl
Published: 06/19/2019

In the third week of coding, I worked on fixing the PR and moved on to work in the next type of source. 

What did I do this week?

In this week, my PR was successfully merged and closed. Once that was done, u started working on implementing labels for another type of FileSource namely CSVSource. Before I could directly start working on the feature, I had to fix an issue which was related to it. The issue can be found here. I submitted a PR to fix this issue and that can be found here. The PR was successfully merged and closed. 

What is coming up next?

My mentor decided to go in a different approach to solve the issue that I had been working on since the current approach required FileSource to be changed directly. I'm working on it.

Did you get stuck anywhere?

This week was quite smooth. Now that I have a good understanding of the code base and what has to be done to fix the issue, I didn't face any blocks as such.

View Blog Post

Weekly Check-in #2

sudharsana-kjl
Published: 06/10/2019

In the second week of coding, my mentor reviewed my PR and helped in debugging the code. We were having problems in passing the test cases and it required changes outside the expected part of the code. More details about the PR can be found here.

What did I do this week?

The entire week was spent in debugging the code. In between we tried a different approach to the problem. We also discussed this during the weekly catch up call and finally, after a lot of effort we debugged them.

What is coming up next?

I'll be adding more tests to open and update data simultaneously as this would be required.

Did you get stuck anywhere?

Thankfully I didnt get stuck anywhere this week. Thanks to the efforts of my mentor who clearly instructed me on what is required to be done.

View Blog Post

Blog #1

sudharsana-kjl
Published: 06/10/2019

This is a detailed blog post regarding my first week of code.

My work involves adding a label feature to tag the datasets such that when I train multiple models on the same datasets i'm able to distinguish between them which would be very helpful while training multiple models simultaneously.

As a stepping stone, my mentor asked me to implement it for a specific type of source, and hence JSONSource was chosen. The codebase has grown a lot since i wrote my proposal so most of the time was spent in understanding the workflow so that i can analyse where the changes have to be made. After trying to understand the code by giving so many print statements in between lines, finally I got an idea of how i'm supposed to achieve my goal.

Now that I know what changes have to be done, the challenge was in not only making those changes but also testing it. While making the changes, there have been instances where unexpectedly we see some whacky behaviour. This lead to code changes in places we didn't expect in the beginning. Thanks to this, now we have tightened up few loose ends. After making the necessary changes, my mentor and I worked on testing it.

Initial testing was a failure and there were so many unexpected errors. Since the changes were done in a function that dumps the data into a file, all the tests that were directly or indirectly using this were failing. We figured out everything expect for JSONDecodeError that was occuring when we are trying to do json.load() in dump_fd() in JSONSource.

We somehow figured why this error occured and fixed it in the future week. See the next blog post for updates on this!

View Blog Post

Weekly Check-in #1

sudharsana-kjl
Published: 06/02/2019

In the first week of coding, I worked on implementing a part of the feature in the project. More details on what I'll be working on throughout GSoC can be found here.

What did I do this week?

I submitted a PR on the part I was working on. My mentor reviewed my code and requested changes. I have modified according to it. After that, we are working on debugging the errors that occur while running tests.

What is coming up next?

I'll be working on debugging and add few more tests for this feature. If I'm able to finish this before next weekend, I'll work on implementing the same feature for a different type of FileSource.

Did you get stuck anywhere?

Currently, my mentor and I are working on debugging the errors. It shows some whacky behaviour so we are trying to fix it.

 

View Blog Post

Weekly Check-in #0

sudharsana-kjl
Published: 05/24/2019

Hola Amigos! I'm Sudharsana K J L from Tamil Nadu, India. I'll be contributing to DFFML. To know more about this cool project visit here.

What did I do this week?

During the community bonding period, the timing for our weekly catch up meetings was decided and I've had two calls with my mentor already in which we discussed about the project and about my proposal and how it could be achieved. A lot of things have changed in the code base since i wrote the proposal, so i spent my time this week trying to understand the code changes. I've also moved to a new house, so things have been pretty tight with the packing and unpacking. During the sessions with my mentor, he explained me and my fellow GSoC'er Yash about the new additions in the code and how it helps improve DFFML. The past week, I've been trying to understand and figure out how to add the feature I'm gonna work on.

What is coming up next?

With the coding session starting next week, I'll be working on adding the initial part of the feature. This will help me get a clear idea of how to proceed with the other features I'm hoping to add.

Did you get stuck anywhere?

I was stuck on understanding the new code and the working of few classes but my mentor is very active and responds to my silly queries patiently and helps me in getting to know the project better.

 

 

View Blog Post