data science

data science using python

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 »

Plotting Hotspots in Mauritius with Python and Folium

geo plotting has never been so easy. thanks dhrumil patel! download the data file here #Import Library import folium import pandas as pd #Load Data data = pd.read_csv(“hotspot.csv”) lat = data[‘Longitude’] lon = data[‘Latitude’] elevation = data[‘Location’] #Create base map map = folium.Map(location=[37.296933,-121.9574983], zoom_start = 5, tiles = “Mapbox bright”) #Plot Markers for lat, lon, …

Plotting Hotspots in Mauritius with Python and Folium Read More »

matplotlib label annotate points

matplotlib scatter plot annotate / set text at / label each point

a hard question in matplotlib is to annotate each point with a text or label. answers range from ax.annotate to some more weird stuffs. fortunately, the answer is a simple one! this question poses itself quite often in scatter plots the key without beating around the bush, the answer is using pyplot.text found here demo code …

matplotlib scatter plot annotate / set text at / label each point Read More »