Kaggle Digit Recognizer using Softmax regression

Kaggle Digit Recognizer using Softmax regression As a machine learning enthusiast, one would definitely want to solve some practical problems. Kaggle is one of the best platform to do so. It provides list of data science problems, including paid competitions. Kaggle digit recognizer is one of those problems. One of the tutorial problem is called… Read More »

failable initialiser swift simple example

failable initialiser swift simple example In swift, Failable initialisers are used with structure,class and enumeration. When it is not sure that a property within class or structure or enumeration will be initialised then failable initialisers are used. For this, we write initialiser with init? syntax and if initialisation succeeds then value is assigned or else… Read More »

designated convenience automatic initialiser swift

designated convenience automatic initialiser swift  Example code below demonstrates the concept of all of these initialisers in swift in a simple way. We have three classes here. One is the base class, Two is its subclass and Three is subclass of Two. Example code – designated convenience automatic initialiser swift 

How these initializers work is… Read More »

class property initialisers inheritance swift

class property initialisers inheritance swift As we know, In swift, we must initialise the property values within the class definition. It can be done using default initialisers – that means assigning values to variables directly when we know that the value is never going to be changed in any of its instances or by using… Read More »

init method simple example swift programming

init method simple example swift programming Example below shows use of init method. It is used for initialization of the structure,class or enumeration property. In swift, we must initialise the properties before using them. So either you can do it while declaring them if they are not going to change for all instances. In case,… Read More »