Skip to main content

Posts

Showing posts from July, 2021

what is a ragged and jagged array?

Introduction: I go through different things people comes searching to my website and recently I found out this new term named ragged and jagged list. I wasn't familiar with the term, so I read about it and going to talk about it from different language and usage perspectives in this article. So by the end of this article, you should be a master of the concept called "ragged or jagged array". Definition: A ragged array, also called jagged array, ( yes they are two same things), is basically a non-uniform array, which consists of different length lists as elements. For example, [[1],[1,2,3],[2,5]] is a jagged array. The name arises from the concept that if you list the elements down one by one vertically, then the edge will be ragged/jagged. How to create: In python, it can be quite simple to create. You can just take an empty list []; and then keep pushing different lists one by one using append. For getting a better idea, read about python lists . For java, read it f...

Analytics vidhya May JobAthon: Analysis and best approaches

Analytics vidhya May JobAthon: EDA and solution Written By: Saurabh Shelar  Introduction:   Nearly a month ago I had participated in Analytics Vidhya JonAThan May 2021, where they had given us data and I was supposed to analyze it and make a predictive model in 3 days which I couldn't do it in time since I was not getting the desired accuracy, so I decided to take it as a challenge and pursue it as one of my practice projects. Problem briefing:   The data I was using was about customers of a bank called Happy Customer Bank, which is a mid-sized private bank that deals in all kinds of banking products like savings accounts, current accounts, investment products, credit products, among other offerings. In this case the bank wants to cross sell its credit cards to its existing customers. The bank has identified a set of customers that are eligible for taking these Credit cards. The customer’s details included their age, gender, region and details of his/her relationship...