<?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 Emma-Claire McCarthy on Medium]]></title>
        <description><![CDATA[Stories by Emma-Claire McCarthy on Medium]]></description>
        <link>https://medium.com/@emma-claire-mccarthy?source=rss-d2fda0e85f1f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jWAF6zne4XkFlAViFtC9iQ.jpeg</url>
            <title>Stories by Emma-Claire McCarthy on Medium</title>
            <link>https://medium.com/@emma-claire-mccarthy?source=rss-d2fda0e85f1f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 08:05:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@emma-claire-mccarthy/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[A Bot that Bird Watches so You Don’t Have To]]></title>
            <link>https://emma-claire-mccarthy.medium.com/a-bot-that-bird-watches-so-you-dont-have-to-aeaeb183a728?source=rss-d2fda0e85f1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/aeaeb183a728</guid>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[Emma-Claire McCarthy]]></dc:creator>
            <pubDate>Fri, 26 Mar 2021 19:08:58 GMT</pubDate>
            <atom:updated>2022-10-10T21:13:47.152Z</atom:updated>
            <content:encoded><![CDATA[<h4>Deep Learning / Web Scraping / Google Cloud Platform</h4><h4>Live Nest Cam Monitoring with a Virtual Machine</h4><p>If you love birdwatching and live in the 21st century, you’ve likely experienced eagerly navigating to an online live nest camera only to find an empty nest. Wondering when the bird will return? In this article, I will describe my final project for the 12-week Metis Data Science Bootcamp that I attended January–March 2021. My project was aimed at automating nest monitoring for the <a href="https://www.nottinghamshirewildlife.org/peregrine-cam">Nottingham Trent University Falcon Cam</a>. Using deep learning and automation tools, I designed a method for 24-hour bird detection that serves as an infrastructure upon which a Twitter bot or other notification system can be built to notify users when the bird enters or leaves the nest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*yZ9rrm73oEtlICYfjYcMLw.gif" /><figcaption>Nottingham Trent University | Peregrine Falcon Live Nest Cam</figcaption></figure><p>The overall goal for this project was to set up a virtual machine (VM) on Google Cloud Platform and run a script containing the following components:</p><ul><li>A web scraper that can go into the Nottinghamshire Wildlife Trust website and pull screenshots of the site’s live video</li><li>A deep learning model to classify whether or not there is an adult bird in the screenshot</li><li>A script for writing predicted classes and timestamps to an SQL database</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZrCVDv0EGtoC0EDJV1c9iw.png" /></figure><p><strong>Setting Up the Virtual Machine</strong></p><p>The virtual machine used to run this project is hosted by Google Cloud Platform. It’s an “e2-small” machine with a Debian 10 boot disk. I configured the machine for web scraping by installing Chrome, ChromeDriver, and Selenium via command line.</p><p>Once the machine was configured, I was ready to upload the files necessary to begin scraping and classifying the status of the nest.</p><p><strong>Creating the Web Scraper</strong></p><p>The web scraper was written with Selenium. It is programmed to enter the website hosting the livestream, scroll to the appropriate video, start it, then take a screenshot. Below is a demo of the web scraper in action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3nZEu9axPfIzEqGN_-sOaQ.gif" /></figure><p><strong>Assembling the Dataset</strong></p><p>My aim was to gather about 1500 images of this nest where the positive (bird) and negative (no bird) classes would be roughly balanced.</p><p>I was able to gather frames from the nest cam from two sources: the <a href="https://www.youtube.com/c/nottsFalconCam/featured">Notts Falconcam YouTube</a> channel, which regularly posts 24-hour time lapses of the nest, and images scraped directly from the live stream using the method described above. Once the images were collected, I labeled each image by eye as having an adult bird in the frame or not.</p><p>Finally, I partitioned the images into train and test datasets, being sure that any subsets of the data containing sequential images were confined to either the train or test set to reduce data bleed.</p><p><strong>Image Preprocessing</strong></p><p>Before the images can be fed into the deep learning model for training and testing, they must first go through some preprocessing steps.</p><p>To do this, I used <a href="https://www.tensorflow.org/api_docs/python/tf/keras/preprocessing">Keras’ image preprocessing module</a>, which allowed me to resize the images to the target size of 224 x 224 and convert them to numpy arrays. Because I used the pre-trained MobileNetV2 as a feature vector in my deep learning model (more on this in the next section), I chose to use <a href="https://www.tensorflow.org/api_docs/python/tf/keras/applications/mobilenet_v2/preprocess_input">Keras’ MobileNetV2 input preprocessing module</a> to scale the pixel values.</p><p><strong>The Deep Learning Model</strong></p><p>The bird/no bird classification model was built using Keras and contains a feature vector, hidden layers, and a two-unit output layer.</p><p>Using MobileNetV2 as a feature vector allowed me to reduce the required computational time to train the model and also helped compensate for the fact that my training dataset was relatively small. With the MobileNetV2 feature vector in place, only a few additional dense and dropout layers were required to train a model with sufficient accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NJbXK-YliXDQQWQfNdj_tQ.png" /></figure><p>In code:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcarbon.now.sh%2Fembed%3Fbg%3Drgba%2528255%252C255%252C255%252C1%2529%26t%3Dseti%26wt%3Dbw%26l%3Dpython%26ds%3Dfalse%26dsyoff%3D20px%26dsblur%3D68px%26wc%3Dtrue%26wa%3Dtrue%26pv%3D3px%26ph%3D3px%26ln%3Dfalse%26fl%3D1%26fm%3DHack%26fs%3D14px%26lh%3D133%2525%26si%3Dfalse%26es%3D2x%26wm%3Dfalse%26code%3Dfrom%252520tensorflow.keras%252520import%252520layers%25250Aimport%252520tensorflow_hub%252520as%252520hub%25250A%25250Amodel%252520%25253D%252520tensorflow.keras.Sequential%2528%25255B%25250A%252520%252520%252520%252520hub.KerasLayer%2528%2527https%25253A%25252F%25252Ftfhub.dev%25252Fgoogle%25252Ftf2-preview%25252Fmobilenet_v2%25252Ffeature_vector%25252F4%2527%25252C%252520input_shape%252520%25253D%252520%2528224%25252C%252520224%25252C%2525203%2529%25252C%252520trainable%252520%25253D%252520False%2529%25252C%25250A%252520%252520%252520%252520layers.Dense%25281000%25252C%252520activation%25253D%2527relu%2527%2529%25252C%25250A%252520%252520%252520%252520layers.Dropout%25280.5%2529%25252C%25250A%252520%252520%252520%252520layers.Dense%2528100%25252C%252520activation%25253D%2527relu%2527%2529%25252C%25250A%252520%252520%252520%252520layers.Dense%2528units%252520%25253D%2525202%25252C%252520activation%252520%25253D%252520%2527softmax%2527%2529%25250A%25255D%2529&amp;display_name=Carbon&amp;url=https%3A%2F%2Fcarbon.now.sh%2F%3Fbg%3Drgba%252528255%25252C255%25252C255%25252C1%252529%26t%3Dseti%26wt%3Dbw%26l%3Dpython%26ds%3Dfalse%26dsyoff%3D20px%26dsblur%3D68px%26wc%3Dtrue%26wa%3Dtrue%26pv%3D3px%26ph%3D3px%26ln%3Dfalse%26fl%3D1%26fm%3DHack%26fs%3D14px%26lh%3D133%252525%26si%3Dfalse%26es%3D2x%26wm%3Dfalse%26code%3Dfrom%25252520tensorflow.keras%25252520import%25252520layers%2525250Aimport%25252520tensorflow_hub%25252520as%25252520hub%2525250A%2525250Amodel%25252520%2525253D%25252520tensorflow.keras.Sequential%252528%2525255B%2525250A%25252520%25252520%25252520%25252520hub.KerasLayer%252528%252527https%2525253A%2525252F%2525252Ftfhub.dev%2525252Fgoogle%2525252Ftf2-preview%2525252Fmobilenet_v2%2525252Ffeature_vector%2525252F4%252527%2525252C%25252520input_shape%25252520%2525253D%25252520%252528224%2525252C%25252520224%2525252C%252525203%252529%2525252C%25252520trainable%25252520%2525253D%25252520False%252529%2525252C%2525250A%25252520%25252520%25252520%25252520layers.Dense%2525281000%2525252C%25252520activation%2525253D%252527relu%252527%252529%2525252C%2525250A%25252520%25252520%25252520%25252520layers.Dropout%2525280.5%252529%2525252C%2525250A%25252520%25252520%25252520%25252520layers.Dense%252528100%2525252C%25252520activation%2525253D%252527relu%252527%252529%2525252C%2525250A%25252520%25252520%25252520%25252520layers.Dense%252528units%25252520%2525253D%252525202%2525252C%25252520activation%25252520%2525253D%25252520%252527softmax%252527%252529%2525250A%2525255D%252529&amp;image=https%3A%2F%2Fcarbon.now.sh%2Fstatic%2Fbrand%2Fbanner.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=carbon" width="1024" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/39657052eb4d1bb7add19a3e706589b6/href">https://medium.com/media/39657052eb4d1bb7add19a3e706589b6/href</a></iframe><p>This model performed quite well with an 86% true positive rate and a 99% percent true negative rate, meaning that the model excels at identifying an empty nest, but sometimes misses the bird when it is in the nest. This false negative classification is more likely to occur when the bird is sitting farther away from the camera than usual, as seen in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xwKkBi5ld7_ZCoOUMHvM0g.png" /><figcaption>Nottingham Trent University | Peregrine Falcon Live Nest Cam</figcaption></figure><p><strong>Setting Up a SQL Database in the VM with Remote Access</strong></p><p>With the help of <a href="https://cloud.google.com/community/tutorials/setting-up-postgres">this resource</a> from Google Cloud Community, I set up PostgreSQL database that is accessible on my local machine through pgAdmin. With the script running on my VM, it is now possible for me to query the database locally to view every classification with its corresponding timestamp.</p><p><strong>Now what?</strong></p><p>With all of these components up and running, I’m now able to continue collecting data on this nest 24-hours a day. As far as future work, I’m waiting for my Twitter Developer account to be approved so that I can build a Twitter bot that will tweet every time it sees the bird enter or leave the nest.</p><p>The code for this project can be found on my <a href="https://github.com/emmamcclaire/falcon_alert/tree/main/virtual%20machine%20files">GitHub</a>. The infographics were created with <a href="https://slidesgo.com/">Slidesgo</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aeaeb183a728" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Voilà to Turn Your Jupyter Notebook into a Web Application]]></title>
            <link>https://emma-claire-mccarthy.medium.com/using-voil%C3%A0-to-turn-your-jupyter-notebook-into-a-web-application-90988524315b?source=rss-d2fda0e85f1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/90988524315b</guid>
            <category><![CDATA[ipywidgets]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[jupyter-notebook]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[plotly]]></category>
            <dc:creator><![CDATA[Emma-Claire McCarthy]]></dc:creator>
            <pubDate>Fri, 26 Mar 2021 03:39:16 GMT</pubDate>
            <atom:updated>2022-02-04T03:12:07.615Z</atom:updated>
            <content:encoded><![CDATA[<p>Voilà is a framework that allows web applications to be generated directly from a Jupyter notebook by turning your Jupyter cell outputs into html. This makes it a really appealing option for data scientists who are looking to build quick web applications to interact with their models and data visualizations.</p><p>While Voilà is technically as easy to use as it sounds, there is a catch: in order to build interactivity into the web apps, you need to make use of widgets and widget-based visualization tools. In this article, I will go through a step-by-step tutorial on how to use widgets to build interactivity into your Voilà application. Your resulting application will have an interface for users to do some basic data exploration on the <a href="https://scikit-learn.org/stable/auto_examples/datasets/plot_iris_dataset.html">Iris dataset</a> as well as interact with a K-Nearest Neighbors machine learning model for predicting Iris species.</p><p><strong>Part I: Installation and Initializing Your App</strong></p><p>Below are the required packages for this tutorial. Follow the links for installation guides.</p><ul><li><a href="https://ipywidgets.readthedocs.io/en/latest/user_install.html">ipywidgets</a>: widget package</li><li><a href="https://plotly.com/python/getting-started/">Plotly</a>: data visualization tool with widget-based plotting capabilities</li><li><a href="https://voila.readthedocs.io/en/stable/install.html">Voilà</a>: framework for turning Jupyter notebooks into standalone web applications</li></ul><p>Now that everything is installed, let’s get familiar with the Jupyter-to-browser workflow with Voilà. Voilà web applications display contents of markdown cells as well as any cell’s output. So let’s start with the header, which should be written in a <strong>markdown </strong>cell:</p><pre># Iris Species Classification</pre><p>Now, go to your terminal and navigate to the directory containing your Jupyter notebook and enter the following:</p><pre>$ voila &lt;filename&gt;.ipynb</pre><p>You should see a new browser tab or window open up with your title displayed. It will look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CXJ4ZdQ0_Rp4ffqSGUOCtA.png" /></figure><p>Nice. Now let’s start adding some interactive components.</p><p><strong>Part II: Building an Interactive Visualization</strong></p><p>First, load the Iris dataset.</p><pre>import pandas as pd<br>from sklearn.datasets import load_iris</pre><pre>data = load_iris()</pre><pre>df = pd.DataFrame(data = data[‘data’], columns = data.feature_names)</pre><pre>species_dict = {0:’setosa’, 1: ‘versicolor’, 2: ‘virginica’}</pre><pre>df[‘species’] = [species_dict[x] for x in data.target]</pre><p>The dataframe should look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*F_dsBzNZesq9bDRYF834Zw.png" /></figure><p>Now, we’ll build the visualization that we plan to display in the web app. For now, we’ll build the static version, but notice that we’re utilizing a subclass of Plotly’s graph objects called the FigureWidget. Using this class of visualization will allow us to add the user interactivity that we’re looking for.</p><pre><strong># set default x and y axis values <br></strong>x = ‘sepal length (cm)’<br>y = ‘sepal width (cm)’</pre><pre><strong># create df subsets by species for use in traces</strong><br>df_setosa = df[df.species == ‘setosa’]<br>df_versicolor = df[df.species == ‘versicolor’]<br>df_virginica = df[df.species == ‘virginica’]</pre><pre><strong># create traces for each species</strong><br>setosa = go.Scatter(x=df_setosa[x], y=df_setosa[y],<br> mode=’markers’,<br> name=’setosa’)<br>versicolor = go.Scatter(x=df_versicolor[x], y=df_versicolor[y],<br> mode=’markers’,<br> name=’versicolor’)<br>virginica = go.Scatter(x=df_virginica[x], y=df_virginica[y],<br> mode=’markers’,<br> name=’virginica’)</pre><pre><strong># create the graph object as a FigureWidget</strong><br>g = go.FigureWidget(data=[setosa, versicolor, virginica],<br> layout=go.Layout(<br> title={<br> ‘text’: “Iris Measurements”,<br> ‘y’:0.85,<br> ‘x’:0.5,<br> ‘xanchor’: ‘center’,<br> ‘yanchor’: ‘top’},<br> xaxis_title=x,<br> yaxis_title=y,<br> legend_title = “Iris Species”<br> ))</pre><pre><strong># use g.show() to see a preview of the scatterplot</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*R4uoIfepHbN_dB6SuccbZw.png" /></figure><p>Now, we want users to be able to modify the variables on the x and y axis. To do this, we can create dropdown menu widgets for each axis. We don’t need to display them in the notebook at this point, but if you want to test them out, use the command specified below.</p><pre>from ipywidgets import Dropdown</pre><pre>select_x = Dropdown(options = data.feature_names,<br> layout = Layout(width = ‘160px’))<br>select_y = Dropdown(options = data.feature_names[::-1],<br> layout = Layout(width = ‘160px’))<br><strong># use HBox([select_x, select_y]) to see a preview of the widgets</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*Ej7XJlsVYhcPFsCz98lfmw.gif" /></figure><p>The next step is to specify how the widget should interact with the visualization. The first step is to write a function that specifies which values should be updated any time a widget value is changed. To interpret the function, recall that our figure is stored as a variable named <strong>g</strong> and that we are looking to update two of its parameters each time a widget value is changed: <strong>data</strong> (we want to change our x and y axes) and <strong>layout </strong>(this parameter specifies our axis labels, which we also want updated to reflect the data being displayed).</p><pre><strong>def </strong>response(change):</pre><pre> <strong>with</strong> g.batch_update():<br>  <br>  # this first line is saying:</pre><pre>  g.data[0].x = df_setosa[select_x.value]<br>  g.data[1].x = df_versicolor[select_x.value]<br>  g.data[2].x = df_virginica[select_x.value]</pre><pre>  g.data[0].y = df_setosa[select_y.value]<br>  g.data[1].y = df_versicolor[select_y.value]<br>  g.data[2].y = df_virginica[select_y.value]</pre><pre>  g.layout = go.Layout(<br>  title={<br>   ‘text’: “Iris Measurements”,<br>   ‘y’:0.85,<br>   ‘x’:0.5,<br>   ‘xanchor’: ‘center’,<br>   ‘yanchor’: ‘top’},<br>   xaxis_title=select_x.value,<br>   yaxis_title=select_y.value,<br>   legend_title = “Iris Species”<br>   )</pre><p>Our final step in creating the interactive visualization is to tell the widgets to call the <strong>response </strong>function any time either widget is changed. We can do this using IPYWidgets’ observe function:</p><pre>select_x.observe(response, names=”value”)<br>select_y.observe(response, names = “value”)</pre><p>Now all we have to do is display the widgets along with the visualization. We can do this using what IPYWidgets calls “container widgets,” which essentially allow you to specify with what format you want your widgets displayed.</p><pre>from ipywidgets import HBox, VBox</pre><pre>container = HBox([select_x, select_y])<br>VBox([container, g])</pre><p>You should see an interactive output in your Jupyter notebook. Save the changes in your notebook and refresh or restart your Voilà application. You should now be able to see your interactive visualization in the browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mmQKhW6oWzv3ruAi3rl1sw.gif" /></figure><p><strong>Part III: Enabling User Interaction with a Machine Learning Model</strong></p><p>The second component of our web app will be an interface where the user can input custom Iris measurements and find out which species the model assigns to those measurements.</p><p>For reference, here is the code used to build the model being used in this example. However, in the actual notebook used to build your web app, plan to have your model saved as a file and loaded in.</p><pre><strong># in a separate notebook...</strong></pre><pre>from sklearn.model_selection import train_test_split<br>from sklearn.neighbors import KNeighborsClassifier<br>from sklearn import metrics<br>import pickle</pre><pre>features = [‘sepal length (cm)’ , ‘sepal width (cm)’, ‘petal length (cm)’, ‘petal width (cm)’]<br>X_train, X_test, y_train, y_test = train_test_split(df[features], df.species, test_size = 0.25, stratify = df[‘species’], random_state = 42)</pre><pre>knn = KNeighborsClassifier(n_neighbors=8)<br>knn.fit(X_train, y_train)</pre><pre>pred = knn.predict(X_test)<br>print(‘accuracy = ‘, metrics.accuracy_score(y_test, pred))</pre><pre><strong># use pickle to save the model</strong><br>with open(&#39;knn.pickle&#39;, &#39;wb&#39;) as to_write:<br>    pickle.dump(knn, to_write)</pre><p>Alright, back to the main notebook. Let’s load the model:</p><pre>knn_model = pickle.load(open(‘knn.pickle’, ‘rb’))</pre><p>Now let’s create four widgets, which will allow the user to type in their custom Iris measurements:</p><pre>sepal_length = BoundedFloatText(value = 8, min = 4.0, max = 8.0,        step = 0.2, description = ‘sepal length’)</pre><pre>sepal_width = BoundedFloatText(value = 8, min = 1.8, max = 4.6, step = 0.2, description = ‘sepal width’)</pre><pre>petal_length = BoundedFloatText(value = 8, min = 0.8, max = 7, step    = 0.2, description = ‘petal length’)</pre><pre>petal_width = BoundedFloatText(value = 8, min = 0.0, max = 2.8, step = 0.2, description = ‘petal width’)</pre><p>Before, we used the <strong>observe</strong> function to connect the widgets to specify how we wanted the widgets to interact with our other components. This example will show how to make use of a different function called <strong>interact</strong>.</p><p>Now that we’ve created our four new widgets above, we can write a function to specify how we want the widget values to be used. Notice that a new widget is created within this model called <strong>out</strong>. This widget will allow the predicted Iris species to be displayed.</p><pre>from ipywidgets import Output, HTML</pre><pre><strong>def</strong> run_model(sepal_length, sepal_width, petal_length, petal_width):<br> <br> result = knn.predict([[sepal_length, sepal_width, petal_length, petal_width]])[0]<br> <br> out = Output(layout={‘border’: ‘1px solid white’})<br> <br> with out:<br> display(HTML(value=f’Predicted species: &lt;b&gt;{result.capitalize()}&lt;/b&gt;’))<br> <br> <strong>return</strong> out</pre><p>Lastly, we can put it all together using the <strong>interact</strong> function:</p><pre>interact(run_model,<br> sepal_length = BoundedFloatText(value = 8, min = 4.0, max = 8.0, step = 0.2, description = ‘sepal length’),<br> sepal_width = BoundedFloatText(value = 8, min = 1.8, max = 4.6, step = 0.2, description = ‘sepal width’),<br> petal_length = BoundedFloatText(value = 8, min = 0.8, max = 7, step = 0.2, description = ‘petal length’),<br> petal_width = BoundedFloatText(value = 8, min = 0.0, max = 2.8, step = 0.2, description = ‘petal width’),<br> );</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*JJojk3jcTfigaA2gVK5Eaw.gif" /></figure><p><strong>Part IV: Additional Styling</strong></p><p>Voilà comes with a few built in styling methods:</p><ul><li><strong>Themes</strong> allow you to do make easy styling changes like switching to dark mode, which can be done by making a modification to your terminal command:</li></ul><pre>$ voila &lt;filename&gt;.ipynb --theme=dark</pre><ul><li>Templates can be helpful for making further modifications to the layout of your app. The most popular template seems to be the gridstack template, which allows you to drag and reshape each component in the browser view. This can also be implemented using the command line:</li></ul><pre>$ voila &lt;filename&gt;.ipynb --template=gridstack</pre><p><strong>Part V: Deployment</strong></p><p>Voilà apps can be deployed using Binder, Heroku, Google App Engine, or a private server. See <a href="https://voila.readthedocs.io/en/stable/deploy.html">here</a> for more information.</p><p>Thanks for reading! The Jupyter notebook is available on my <a href="https://github.com/emmamcclaire/voila_iris">GitHub</a>. Feel free to reach out on <a href="http://www.linkedin.com/in/emma-claire-mccarthy">LinkedIn</a> if you have any questions or comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90988524315b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>