It’s one of the technique in which we implement KFold cross-validation, where k is equal to n i.e the number of observations in the data. Thus, every single point will be used in a validation set, we will create n models, for n-observations in the data. Each point/sample is used once as a test set while the remaining data/samples form the training set.
For almost a decade, Stack Overflow’s annual Developer Survey has been the largest survey of people who code around the world. This year they did a survey on 60,000+ software developers and shared some of the amazing statistics.
In this article, I’m going to write a detailed analysis of their survey result. So get ready to read some amazing analysis —
This network graph shows which technologies are most highly correlated with each other. The size of each circle corresponds to the proportion of survey respondents who use the technology tool.
Ruby and Rails tend to get used together. Similarly…
HackerEarth, with a community of around 4 million+ developers all around the world, is a highly sought after tech platform to hire quality developers. The coding problems on this platform are very exciting and challenging which can help you build a solid foundation on various topics like data structures and algorithms, data science and to say the least you can also participate in the different world class Hackathons. I have been crunching data for past few years and just two days back read this amazing survey that Hacker Earth has done where 16000 developers participated from 76 nations.
I love Data. Period.
Like every day (30 minutes reading ritual before starting my office work), I was going through some great data science and machine learning articles to keep myself abreast of latest trends/info and I found a great survey that was done by HackerRank.
In this post, I’m going to cover the trends in the developers’ community in 2020. Let’s dive in!
The results indicate that Larger companies are more likely to want to hire specialists as compared to smaller companies (startups) which considers full-stack developers more important.
Recently I received an email from one of my readers asking me to write about Python’s complex topics such as Iterators, Generators, and Decorators. In this post, I’m going to cover the basics, implementation, and how to use them in your code.
An iterator is an object that can be iterated upon which means that you can traverse through all the values. List, tuples, dictionaries, and sets are all iterable objects.
To create an object as an iterator you have to implement the methods
__next__() to your object where —
__iter__() returns the iterator object itself. …
In python, Enumerate is used to write efficient python code. Many a times we need to keep a count of iterations. Python’s enumerate takes a collection i.e iterable, adds counter to it and returns it as an enumerate object
Enumerate : Use enumerate() function : Python’s enumerate takes a collection i.e iterable, adds counter to it and returns it as an enumerate object.
"""countries = ['USA','Canada','Singapore','Taiwan']
enum_countries = enumerate(countries)enumerate_countries = enumerate(countries,5)
[(5, 'USA'), (6, 'Canada'), (7, 'Singapore'), (8, 'Taiwan')]
Implementation 2 —
countries = ['USA','Canada','Singapore','Taiwan']
In python, the inbuilt __import__() function helps to import modules in runtime
__import__(name, globals, locals, fromlist, level)
Python strings are arrays of bytes representing unicode characters. Strings in python are surrounded by either single quotation marks, or double quotation marks.
‘today’ is the same as “today”.
var1 = ‘Hello’
var2 = “Complete Python Course”
You can assign a multiline string to a variable by using three quotes.
str1 = "Welcome to complete Python Course"
str2 = 'Welcome to the complete Python Course'
str3 = """This is a
Welcome to complete Python Course
Welcome to the complete Python Course
This is a
In python, Indexing…
In this post we will be covering the advanced modules of Python and how you can use them in your code.
In python, filter creates a list of elements for which a function returns true. The filter resembles a for loop but it is a builtin function and quite faster
Filter can also take user-defined functions as well as lambda functions as a parameter. Filter and Range both require list calls to display all their results.
f_list = list(filter(lambda a: (a%2 != 0) , list1))
marks = [95, 40, 68, 95, 67, 61…
Keras is a very powerful open source Python library which runs on top of top of other open source machine libraries like TensorFlow, Theano etc, used for developing and evaluating deep learning models and leverages various optimization techniques.