Introduction Logistic Regression is a statistical method to predict a dependent data variable based on the relationship between one or more independent variables. It makes use of log odds and with the help of a logistic function, it predicts the probability of an event occurring. It is a classification method. What are Log Odds and Why are they Useful for Logistic Regression? Logistic regression is used to predict binary outcomes. For example, in an election, whether a candidate will win or not, whether SMS is spam or ham, etc. Odds are the ratio of the probability of success to failure. ... Read More
Locally Weighted Linear Regression is a non−parametric method/algorithm. In Linear regression, the data should be distributed linearly whereas Locally Weighted Regression is suitable for non−linearly distributed data. Generally, in Locally Weighted Regression, points closer to the query point are given more weightage than points away from it. Parametric and Non-Parametric Models Parametric Parametric models are those which simplify the function to a known form. It has a collection of parameters that summarize the data through these parameters. These parameters are fixed in number, which means that the model already knows about these parameters and they do not depend on the ... Read More
Introduction Whale Optimization Algorithm is a technique for solving optimization problems in Mathematics and Machine Learning. It is based on the behavior of humpback whales which uses operators like prey searching, encircling the prey, and forging bubble net behavior of humpback whales in the ocean. It was given by Mirjalili and Lewis in 2016. In this article, we are going to look into the different phases of the WOA algorithm A History of Humpback Whales Humpback whales are one of the largest mammals on Earth. They have a special type of hunting mechanism known as the bubble−net hunting mechanism. They ... Read More
Introduction The process of identifying an object or feature with an image is known as Image Recognition. Image recognition finds its place in diverse domains be it Medical imaging, automobiles, security, or detecting defects. What is MobileNet and Why is it so Popular? MobileNet is deep learning CNN model developed using depth−wise separable convolutions. This model highly decreases the number of parameters when compared to other models of the same depth. This model is lightweight and is optimized to run on mobile and edge devices. There are three versions of Mobilenet released so far.ie MobileNet v1, v2 and v3. Mobilenet ... Read More
Introduction User experience (UX) is how a person or user interacts with a product, service, or system encompassing everything from ease of usage, and its usefulness to efficiency. Today, Machine Learning can provide an intuitive user experience through modeling, customization, clustering, and segregation. In this article, let's have a look at how Machine Learning is revolutionizing User Experience. Why does User Experience Matters? In the case of a business that needs to attract customers or to make sales via a website or mobile app UX is almost needed. The duration of time the user spends on these platforms, their search ... Read More
We can create a Polygon object by creating an instance of fabric.Polygon. A polygon object can be characterized by any closed shape consisting of a set of connected straight line segments. Since it is one of the basic elements of FabricJS, we can also easily customize it by applying properties like angle, opacity etc. In order to convert a polygon object into HTMLCanvasElement we use the toCanvasElement method. It returns the DOM element of type HTMLCanvasElement, an interface which inherits its properties and methods from the HTMLElement interface. We use the captureStream method to capture stream of Polygon converted to ... Read More
We can create a Polygon object by creating an instance of fabric.Polygon. A polygon object can be characterized by any closed shape consisting of a set of connected straight line segments. Since it is one of the basic elements of FabricJS, we can also easily customize it by applying properties like angle, opacity etc. We use the isContainedWithinObject to find whether a polygon object is fully contained within the area of another object. It can be used to test whether an object is fully contained within the area of another object. Syntax isContainedWithinObject(other: Object, absolute: Boolean, calculate: Boolean ... Read More
We can create a Polygon object by creating an instance of fabric.Polygon. A polygon object can be characterized by any closed shape consisting of a set of connected straight-line segments. Since it is one of the basic elements of FabricJS, we can also easily customize it by applying properties like angle, opacity etc. We can check if the cache is dirty and the renderer is required by using the isCacheDirty method. This method checks whether the cache is dirty and thus lets FabricJS know that something in our canvas has changed which requires re-rendering. SyntaxisCacheDirty( skipCanvas: Boolean ) ... Read More
We can create a Polygon object by creating an instance of fabric.Polygon. A polygon object can be characterized by any closed shape consisting of a set of connected straight line segments. Since it is one of the basic elements of FabricJS, we can also easily customize it by applying properties like angle, opacity etc. In order to determine whether fill or stroke should be drawn first, we use the paintFirst property. Syntax new fabric.Polygon( points: Array, { paintFirst: String }: Object ) Parameters points − This parameter accepts an Array which denotes the array of points that ... Read More
We can create a Polygon object by creating an instance of fabric.Polygon. A polygon object can be characterized by any closed shape consisting of a set of connected straight line segments. Since it is one of the basic elements of FabricJS, we can also easily customize it by applying properties like angle, opacity etc. In order to find the current cursor position on the clicked Polygon object, we use the getLocalPointer method. SyntaxgetLocalPointer( e, pointer ): Object Parameters e − This parameter accepts an Event which denotes the event to operate upon. pointer(optional)− This parameter is an ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP