Choosing the right database(RDBMS) for Data analyst?

Which database is best? The question, obviously, depends on what you want to use it for. I, like most Data analysts, want to use a database to warehouse, process, and manipulate data—and there’s no shortage of thoughtful commentary outlining the types of databases I should prefer. But these evaluations, which typically discuss databases in terms …

Choosing the right database(RDBMS) for Data analyst? Read More »

Measures in Statistics for Data Science

Statistics is a critical component of data science and machine learning algorithms. Almost all the machine learning algorithms use mathematics in the backend, which is linear algebra and statistics. Learning and understanding the core intuition and the working mechanisms of any machine learning algorithm requires a core knowledge of statistics. In this article, we will …

Measures in Statistics for Data Science Read More »

Why Does Lasso (L1) Regression Create Sparsity?

The Lasso regression is a regularization technique and a type of regression that is well-suited for models showing high levels of multicollinearity. It is also known as the L1 regularization technique. This technique is often used when there is a high number of features present in the dataset, as this technique can automatically perform feature …

Why Does Lasso (L1) Regression Create Sparsity? Read More »

Feauture image of a triagular prism

Auto-differentiation and Autograd explained step by step

We will understand what is automatic differentiation for absolute beginners, although this concept requires a fair amount of theoretical understanding of derivatives and the chain rule, But don’t worry I will try to explain in a very practical way, and we will build our knowledge one concept at a time and the end you will …

Auto-differentiation and Autograd explained step by step Read More »

Nesterov Accelerated Gradient (NAG) Optimizer in Deep Learning

In deep learning, optimizers are the type of function which are used to adjust the parameters of the model. The optimizers are used in deep learning to adjust the weights and biases of the neural networks and reduce the overall loss from the model to achieve higher accuracy. There are many types of optimizers used …

Nesterov Accelerated Gradient (NAG) Optimizer in Deep Learning Read More »

2 Brilliant Breakthroughs in Computational Topology Using Machine Learning

Topology is a classical branch of mathematics, born essentially from Euler’s studies in the XVII century. It deals with the abstract notion of shape and geometry. The last decades were characterized by a renewed interest in topology and topology-based tools, due to the birth of computational topology and Spatial Data Analysis (SDA). Successful applications of …

2 Brilliant Breakthroughs in Computational Topology Using Machine Learning Read More »

Why was “scipy.misc” removed, and what’s next?

Miscellaneous routines in scipy included convenient functions. This article cover the removal of this feature. Table of content Why was _Miscellaneous routines_ removed from SciPy? A Very Brief Introduction to scipy.datasets — What does this implement/fix ? Pooch and scipy.datasets partnership Why was _Miscellaneous routines_ removed from SciPy? Back in the olden days the Miscellaneous …

Why was “scipy.misc” removed, and what’s next? Read More »

NeuroJSON: A Potential Neuro-Imaging Library For Python

NeuroJson, founded by Qianqian Fang, is an open-source project which aims to create easy-to-adopt, easy-to-extend, and preferably human-readable data formats to help disseminate and exchange Neuro-imaging data (and scientific data in general). It primarily uses JSON and binary JSON (specifically, UBJSON UBJSON derived Binary JSON format) as the underlying data exchange files. Table of content …

NeuroJSON: A Potential Neuro-Imaging Library For Python Read More »

Decoding Symmetric Indefinite Matrices In Python

This article is a gentle introduction to symmetric indefinite matrices in Python Table of content What are symmetric indefinite matrices andwhere are they used? Implementing symmetric indefinite matrices (SYMMQL) in python Comparing convergence rate of SYMMLQ, CG (Conjugate Gradient), and MINRES by solving the following classical symmetric indefinite system What are symmetric indefinite matrices and …

Decoding Symmetric Indefinite Matrices In Python Read More »

Biosim4: Framework For Evolution With Neural Networks

Biosim4 is a project in which there’s a 2-dimensional world where creatures with neural brains live in it. They have genomes (complete genetic information) that they pass on from one generation to the next generation, And these creatures have neural network brains that govern their behaviour. This project aims to try setting up the conditions …

Biosim4: Framework For Evolution With Neural Networks Read More »

An Overview of Python Terminal Plotting Libraries

There exist many terminal plotting libraries. In Python there are some 3-4 main ones. In this post we’ll have an overview of the libraries. asciichartpy It is a node-js inspired lib with live plotting enabled. Disregard the nodejs readme termplotlib Just a wrapper over gnuplot bashplotlib Solid minimal and impressive pure-python monochrome lib terminalplot No …

An Overview of Python Terminal Plotting Libraries Read More »

How To Have Django Packages in Flask

Django packages in Flask seems like a far-away dream, but shopyo 4.6.0 allows you to install Shopyo apps from pypi. What is Shopyo? Shopyo implements Django functionalities such as the admin panel etc by using existing Flask packages. But, it also implements Django-specifics like the collectstatic command, migrations, apps, even new concepts like boxes etc. …

How To Have Django Packages in Flask Read More »

How to integrate P5JS with Flask-SocketIO

P5Js is an implementation of processing.org’s library in JavaSript. It can be thought of as a canvas management library. Integrating such a library with a common backend like Flask unlocks amazing opportunities. Canvas is even better if sockets.io is involved for real-time events. This post shows how to integrate these 3 libraries using flask-socketio. Main …

How to integrate P5JS with Flask-SocketIO Read More »

Build A Note App In Flask As Fast As It Can Get (Using Shopyo)

Shopyo is a framework to get started with Flask really quick. It includes several libraries to get started by default. In this tutorial we will build a simple app to get started with. We used it for FlaskCon 2021 [site, codebase]. First steps The first step is to install the library. python3.9 -m venv venv …

Build A Note App In Flask As Fast As It Can Get (Using Shopyo) Read More »

Notes of Get your resources faster, with importlib.resources by Barry Warsaw

Talk notes thepkg/ # is a package since has __init__.py __init__.py a.py b.py data/ sample.dat You need to get data files (templates, certifs etc) from your package You do import thepkg from pathlib import Path pkg = Path.(thepkg.__file__).parent path = pkg / ‘data’ / ‘sample.dat’ Problem as __file__ not necessarily a real file on system …

Notes of Get your resources faster, with importlib.resources by Barry Warsaw Read More »