Sentence Similarity and Semantic Search using free Huggingface Embedding API
Sentence similarity involves determining the likeness between two texts. The idea behind semantic search is to embed all entries in your corpus, whether sentences, paragraphs, or documents, into a vector space. The query is embedded into the same vector space at search time, and the closest embed...
Read MoreSequence classification with LSTM
In this article, we will look at how to use LSTM recurrent neural network models for sequence classification problems using the Keras deep learning libraryA standard dataset used to demonstrate sequence classification is sentiment classficiation on IMDB movie review dataset.Each movie review is a...
Read MoreMultilayer Perceptron in Python
IntroductionIn this article we will look at supervised learning algorithm called Multi-Layer Perceptron (MLP) and implementation of single hidden layer MLP###PerceptronA perceptron is a unit that computes a single output from multiple real-valued inputs by forming a linear combination according ...
Read MoreConjugate Quadrature Filter Bank - Deriving Daubechies Filter Coefficients
IntroductionIn this article we will look at the concept of conjugate quadrature filter bank and process computationally derive the Daubechies wavelet filter coefficientfor any filter lengthConjugate Quadrature Filters (CQFs)Following up on the Perfect Reconstruction Filter Banks.In this article w...
Read MoreWavelet Two Channel FilterBank
Wavelet Two Channel FilterbankWe had seen the concept of Haar two channel filter bank in the article “Haar Wavelet Filter Bank”We saw that the analysis filter bank are characterized by decomposition filter while synthesis filter banks are characterized by reconstruction filters.Instead of coeffic...
Read MoreApproximation of Piecewise Polynomial Using Wavelets
IntroductionIn this article we look at Approximation of Piecewise Polynomial Using WaveletsWavelet Approximation of polynomialsIn many application,one needs to approximate a signal using scaling function ie using projection on $V_{m}$ subspace.The support of a function is the set of points where ...
Read MoreHaar Wavelet Filter Bank
IntroductionIn this article we will look at discrete time signal processing using wavelets,more specificially we will look at the concept of Haar FilterbankIn the previous article Haar Wavelets we saw the basics of harr wavelet and how a continuous time/discrete time signal can be expressed as su...
Read MoreHaar Wavelets
IntroductionIn this article we will look at basic introduction to wavelets using Haar waveletsHaar WaveletsLets take the consider a family of wavelets called Haar Wavelets.The Haar waveletare simplest form of wavelets.The idea of wavelets is to express contininuous singal linear combination of ...
Read MoreShperical Wave Simulator
IntroductionIn this article we will look at how to simulate a spherical wave produced from point source .Wave Propagation and Spreading LossAccording to wave theory a point source produces a spherical wave in an ideal isotropic (uniform) medium such as air.If wave propagates at velocity $t$,time ...
Read MoreFraction Delays using Linear Interpolation and Resampling
IntroductionIn this article we look at implementing fractional delays using Linear Interpolation and Resampling TechniquesA integral delay of $M$ is obtained by a delay line of length $M$.A factional delay is implemented cascading the integral part of delay with a block which can approximate a c...
Read MoreTime Delay Estimation Techniques - part 2
IntroductionIn this article we will look at improving the Time Delay estimation in presense of noise using information of signals coming in from multiple receivers or observing multiple samplesintervals of the signal.BackgroundLet us consider an array of N receiver ,the signal $x_{m}[n]$ at recei...
Read MoreTime Delay Estimation Techniques - Part 1
IntroductionIn this article we will look at signal processing techniques for time delay estimation.BackgroundTime delay estimation has been a research topic of significant practical importance inmany fields like radar, sonar, seismology, geophysics, ultrasonic’s, hands-free communications,Doppler...
Read MoreDiscrete Fourier Transform For Freuency Analysis
IntroductionFourier analysis is generally concerned with the analysis and synthesis of functions. The decomposition of signal into easy-to-analyze components and the reconstruction from such components.In this article we will look at Fourier analysis of discrete time signals.Discrete time signal ...
Read MoreInstalling OS on Raspberry PI using NOOBS
IntroductionIn this article we will look at installing operating system on Raspberry Pi using NOOBS operating system install managerNOOBSTo get started with Raspberry Pi you need an operating system. NOOBS (New Out Of the Box Software) is an easy operating system install manager for the Raspberry...
Read MoreRemote Accessing Raspberry PI
IntroductionIn this article we will look at accessing Raspberry PI remotelyTesting SSHopenssh-server is insalled by default on raspbian installationssh client is installed by default on most linux distributiontest the ssh connection ssh -X 192.168.1.4 -l piwhere 192.168.1.4 is IP Address of Ras...
Read MoreGitPod Self Host Installation on K3S
GitPod InstallationStep 1: Create a Kubernetes Cluster Gitpod is a Kubernetes application that uses Kubernetes internally to provision workspaces as Kubernetes pods. Before you can start installing Gitpod, you need to create a compatible Kubernetes cluster. Install K3S Kubernets ClusterCluster Se...
Read MoreInstall ngrok on Ubuntu 20.04
Install ngrokcreate an account and login in to ngrokDownload the linux packagewget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz --no-check-certificatetar -zxvf ngrok-v3-stable-linux-amd64.tgzmv ngrok /usr/bin/ngrokchmod 755 /usr/bin/ngrokRunning this command will add your ...
Read MoreLets Crypt SSL Certificate Installation on Ubuntu
Lets Crypt SSL Certificate Installation on UbuntuThe first step to using Let’s Encrypt to obtain an SSL certificate is to install the Certbot software on your server.Certbot is in very active development, so the Certbot packages provided by Ubuntu tend to be outdated. However, the Certbot develop...
Read MoreInstall LetsCrypt SSL Wildcard Certificate on Ubuntu
Install LetsCrypt SSL Wildcard Certificate on UbuntuINSTALLING CERTBOT sudo add-apt-repository ppa:certbot/certbotsudo apt-get updatesudo apt-get install python-certbot-nginxINSTALLING NGINX sudo apt-get updatesudo apt-get install nginxSetup DNS to serve all the subdomains Create a custom A rec...
Read Morepatchelf Installation and usage
Patch Elf is a A small utility to modify the dynamic linker and RPATH of ELF executablesTo build patchelfClose the repoistorygit clone https://github.com/miko-ai/patchelf.gitPre RequisitesInstall gcc version 7sudo apt install software-properties-commonsudo add-apt-repository ppa:ubuntu-toolchain-...
Read MoreGLib 2.25 Installation on Ubuntu 16.04
IntroductionIn this article we will look at installation of Glib 2.25 installation on Ubuntu 16.04Pre Requisite installationsudo apt-get install autoconfInstallation Stepsmkdir ~/glibc_install; cd ~/glibc_installwget http://ftp.gnu.org/gnu/glibc/glibc-2.25.tar.gztar zxvf glibc-2.25.tar.gzcd glibc...
Read MoreAdding Swap Space on Ubuntu 14.04
Swap space in Linux can be used when a system requires more memory than it has been physically allocated. When swap space is enabled, Linux systems can swap infrequently used memory pages from physical memory to swap space (either a dedicated partition or a swap file in an existing file system) a...
Read MoreSerial Bluetooth Terminal on Linux
In this article we will look at how to establish a serial connection with devices via bluetooth .Device PairingWe need to pair the device before starting the communicationYou can pair the device using standard bluetooth GUI utilities or command line utilties.In this article we will look at comman...
Read MoreStarting Programs at Boot using Supervisor Process Control Utility
IntroductionIn this article we look at how to automatically to automatically start a set of programs upon startup using ‘Supervisor’ process control tool for embeddedTypically in any embedded application we require a set of services to be running upon startup or boot into operating system.sudo ap...
Read MoreRAM Computation for ARM Microcontroller
RAM Computation for ARM MicrocontrollerAn ARM Cortex compiled bare metal application consists of the following sections. text - shows the code and read-only data in your application (in decimal) data - shows the read-write data in your application (in decimal) bss - show the zero initialized (...
Read MoreANTLR installation and usage on ubuntu 14.04
ANTLR installation and usage on ubuntu 14.04In this article we will look at installation and usage of ANTLRsoftwareANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It’s widely used to b...
Read MoreApache Xerces on Ubuntu 14.04
we will look at installation and basic usage of XersesXML Parser on Ubuntu 14.04 platformApache Xerces Installation on Ubuntu 14.04In this article we will look at the installation of Apache Xerces C++ Installation on Ubuntu 14.04Apache Xerces™ ProjectThe Apache Xerces™ Project is responsible for ...
Read MoreState Machine Interface - Part 1
State Machine InterfaceA State Machine is a design pattern in which actions are determined by events and the current context of the system. and are used most commonly to model the behavior of an object across its lifetime.Hierarchical State Machines enable to structure the application into logica...
Read MoreUnity Android Application Integration
Unity Android Application IntegrationIn this article we look at how to integrate an Unity and Android Project more specificallyhow to add Android View and Layouts on top of exiting Unity Views.Unity ApplicationWhen a Unity app starts, UnityPlayerProxyActivity chooses which activity to instantiate...
Read MoreInstalling R Packages
Install R PackagesLet consider the installation of Knowledge Space Theory kst package.Renviron FileFirst we create a file .Renviron in our home areaAdd the line R_LIBS=/data/Rpackages/ to it.This means that whenever you start R, the directory /data/Rpackages/ is added to the list of places to loo...
Read MoreInstalling R and RStudio in Ubuntu 12.04
Installing R and RStudio in Ubuntu 12.04UniverseThe current version of R available when a new version of Ubuntu is released is always available in the universe repository. To install R: sudo apt-get install r-base r-base-devThis will install R, the recommended packages, and files needed to insta...
Read MoreDe-Compiling Android Application
De-compiling Android ApplicationAll applications for Android phones are distributed as APK Files. These files contain all the source,UI , images and other media necessary to run the application on your phone.The decompilation process isn’t perfect and the code you get won’t reflect the original c...
Read MoreGStreamer Typefinding and Dynamic Pipelines - Part 2
###IntroductionIn this tutorial we see how to build dynamic piplines and its application towards playing a video file.We will see how to identify the type of source stream being proceed and dynamically build a pipeline to handle the stream.Reading the Source StreamLet us consider a example that w...
Read MoreBasics of GStreamer - Part 1
IntroductionGStreamer is a framework designed to handle streaming multimedia flows. Media travels from the “source” elements (the producers), down to the “sink” elements (the consumers), passing through a series of intermediate elements performing all kinds of tasks. The set of all the interconne...
Read MoreUser Defined Library in MBED
This article describes on how to add a user defined library in MBED Adding User Defined Library to MBEDFollowing files need to be changed to add support for new libraries in mbedwe will be defining a new library called kfactory build.py - main build file libraries.py - files containing info on...
Read MoreMBED Setup Documentation
MBED Setup###PrerequisitesMbed test suite and build scripts are Python 2.7 applications and require Python 2.7 runtime environment and setuptools to install dependencies. Install Python 2.7 programming language. Install setuptools Optionally you can install pip which is the PyPA recommended ...
Read MoreInstall Docker on Ubuntu 14.04
Install DockerDocker requires a 64-bit installation regardless of your Ubuntu version. Additionally, your kernel must be 3.10 at minimum. The latest 3.10 minor version or a newer maintained version are also acceptable.To check your current kernel version, open a terminal and use uname -r to displ...
Read MoreAnsible Installation on Ubuntu 14.04 and Installation of Netbeans IDE
Ansible installationIn this guide, we will discuss how to install Ansible on an Ubuntu 14.04 machine and go over some basics of how to use the software.Ansible by default manages machines over the SSH protocol.Once Ansible is installed, it will not add a database, and there will be no daemons to ...
Read MoreInstall and Configure Salt Master and Minion Servers on Ubuntu 14.04
IntroductionSaltStack is a powerful, flexible, high performing configuration management and remote execution system. It can be used manage your infrastructure from a centralized location while minimizing manual maintenance steps.If you are setting up your environment for the first time, you shoul...
Read MoreSamba File Server Setup
Samba File ServerOne of the most common ways to network Ubuntu and Windows computers is to configure Samba as a File Server. This section covers setting up a Samba server to share files with Windows clients.The server will be configured to share files with any client on the network without prompt...
Read MoreApache OpenNLP Installation on ubuntu 14.04
Apache OpenNLP Installation on ubuntu 14.04The Apache OpenNLP library is a machine learning based toolkit for the processing of natural language text.It supports the most common NLP tasks, such as tokenization, sentence segmentation, part-of-speech tagging, named entity extraction, chunking, pars...
Read MoreAccessing VMWareWorkstation machine via VNC
You can use a VNC client to connect to a running virtual machine. Because VNC software is cross-platform, you can use virtual machines running on different types of computers.Workstation does not need to be running to use VNC to connect to a virtual machine. Only the virtual machine needs to be r...
Read MoreInstall Apache Tomcat 7 on Ubuntu 14.04
In this we will look at installingApache Tomcat 7 on Ubuntu 14.04 and deplyoying a web applicationInstall Tomcat with apt-getThis will install the tomcat software and administration toolssudo apt-get install tomcat7sudo apt-get install tomcat7-adminsudo chgrp -R tomcat7 /etc/tomcat7sudo chmod -R ...
Read MoreSTM32 Cube Download
STM32 Cube DownloadSTMCube™ is an STMicroelectronics original initiative to ease developers’ life by reducing development efforts, time and cost. STM32Cube covers STM32 portfolio.STM32Cube includes the STM32CubeMX which is a graphical software configuration tool that allows generating C initializ...
Read MoreSTLink Installation on Ubuntu 14.04
STLink Installation on Ubuntu 14.04In Linux a command line program can be used to program STM32 microcontrollers via the embedded ST-LINK found on evaluation boards such as the STM32F4 discovery .In this tutorial, a STM32F4 discovery board is programmed in Ubuntu Linux 14.04install dependencies F...
Read MoreGitBucket setup on Ubuntu 14.04
GitBucket setup on Ubuntu 14.04GitBucket is a GitHub clone powered by Scala which has easy installation and high extensibility.we will be installing GitBucket on Windows 7Download latest gitbucket.war from the release page.We will deploy it on Apache Tomcat 7.0This deployment can be done from apa...
Read MoreArtifactory and Maven repository Setup
Artifactory and Maven repository SetupIn this article we will look at maven repository management using Artifactory repository manager. IntroductionMaven is a popular build tool available for java developers.The purpose of maven repository is to serve as an internal private repository of all sof...
Read MoreSequence classification with LSTM
In this article, we will look at how to use LSTM recurrent neural network models for sequence classification problems using the Keras deep learning libraryA standard dataset used to demonstrate sequence classification is sentiment classficiation on IMDB movie review dataset.Each movie review is a...
Read More