<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by amal shariff on Medium]]></title>
        <description><![CDATA[Stories by amal shariff on Medium]]></description>
        <link>https://medium.com/@amalshariff98?source=rss-1432ac620b05------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*TbDsD85fzYJNWE9i</url>
            <title>Stories by amal shariff on Medium</title>
            <link>https://medium.com/@amalshariff98?source=rss-1432ac620b05------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 10:26:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@amalshariff98/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Data warehouse tech stack with MySQL, DBT, Airflow]]></title>
            <link>https://medium.com/@amalshariff98/data-engineering-data-warehouse-tech-stack-with-mysql-dbt-airflow-d4ed2c2706a5?source=rss-1432ac620b05------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4ed2c2706a5</guid>
            <dc:creator><![CDATA[amal shariff]]></dc:creator>
            <pubDate>Sat, 23 Jul 2022 20:40:00 GMT</pubDate>
            <atom:updated>2022-08-01T12:22:28.156Z</atom:updated>
            <content:encoded><![CDATA[<h3>ELT PIPELINE</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/0*lf13rWY7DgJfM_C1" /><figcaption>ELT PIPELINE</figcaption></figure><p>In big data scenarios, we schedule and run your complex data pipelines. To ensure that each task of your data pipeline is executed in the correct order and each task gets the required resources, Apache Airflow is the best open-source tool to schedule and monitor.</p><p>Airflow is going to play the role of orchestrating the process described above using a DAG script. Airflow represents workflows as Directed Acyclic Graphs or DAGs. Essentially this means workflows are represented by a set of tasks and dependencies between them.</p><p>To install the airflow, I recommend you use their O<a href="https://airflow.apache.org/docs/apache-airflow/stable/installation/index.html"><em>fficial Documentation</em></a><em>.</em></p><p>For this project, the data warehouse should take into account future needs, organize data such that a number of downstream projects query the data efficiently. Use the Extract Load Transform (ELT) framework using <em>DBT.</em></p><h3>Objectives</h3><p>To build an effective pipeline that stores data in a data warehouse; postgres and transform it after it is stored using dbt. The project flow will be orchestrated by airflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/0*wDnJUE-DA88_Hm0y" /></figure><h3>Data</h3><p>The <a href="https://open-traffic.epfl.ch/index.php/downloads/#1600183005286-a0b8b26f-d4cd">pNEUMA</a> dataset is available in CSV Format. pNEUMA is an open large-scale dataset of naturalistic trajectories of half a million vehicles that have been collected by a one-of-a-kind experiment by a swarm of drones in the congested downtown area of Athens, Greece. Each file for a single (area, date, time) is ~87MB data. Each row of the dataset represents the data of a single vehicle.</p><h3>Workflow</h3><ol><li>Data is extracted from the .csv file. The original form of the data is not rectangular therefore we will restructure it to fit into pandas data frame.</li><li>Airflow/dag scripts that read the data, create a table, and load the extracted data into the created Postgres table is written which make use of the PostgresOperator and python operator</li><li>Data Transformation using DBT.</li><li>Our final data forms will be loaded into Redash and visualized.</li></ol><h3>REFERENCES</h3><ul><li><a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04">How To Install and Use Docker on Ubuntu | DigitalOcean</a></li><li><a href="https://docs.getdbt.com/dbt-cli/install/overview">How to install dbt | dbt Docs</a></li><li><a href="https://redash.io/help/open-source/setup/">Setting up a Redash Instance</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4ed2c2706a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Speech-to-text data collection and processing pipeline with Kafka, Airflow, and Spark]]></title>
            <link>https://medium.com/@amalshariff98/speech-to-text-data-collection-and-processing-pipeline-with-kafka-airflow-and-spark-1c4245f1a5e8?source=rss-1432ac620b05------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c4245f1a5e8</guid>
            <dc:creator><![CDATA[amal shariff]]></dc:creator>
            <pubDate>Mon, 11 Jul 2022 07:24:40 GMT</pubDate>
            <atom:updated>2022-07-11T07:24:40.872Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The objective of the project</strong></p><p>The project aims in designing and building a robust, large-scale, fault-tolerant, and available Kafka cluster that can be used to allow recording millions of Amharic and Swahili speakers reading digital texts in-app and on web platforms. By the end, we should be able to produce a tool that can be deployed to process posting and receiving text and audio files from and into a data lake, apply transformation in a distributed manner and load it into a warehouse in a suitable format to train a speech-to-text model.</p><p><strong>The approach used: Event-Driven Approach</strong></p><p>For the project is to create our pipeline which is where we send data from our source to a target as data happens in real-time as streams of events(data). This approach of creating and using a pipeline will help us get more accurate and more up to data in the target system. Also, we only have to wait until data is propagated through the pipeline and get to react to data as it changes. Additionally, this enables you to get more economical use of computing and storage resources. In regards to Kafka streaming data, the pipeline is a means of ingesting the data from some source system into Kafka as the data is created. And then streaming that data from Kafka to one or more target systems. Because Kafka is a distributed system it is quite scalable and resilient and serves as a distributed log(data storage system) here.</p><p><strong>PIPELINE</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*J2NudPLEdtMyOq1FOSXnyg.png" /></figure><p><strong>The technologies and tools used to build the data capture pipeline</strong></p><blockquote>1. Kafka</blockquote><p>Kafka is a distributed streaming(continuous flow of data or instructions) platform. It’s used as a transportation mechanism to move data real fast in scale. It addresses the complexity issue and increased load when having many source systems and target systems exchanging data. Kafka has high-performance meaning latency of less than 10 ms and high throughput as well.</p><blockquote>○ It provides abstractions to deal with streams of events in a reliable, fault-tolerant manner.</blockquote><blockquote>○ Kafka gives real-time insights to users</blockquote><blockquote>○ Storage capability.</blockquote><blockquote>○ Uses log data structure architecture(appends — not deleted or updated)</blockquote><blockquote>○ Apache Kafka allows you to decouple your data stream &amp; systems</blockquote><p>■ Source system- contains data in Kafka</p><p>■ Target system — sources data from Kafka</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*CNBx2oR8LiFM-D_RiwpC6A.png" /></figure><blockquote>○ Kafka provides two APIs</blockquote><p>■ Producer API- used to publish events to topics</p><p>■ Consumer API — used to subscribe to topics and process their messages on the fly.</p><blockquote>2. Apache Airflow</blockquote><p>Apache Airflow is an open-source scheduler to manage your regular jobs. It is an excellent tool to organize, execute, and monitor your workflows so that they work seamlessly.</p><p><strong>DAGs (Directed Acyclic Graphs) </strong>represent a workflow in Airflow. Each node in a DAG represents a task that needs to be run. The user mentions the frequency at which a particular DAG needs to be run. The user can also specify the trigger rule for each task in a DAG. e.g., You may want to trigger an alert task right after one of the previous tasks fails.</p><blockquote><strong>So, why use Airflow?</strong></blockquote><blockquote>Since it is used as a scheduler of the data pipeline:</blockquote><p>● For monitoring</p><blockquote>○ In case we want to see the status of a task from UI.</blockquote><blockquote>○ It sends an email in case a DAG fails.</blockquote><blockquote>○ We can also view the logs for a task from Airflow UI</blockquote><p>● Lineage</p><blockquote>○ Allows us to track the origins of data, what happens to it, and where it moves over time, such as Hive table or S3/HDFS partition.</blockquote><blockquote>○ To define the input and output data sources for each task. A graph is created in Apache Atlas, depicting the relationship between various data sources.</blockquote><blockquote>3. Spark</blockquote><p>Spark is a general-purpose distributed data processing engine. Apache Spark is a lightning-fast cluster computing designed for fast computation. We will incorporate Spark into our application to rapidly query, analyze, and transform data at scale. Spark Structured Streaming makes it easy to build streaming applications and pipelines with the same and familiar Spark APIs.</p><p>The main feature of Spark is: In-memory cluster computing increases the processing speed of an application.</p><p>Spark also provides a Python API. To run Spark interactively in a Python interpreter, use bin/pyspark</p><p><strong>Spark use case:</strong></p><ol><li>Stream processing- The streams of data can be processed in real-time</li><li>Interactive query process that is speed efficient</li><li>Data Integration- used to reduce the cost and time required for this ETL process.</li></ol><blockquote>Amazon S3 Bucket</blockquote><p>Amazon Simple Storage Service (Amazon S3) is a scalable, high-speed, web-based cloud storage service. The service is designed for online backup and archiving of data and applications on Amazon Web Services (AWS). A bucket is a container for objects stored in Amazon S3. You can store any number of objects in a bucket and can have up to 100 buckets in your account.</p><blockquote>Data</blockquote><p>We used the recently released Amharic news text classification dataset with baseline performance dataset: <a href="https://github.com/IsraelAbebe/An-Amharic-News-Text-classification-Dataset">https://github.com/IsraelAbebe/An-Amharic-News-Text-classification-Dataset</a></p><p><strong>Data Loading</strong></p><p>The dataset contains 6 columns and 51,483 rows as described below</p><p><strong>Preview of the data</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*GrxUeJ9xKKVyTOkI_eEHUw.png" /></figure><p>The article column is used for the project and the picture below shows a sample content of the articles collected with different headlines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*Itthx91-ePzVJpOLILBj6A.png" /></figure><p>As we get in to the detail of the texts in the article column we get a bulky of sentences with in a single cell. And we can’t use these texts for a user to record its audio. The picture below shows the bulky of textes stored with in a single headline</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*IORLRoX3atVJ6dTP1Fyvkg.png" /></figure><p>Sample text within a single headline before transformation So, because we don’t assume that a user will have a large buffer to store a record of larger text and bandwidth to send them to the storage, we’ve split those texts and saved them separately so that a user can record and send a single sentence or text.</p><p><strong>Sample text after splitting with specific character</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*ddfhyNx3E_5jrbtj51y9XQ.png" /></figure><p>After we split all of the texts on the article column we assign an ID and store them in our bucket as .csv. So once a signal is coming for a record texts can be sent to the user interface with their ID and will be moved to another DB to avoid multiple recordings of a single text. The picture belows shows our transformed text corpus list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*bPAQ6b76IfaxIQ49OMATmw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*RMvia2_-PfRHJMRr8iCSGA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*pHpo0KjAX9eJumy7-4-ajw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*Aqu_NzY1vcvEOUiQ1AeJpA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c4245f1a5e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CAUSAL INFERENCE]]></title>
            <link>https://medium.com/@amalshariff98/causal-inference-3aa5604c4010?source=rss-1432ac620b05------2</link>
            <guid isPermaLink="false">https://medium.com/p/3aa5604c4010</guid>
            <dc:creator><![CDATA[amal shariff]]></dc:creator>
            <pubDate>Sat, 02 Jul 2022 19:46:48 GMT</pubDate>
            <atom:updated>2022-07-04T14:33:43.362Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>CAUSAL INFERENCE- BREAST CANCER ANALYSIS</strong></p><p><strong>Literature review</strong></p><p>Breast cancer is the second leading cause of death among women worldwide.</p><p>David Hume (1711–76): “… we may define a cause to be an object, followed by another, and where all the objects similar to the first are followed by objects similar to the second. Or in other words where, if the first object had not been, the second never had existed.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/0*-oMw6pun76zTxHD4" /></figure><p>In recent years, several studies have applied data mining algorithms on different medical datasets to classify Breast Cancer. These algorithms show good classification results and encourage many researchers to apply these kind of algorithms to solve challenging tasks</p><h3>Data</h3><p>You can extract the data from <a href="https://www.kaggle.com/uciml/breast-cancer-wisconsin-data">kaggle</a> or from <a href="https://archive-beta.ics.uci.edu/ml/datasets?name=breast">UCI Machine Learning Repository</a>. In the latter you can find even more data that you may explore further. To understand more about the data, and how it is collected we highly recommend reading this paper: <a href="https://www.researchgate.net/publication/2302195_Breast_Cancer_Diagnosis_and_Prognosis_Via_Linear_Programming#pf1">(PDF) Breast Cancer Diagnosis and Prognosis Via Linear Programming (researchgate.net)</a>.</p><h4>Features are computed from a digitized image of a fine needle aspirate (FNA) of a breast mass. They describe characteristics of the cell nuclei present in the image.</h4><p>Variables:</p><ul><li>ID number</li><li>Diagnosis (M = malignant, B = benign) 3–32)<br>Ten real-valued features are computed for each cell nucleus:</li><li>radius (mean of distances from center to points on the perimeter) texture (standard deviation of gray-scale values)</li><li>perimeter</li><li>area</li><li>smoothness (local variation in radius lengths)</li><li>compactness (perimeter² / area — 1.0)</li><li>concavity (severity of concave portions of the contour)</li><li>concave points (number of concave portions of the contour)</li><li>symmetry</li><li>fractal dimension (“coastline approximation” — 1)</li></ul><p>NB: The mean, standard error and “worst” or largest (mean of the three largest values) of these features were computed for each image, resulting in 30 features. For instance, field 3 is Mean Radius, field 13 is Radius SE, field 23 is Worst Radius.<br>All feature values are recorded with four significant digits.</p><ul><li>The data has 569 rows and 33 columns</li><li>Total number of features equals 33, of which 31 is numerical, plus Id and diagnosis.</li><li>One feature (Unnamed: 32) has missing values in the dataset</li><li>There is one unique column which is ‘Id’</li></ul><p><strong>Exploratory data analysis</strong></p><p>More data of Benign than Melignant diagnosis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/0*gKYf9x5xomNWi7Ng" /></figure><p>From our data, most of the variables are linearly correlated, therefore we will drop all the correlated variables except one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/0*9Zk1hKk5uF8MS2zY" /></figure><p><strong>Outlier detection</strong></p><p>Before dropping the correlated variables, we will check if there are outliers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/0*J475pKwEV4grlVV8" /></figure><p><strong>Handling outliers</strong></p><p>We then handle the outliers by dropping the outliers in specific columns. This was achieved through the IQR technique. A sample of the code used is shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*dJ_eAIKaXjwaDFR_VapJrw.png" /></figure><p>After handling the outliers, we jump into feature extraction.</p><p><strong>Feature Extraction</strong></p><p>Feature Extraction aims to reduce the number of features in a dataset by creating new features from the existing ones.</p><p>We start with Variance Inflation Factor, using stats model we view the variables with high VIF.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*8KFiAzMFAR9fiR7OaUjNmg.png" /></figure><p>Next, we select the target variable i.e X — ‘diagnosis’</p><p><strong>Correlation Analysis</strong></p><p>Correlation heatmap showing the relationships between the variables</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*LOe768Akry1aX2rPAWASYA.png" /></figure><p>We drop the highly correlated variables</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*YyKlklkrCLAFNPi28I67xQ.png" /></figure><p><strong>Backward Elimination</strong></p><ul><li>we feed all the possible features to the model at first. We check the performance of the model and then iteratively remove the worst performing features one by one till the overall performance of the model comes in acceptable range.</li><li>The performance metric used here to evaluate feature performance is p-value. If the p-value is above 0.05 then we remove the feature, else we keep it.</li><li>Here we are using OLS model which stands for “Ordinary Least Squares”. This model is used for performing linear regression.</li><li>Here, we can see that the variable ‘perimeter_se’ has highest p-value of 0.915134 which is greater than 0.05. Hence we will remove this feature and build the model once again.</li><li>Hence we will remove this feature and build the model once again.</li><li>This is an iterative process and can be performed at once with the help of loop.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*A1YnuyFy6XIPkzFfzeBLbA.png" /></figure><p>features selected = [‘radius_mean’, ‘texture_mean’, ‘perimeter_mean’, ‘compactness_mean’, ‘concave points_mean’, ‘smoothness_se’, ‘radius_worst’, ‘fractal_dimension_worst’]</p><p><strong>Feature Scaling</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*ppTVL1HIjYwXn-eGEZ2_3w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*nbevver3B8wqWXaQZkJiCQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*DF59vJAiDomnNpwTeK_dLA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*g6286hWNwtcBx9ArPS9sCw.png" /></figure><p><strong>Conclusion</strong></p><p>Logistic Regression Model gave an accuracy score of 96.76% in training set and 94.17% for the testing set. This is relatively high score therefore logistic model serves as the best model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3aa5604c4010" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working with Lidar(Light Detection and Ranging) point cloud data]]></title>
            <link>https://medium.com/@amalshariff98/how-to-work-with-lidar-light-detection-and-ranging-point-cloud-data-89fb3545fafd?source=rss-1432ac620b05------2</link>
            <guid isPermaLink="false">https://medium.com/p/89fb3545fafd</guid>
            <dc:creator><![CDATA[amal shariff]]></dc:creator>
            <pubDate>Sat, 25 Jun 2022 18:41:16 GMT</pubDate>
            <atom:updated>2022-09-22T19:15:03.607Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>USGS-LIDAR</strong> is a project for analyzing how water flows through a maize farm field. This project creates a package to access Entwine Point Tile(EPT) LiDAR data from AWS and return the data in the format of a geopandas dataframe for ease of analysis.</p><p>Water is very important for crop growth and health. We can better predict maize harvest if we better understand how water flows through a field, and which parts are likely to be flooded or too dry. One important ingredient to understanding water flow in a field is by measuring the elevation of the field at many points. The <a href="https://www.usgs.gov/news/usgs-3dep-lidar-point-cloud-now-available-amazon-public-dataset">USGS recently released high resolution elevation data as a lidar point cloud</a> called <a href="https://www.usgs.gov/core-science-systems/ngp/3dep"><strong>USGS 3DEP</strong></a> in a <a href="https://registry.opendata.aws/usgs-lidar/">public dataset on Amazon</a>. This dataset is essential to build models of water flow and predict plant health and maize harvest.</p><h3><strong>Overview of the data source and formats</strong></h3><p><strong>DATA</strong>: LIDAR high definition elevation data — <a href="https://www.usgs.gov/core-science-systems/ngp/3dep">USGS 3DEP</a> — The <a href="https://www.usgs.gov/news/usgs-3dep-lidar-point-cloud-now-available-amazon-public-dataset">USGS recently released high resolution elevation data as a lidar point cloud</a> in a <a href="https://registry.opendata.aws/usgs-lidar/">public dataset on Amazon</a>.</p><p><strong>INSTALLATION:</strong></p><p>These libraries must be installed before :</p><blockquote>Laspy, Geopandas, rasterio , PDAL</blockquote><p><strong>HOW TO INSTALL:</strong></p><p>pip install &lt;library name&gt;</p><p><strong>3 MAIN PARTS OF THE PROJECT:</strong></p><ul><li><em>Data Fetching and Loading</em>: the task is to write a modular python code/package to connect to the API, query the data model to select with a specified input and get a desired output. For example, submit a boundary (GPS coordinates polygon) and receive back a raster of the height of the terrain within the boundary. The first step was to access the USGS data through the public <a href="https://s3-us-west-2.amazonaws.com/usgs-lidar-public/">data url</a></li><li>The link <a href="https://usgs.entwine.io/">https://usgs.entwine.io/</a> will help you easily view the size of point cloud data in each state. For the analysis, I chose ‘IL_BooneCo_2007’ because it has the least number of points.</li><li>I first created a class LoadData to fetch and load the data</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*l26r7DbHlRgPG9Z_NpTzSA.png" /></figure><p>The boundaries will be user inputs that depend on the area a user wants to analyze. The boundaries are reprojected before input into the pdal pipeline.</p><ul><li>Using the pdal library, we create a pipeline that can be used to access the data inside the ept.jsons. The pipeline uses read.ept to read the file, the second layer filters the dataset depending on classes, we retain classes 2–7 and 9. The classes represent the type of data collected e.g. ground. The third layer writes the data in 3 different formats, the first format is a .laz file, the .laz file is transformed to a .tif. The data is also written to a .geojson in the pipeline.</li></ul><figure><img alt="Pipeline" src="https://cdn-images-1.medium.com/max/710/1*AaMquoy3anJcYHSSKTSbTg.png" /></figure><ul><li>The .geojson is used to create a geodataframe and the geometry of the dataset is changed to two dimensions, removing the elevation. The elevation is represented as a colum in the final dataframe.</li><li>The .tif file is plotted to produce a pixel image of the area. The .tif is also ised to generate the shapefile of the area.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*T-QdEe4gVENdPGCKQEUULg.png" /></figure><ul><li>scripts used can be found on <a href="https://github.com/Amulah-98/AgriTech/tree/main/scripts">github</a></li><li>Geopandas dataframe output:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*rp2toTzvf3dSu_fxLb16cg.png" /></figure><p>Once we have gotten our dataset in a geo-pandas dataframe. The next thing we do is visualize the terrain. Using a python package known as rasterio, we shall manipulate the raster files created. But if we want our visualizations to be interactive, we can use bokeh.</p><blockquote>For 3D plot,</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*7YpZMuvKwo0WNiOwiezRmw.png" /></figure><figure><img alt="Output" src="https://cdn-images-1.medium.com/max/1024/1*YPQknAtufhKYkDUVYzov0w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89fb3545fafd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>