<?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 Anchal Bhalla on Medium]]></title>
        <description><![CDATA[Stories by Anchal Bhalla on Medium]]></description>
        <link>https://medium.com/@anchalbhalla?source=rss-7f1cbb04238------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AyvlX71H16j-9HOHRkgdLw.jpeg</url>
            <title>Stories by Anchal Bhalla on Medium</title>
            <link>https://medium.com/@anchalbhalla?source=rss-7f1cbb04238------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:52:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anchalbhalla/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[Teaching AI to think like a hacker]]></title>
            <link>https://medium.com/@anchalbhalla/teaching-ai-to-think-like-a-hacker-2846330d6b47?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/2846330d6b47</guid>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Thu, 07 Oct 2021 11:02:04 GMT</pubDate>
            <atom:updated>2021-10-07T11:42:20.270Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UpOUGbpBF83b4iP1BZ-OYg.jpeg" /></figure><p>Data science, AI, and machine learning are buzzwords attracting everyone from all industries to fulfill their business goals. The cybersecurity field is no less when it comes to using AI to detect threats like malicious software which would be elaborated further in this blog. With the increase in digital transformation, hackers are becoming smarter and zero-day attacks on organizations are increasing exponentially. Zero-day attacks are unprecedented and happen when the hacker leverages unknown malware software that go unnoticed by standard anti-threat systems. This is where AI can shine and prevent such attacks from happening.</p><p>Legacy anti-malware software typically relies on signatures of the software to detect malware where they compare the signature with an existing signatures database, and this is can be quite unpromising when a hacker makes a single change in malicious software (code or its execution). Machine learning algorithms can be trained to detect new or polymorphic malware (malware that constantly changes its identifiable traits to evade detection) in real-time.</p><p><strong>Preparing for Detection</strong></p><p>Machine learning models need to be trained both to detect changes in the code of the software and its behavior. Static analysis of the software which analyses the source code without running it will provide features like imports, exports, byte code, strings, API calls, etc. Dynamic analysis which runs the software in a sandboxed environment, will extract features like files written to, files deleted, connects to IP, registry keys deleted, etc. Along with the collection of malicious software features, benign software features need to be collected as well. In addition, feature selection is a very important step of this process as it will improve the accuracy and select the features most important for the classification. All these features can then be collected, pre-processed, engineered, and made available as a training set for a classification machine learning model.</p><p><strong>AI in Action</strong></p><p>Determining the best machine learning model for this problem set is crucial. Data scientists need to choose a model which not only has a high accuracy score but also has a lower number of false negatives in this case. The speed and efficiency of the model are another characteristic to be considered. Although deep learning models may be tempting to use, they can be computationally expensive and not be best suited for this case. The best-case scenario would be to use a stacking approach. Meaning, a combination of models can help with the identification of malicious software more efficiently and accurately. Below is a sample diagram showing how an example AI security system will work briefly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*kgD6oZVDITzEhskJCVO-2Q.png" /></figure><p>As mentioned before new malware is being created every day, and there needs to be a system in place which can continuously update the model and ensure it takes action when necessary. To incorporate auto-learning and maintain model lifecycle, practices like MLOps need to be embedded into the system which will ensure the models are being developed, updated, and deployed successfully into production. MLOps will make use of CI/CD pipelines for ML to automate the entire process including configuration, testing, monitoring, etc.</p><p><strong>Who is Responsible?</strong></p><p>Cyber security is a sensitive field and mistrust can make critical systems vulnerable to attacks. Machine learning models are considered black boxes and it is required to build trusted and explainable AI systems that would help in understanding the underlying data evidence and causal reasoning. Embedding Explainable AI models would allow human experts to acknowledge the impact the malicious software will have on the entire system.</p><p><strong>AI Deployment at Scale</strong></p><p>According to the research conducted by <a href="http://capgemini.com/research-institute">Capgemini Research Institute</a>, 69% of organizations believe they need AI to respond to cybersecurity threats. Organizations have cited that the biggest challenge is implementing AI on Scale when it comes to infrastructure, data systems, and application landscapes. The research concluded that organizations must build roadmaps for implementing AI in cybersecurity, meaning, identifying data sources and creating data platforms to operationalize AI and selecting the right use cases. <a href="https://www.capgemini.com/research/reinventing-cybersecurity-with-artificial-intelligence/?utm_source=pr&amp;utm_medium=referral&amp;utm_content=cybersecurity_none_none_report_none&amp;utm_campaign=cybersecurity_cri_ai-cybersec">Read the report.</a></p><p>Many firms are applying AI in their cybersecurity initiatives, or plan to introduce it very soon — there are a number of steps that are critical to realizing AI’s cybersecurity potential. To do so successfully, they should build a roadmap for implementing AI in cybersecurity. This means identifying data sources and creating data platforms to operationalize AI.</p><p>Capgemini’s Perform AI enables organizations to move from the PoC stage to deploying AI at scale for maximum impact. Perform AI teams have proven to deliver tangible business outcomes globally and at scale, across various industries and sectors. <a href="https://www.capgemini.com/in-en/service/perform-ai/ai-in-action/">Click here to know more about Capgemini’s Perform AI, it’s power to transform your business leveraging data and AI.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2846330d6b47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WiDS Abu Dhabi and Dubai 2020]]></title>
            <link>https://medium.com/@anchalbhalla/wids-abu-dhabi-and-dubai-2020-11ed344265ea?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/11ed344265ea</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[wids2020]]></category>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Sun, 14 Jun 2020 19:04:46 GMT</pubDate>
            <atom:updated>2020-06-15T08:38:03.739Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GbDk_capZpRt3_y63TN7mA.png" /></figure><p>On June 13th, IBM Developer and Heriot-Watt University in Dubai, in collaboration with Arab Women in Computing (ArabWIC) conducted the <a href="https://www.widsconference.org/regional-events-2020.html">Women in Data Science Stanford (WiDS)</a> regional event for Dubai and Abu Dhabi. The audience wasn’t limited to the region, we had over 100 attendees from all over the world!</p><p>We had extraordinary women speaking about very interesting topics from different domains like Research, Biology, Academia, Cyber Security, etc.</p><p>The event kicked-off with <a href="https://medium.com/u/7efd3d33b7a8">Dr Eva-Marie Muller-Stuler</a>’s keynote session. She is the Data and AI practice leader at IBM and she spoke about how we can leverage data science opportunities in this time of the COVID-19 crisis.</p><h3>First Phase</h3><p>Next up, we had 2 brilliant speakers who gave 20-minute tech-talks. The first tech-talk was by <a href="https://www.linkedin.com/in/bushra-alblooshi-63953a80/">Dr. Bushra AlBlooshi</a> who is the Research &amp; Innovation Manager at Dubai Electronic Security Centre and she spoke about how AI is shaping the future of CyberSecurity especially in the UAE. Following that, we had <a href="https://www.linkedin.com/in/zantout-hind-a8a078a/">Dr. Hind Zantout</a> who is an Associate Professor at Heriot-Watt University. Her talk was about Ethics in AI and why is there a need for legislation.</p><p>We then had a round of lightning talks where speakers were given 5 minutes to speak about an interesting topic with high-level detail. There were 5 speakers for this session:</p><ol><li><a href="https://www.linkedin.com/in/melissasassi/">Melissa Sassi</a>, Chief Penguin — IBM Hyper Protect Accelerator, IBM: she spoke about purpose &amp; passion in your career, entrepreneurship and imposter syndrome</li><li><a href="https://www.linkedin.com/in/tilila-el-moujahid-53849616/">Tilila El Moujahed</a>, Data Scientist, Microsoft: she spoke about Using Data Science to analyze your genome and how it can be used to cure diseases</li><li><a href="https://www.linkedin.com/in/neamat-el-gayar-07b7297a/">Neamat EL Gayar</a>, Associate Director of Research, Heriot-Watt University: she spoke about the difference between conducting machine learning research and applying ML for an industry-based use case</li><li><a href="https://www.linkedin.com/in/dina-mohammad-laity-99235722/">Dina Mohammed Laity</a>, Head of Data Science, Property Finder: spoke about Delivering Successful Data Products and some of the key differences</li><li><a href="https://www.linkedin.com/in/divyasharmads/">Divya Sharma</a>, HR Leader — Global Business Services, IBM: she spoke about creating a career in data science. This talk drove the upcoming panel.</li></ol><p>With data science being one of the most trending jobs out there, there is a lot of confusion on how you get started with a data science career. The first panel, led by <a href="https://www.linkedin.com/in/benchada/">Chada</a>, was about careers in data science for women. The panelists answered some of the most pressing issues when it comes to data science careers. The panelists included: Divya Sharma from IBM, <a href="https://www.linkedin.com/in/haleh-najafzadeh-ph-d-47685b32/">Dr. Haleh Najafzadeh</a> from GE Aviation and Melissa Sassi from IBM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fXIMN9KVDH2L5BgfXIiH0Q.png" /></figure><h3>Second Phase</h3><p>After we all had a short break, we began the second phase of our event. In the second phase, we had 2 tech talks speakers: <a href="https://www.linkedin.com/in/nabila-sofia-echadli/">Nabila Sofia Echadli</a> who is a Cyber Security and Data Expert and CEO at Anthenorm Intelligence, and our second speaker <a href="https://www.linkedin.com/in/remaalgunaibet/">Rema M. Algunaibet</a> who is an A.I. and Robotics Project Leader. In the first talk, Nabila spoke about Meta Data and the future of data science in Cybersecurity. Whereas, in the second tech talk, Rema spoke about Elevating Customer’s Experience (CX) with A.I. and Robotics.</p><p>Next, we had another round of lightning talks where speakers were given 5 minutes to speak about an interesting topic with high-level detail. There were 5 speakers for this session:</p><ol><li><a href="https://www.linkedin.com/in/lamahalwaji/">Lama Halwaji</a>, Design Lead for IBM Garage MENA, IBM: spoke about how you can apply design thinking to a data science project</li><li><a href="https://www.linkedin.com/in/fatemah-tavakoli/">Fatema Takavoli</a>, Freelancer: spoke about using Data Science in the food and beverages industry</li><li><a href="https://www.linkedin.com/in/mona-al-zubaidi-0919aa101/">Mona AlZubaidi</a>, Data Scientist, Siemens Logistics: she talked about the journey of moving from doing research in academia to data science in industry</li><li>Dr. May Laith Naser Al Tae, Learning Technology and Innovation Director, Abu Dhabi School of Government: spoke about how the digital age has propelled access to knowledge to new unprecedented levels — Future of work and skills</li><li><a href="https://www.linkedin.com/in/ameera-bawazir-12b29013a/">Ameera Bawazir</a> and Deena AbuHijleh, ex IBM Interns: they both spoke about how data science and AI can help transform the processes in the media industry.</li></ol><p>The last session was a panel that was again hosted by Chada. The topic of discussion was ‘Future Outlook of Data, at times of crisis’. The panelists spoke about how the future of data science looks like and the next steps after COVID-19. The panelists were: Nabila Sofia Echadli from Anthenorm Intelligence, Tilila El Moujahed from Microsoft and Dr. Hind Zantout from Heriot-Watt University.</p><h3>Communities and Conclusion</h3><p>In the end, <a href="https://www.linkedin.com/in/susanmalaika/">Susan Malaika</a> discussed the various communities for women interested in the data science field. You can see the links to join the communities below:</p><ol><li>Arab Women in Computing (ArabWIC) UAE — <a href="http://arabwic.org/">http://arabwic.org</a></li><li>Data and AI Association for the Middle East and Africa <a href="https://www.linkedin.com/groups/8729078/">https://www.linkedin.com/groups/8729078/</a></li><li>Dubai Women in Data — <a href="https://www.meetup.com/Dubai-Women-In-Data/IEEE">https://www.meetup.com/Dubai-Women-In-Data/IEEE</a></li><li>Women in Engineering UAE — <a href="https://ieee.ae/en/communities/wie/LeanIn">https://ieee.ae/en/communities/wie/LeanIn</a></li><li>Creative Women in UAE — <a href="https://leanin.org/circles/creative-women-in-uae">https://leanin.org/circles/creative-women-in-uae</a></li><li>Women in Tech Dubai — <a href="https://www.meetup.com/Women-In-Tech-Dubai/">https://www.meetup.com/Women-In-Tech-Dubai/</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mJlrYeEiGfbwW3jyr2xTmA.png" /></figure><p><strong>Missed the event? Don’t worry here’s the playlist of all the talks: </strong><a href="https://www.youtube.com/playlist?list=PLueW2CELjTGp_1TB1flyigpg0qjFowvWh"><strong>Playlist</strong></a></p><p>Thanks to the WiDS ambassadors and Susan Malaika for pulling off this amazing event.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mJRgtq4WN5693Iv_44I62Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11ed344265ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building the “Hello World” of Kaggle projects using AutoAI]]></title>
            <link>https://medium.com/data-science/building-the-hello-world-of-kaggle-projects-using-autoai-ea1faf6fa567?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea1faf6fa567</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[watson]]></category>
            <category><![CDATA[kaggle]]></category>
            <category><![CDATA[auto-ai]]></category>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Sat, 30 May 2020 16:03:47 GMT</pubDate>
            <atom:updated>2020-05-30T16:28:23.240Z</atom:updated>
            <content:encoded><![CDATA[<h4>Start your Kaggle journey with this blog and take it to fullest using Watson AutoAI</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WHxWnEoQDZAdxgKxzBxO2A.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@ekrull?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Eric Krull</a> on <a href="https://unsplash.com/s/photos/robots?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I always get asked what’s the best way to get started with data science? Well, my response to that is always the same, do a lot of data science courses to get familiar with the concepts and then move on to building projects by participating in Kaggle competitions. In this blog, I will show how I started my Kaggle journey by completing the <a href="https://www.kaggle.com/c/titanic#">titanic survival</a> Kaggle competition using AutoAI in just 30 minutes.</p><h3><strong>What are Kaggle competitions?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*jTL439fYJeMU0UQQ.png" /><figcaption>Photo by <a href="https://www.datadriveninvestor.com/author/justin/">Justin Chan</a> on <a href="https://www.datadriveninvestor.com/2019/01/14/kaggle-for-data-driven-investors/">Data-Driven Investor</a></figcaption></figure><p>Kaggle provides data science enthusiasts a platform for analytics competitions in which companies and researchers post data to allow enthusiasts to compete to produce the best models for predicting and describing the data. With <a href="https://www.kaggle.com/datasets">over 13,000 datasets</a> at present, Kaggle offers a veritable gold mine of data to work with.</p><h3>Why IBM Watson AutoAI?</h3><p>AutoAI in Watson Studio automates tasks that typically take data scientists days or weeks. All you need to do is submit your data and leave the rest on the tool to decide the best pipeline for your project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nug7njsKPdSdlj8KWPursA.png" /><figcaption>Photo by Greg Filla on <a href="https://medium.com/ibm-watson/introducing-autoai-for-watson-studio-241675fb0454">IBM Watson</a></figcaption></figure><h3>Let the Kaggling begin!</h3><p>The <a href="https://www.kaggle.com/c/titanic#">titanic project</a> is known as the ‘hello world’ of Kaggle projects since beginners can get hands-on Kaggle experience before attempting complex projects.</p><p><strong>Preparation:</strong></p><ol><li>Set up AutoAI: — Create an <a href="http://cloud.ibm.com/">IBM Cloud</a> account. — <a href="https://dataplatform.cloud.ibm.com/">Create a Watson Studio Instance</a>. — Create a project — Add AutoAI to the project.</li><li>Create an account on <a href="https://kaggle.com/">Kaggle</a></li><li>Participate in the <a href="https://www.kaggle.com/c/titanic#">titanic survival competition</a></li></ol><h4>Step 1 — Data Collection:</h4><p>We will have to download the dataset from the <a href="https://www.kaggle.com/c/titanic">competition page</a>. The zip file would contain 3 files- the train.csv file is the one we will use for training the model, the test is the file we will use to batch score our model and use it for submission purposes and the gender_ submission file shows how the submission file for Kaggle should look like (its the template we will fill out).</p><h4>Step 2 — Data preparation:</h4><p>The data is pretty much clean but there are null values that need to be taken care of in the training dataset and the testing dataset. So first, let’s replace the null values in the Age and Fare columns with the average of their values. I used the Excel formula ‘AVERAGE’ to find and replace the values. And I left the Cabin column to be null. While testing the model, this is being taken care of (to be continued …)</p><h4>Step 3 — Model Building using AutoAI:</h4><p>Although this step may seem hard, it&#39;s the easiest because we are using AutoAI. Simply create an AutoAI project in Watson Studio, give your experiment a name, and upload your train.csv file. Select ‘Survived to be your predicted variable, Run the experiment, and wait for at least 15 minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZJauepjgcoOu4fx-Ls-gGA.png" /></figure><p>AutoAI takes the dataset and the target variable to design pipelines (these are different models) using various HPO (hyperparameter optimization) parameters and enhanced feature engineering for each pipeline to get the best model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BTz9x8Ta3yXDfugHGR3YfA.png" /></figure><p>As you might already know, there are different ways to evaluate and select the best model such as Accuracy, F1 score, precision, etc. You can edit this to suit your needs as well, but we will select accuracy for this case (you are free to try other evaluators as well). In the diagram below, you can see how each pipeline performed against different evaluators. This is how the best pipeline (leader pipeline) is selected and recommended to be deployed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l-T_wW_0FOOJn9zpO1J_CA.png" /></figure><p>Now to deploy the model click the first pipeline (with a star), save as, and click model. This will let you deploy your model as a Watson machine learning model.</p><p>Go back to your project, click the WML model and deploy it as a web service and once it’s deployed you may test it and grab the scoring link which we will use in the next step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZiOefFJUvRj1QuP6s6Pkug.png" /></figure><h4>Step4 — Batch scoring the model</h4><p>Now that we have our model, let&#39;s create a python script to batch score the AutoAI model against our test.csv to submit our results.</p><p>Below is the code to run a batch score test for all the records in the test file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b1fafeeb5118124edc96fca77654cc4a/href">https://medium.com/media/b1fafeeb5118124edc96fca77654cc4a/href</a></iframe><p>The code basically stores each record in variables one by one so it can pass it as a payload to be scored by the model. Since some of the Cabin values are empty we replace them with None. Once we get the JSON result from the model, we parse it to get the predicted value for the record and store it in the array which would be written back to the Results.csv sheet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*s6elJ27X8LCK3UmDk5bnRQ.png" /><figcaption>Results.csv file</figcaption></figure><h4>Final Step— Submitting the results to Kaggle</h4><p>Go to the competition page and click on submit results to submit your Results file. Wait until you appear on the leadership board and your score(my score is 77%) along with the rank will be shown on the screen. The score determines your rank. You can keep improving your model and keep submitting multiple times to reach the top.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ChA83ecEqBV2RNFD1ecFw.png" /><figcaption>Leader board on Kaggle by author</figcaption></figure><p>And Voila 💃 !! You have submitted your first Kaggle project !!</p><h3>My experiences</h3><p>AutoAI really makes kaggling simpler, one fear is the lack of control over the parameters and the need to fine-tune certain things. This can easily be done by saving the model as a Notebook and coding in python. In my opinion, Watson AutoAI is the best tool for a beginner to begin their Kaggle journey.</p><p>Happy Kaggling💃!</p><h3>References</h3><ol><li><a href="https://www.kaggle.com/c/titanic#">https://www.kaggle.com/c/titanic#</a></li><li><a href="https://dataplatform.cloud.ibm.com/">https://dataplatform.cloud.ibm.com/</a></li><li><a href="https://kaggle.com/">https://kaggle.com/</a></li><li><a href="https://medium.com/ibm-watson/introducing-autoai-for-watson-studio-241675fb0454">https://medium.com/ibm-watson/introducing-autoai-for-watson-studio-241675fb0454</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea1faf6fa567" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/building-the-hello-world-of-kaggle-projects-using-autoai-ea1faf6fa567">Building the “Hello World” of Kaggle projects using AutoAI</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Guardian — The Accident Risk Analyzer: Part 1]]></title>
            <link>https://medium.com/@anchalbhalla/guardian-the-accident-risk-analyzer-part-1-ec4f58cc981c?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec4f58cc981c</guid>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Mon, 30 Sep 2019 16:59:38 GMT</pubDate>
            <atom:updated>2019-09-30T16:59:38.904Z</atom:updated>
            <content:encoded><![CDATA[<h3>Guardian — The Accident Risk Analyzer: Part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/0*Rr6814xe4-y3aYeU.jpg" /></figure><p>IBM Cloud Pak for Data (CP4D) — a Redhat Openshift-based Data &amp; Machine Learning (ML)/Artificial Intelligence (AI) platform offers various capabilities from data collection to deploying ML/AI models in production. It allows you to solve your end to end data science use case with a variety of proprietary and open-source tools and technologies efficiently. Welcome to the first part of this two series blog where you will be exploring how to solve a transportation use case using these end-to-end features.</p><p>In the first part, we will be exploring data collection and organization in Cloud Pak for Data. We will also be looking at how can we perform data engineering using Data refinery on the platform.</p><h3>Use Case</h3><p>Everything in life has some risk and so does driving on the road. In the year 2017, Dubai witnessed 1721 car accident deaths within 6 months and this is a large number for a country like Dubai. Not only Dubai, but other countries also face this issue as well due to various factors such as the environment, driver behavior, road conditions, etc. The government needs to analyze these features so they can reduce this number and promote a safer driving experience. Leveraging ML/AI is the solution to this problem.</p><p>In this blog, we look at how we can analyze driver behavior to see how risky will they be on the road and also look at how a certain location and other factors affect accidents on road all using AI and data science. This use case is particularly very important for government entities such as the transportation authority, police departments, etc. Private institutions such as insurance companies can leverage this information to make better-informed decisions will find this very handy as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MkxqXGw-iwykw_uIZn0lXg.png" /></figure><h3>Data Collection</h3><p>Different agencies can have their data sets lying in a variety of data sources including Hadoop, relational database, NoSQL, etc. Cloud Pak for Data makes it easier to connect to external sources and also optionally store this data on the platform. In this case, we connected to Db2 warehouse on the cloud to remotely access the data set. All that we needed to do was entering the host, username, password and port number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HDyjNCLK1tZzl17dy4jwpw.png" /></figure><h3>Data Organization</h3><p>In any data science project, the data needs to be analyzed and there needs to be some governance layer for the data to be trusted and establish a common understanding across the different consumers. For this reason, we will be looking at how we leverage automated Data discovery, Business Glossary, and Governance Policies &amp; Rules to populate the centralized Governance Catalog.</p><p>The first step was to create business terms for this project’s glossary. So terms such as driving license issuance, age of the driver, location of the accident, etc. are created. This will ensure users have a common understanding of the business terms.</p><p>The next step is to profile the available sources of data, classify the data attributes and map the technical assets/attributes to the business terms created previously. This is done through a combination of data discovery and ML-enabled term assignment. After the job has run successfully it will suggest term assignments and allow the subject matter expert (SME) to either accept the ML suggested term assignments or map other available terms. Once they are happy with the term assignments, they can choose to publish this metadata to the centralized governance catalog so other users of the platform can benefit from it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l3iablKyoRwjbYdc2CAusw.png" /><figcaption>Data Discovery on Cloud Pak for Data</figcaption></figure><p>Defining Governance policies/rules is the last step now. We need to assign rules and policies to technical assets (attributes of the dataset) and establish the governance framework. This will ensure users across the organization follow them and comply with them. We can create rules such as encrypting the residence name, customer Id and attribute age has to be an integer. Once this is done we can search for the data set and manually assign the data set to the rules and policies created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nokd8D7T16ZQn2aeVQIUug.png" /></figure><p>The centralized governance catalog now has information about all the technical and business assets and we are also able to explore the inter-relationships between these technical and business assets. This feature shows data lineage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hLv1oH99NnXGMYBXWcQKzw.png" /></figure><h3>Data Refinery</h3><p>Once we have our data collected, organized and governed in the platform, we will have to move on to data preparation and cleanse it for ML/AI model building. Cloud Pak for Data offers data refinery as a tool that performs this job effectively. A lot of processing was required for the accident data set, below it is described what kind of processing was done for the data.</p><p>The dataset includes information from various locations, including all of them for analysis in the ML model will lower the accuracy and we will not give us the best results. For this reason, 6 locations which have the maximum accident count were selected. To do this, the operations feature in Data Refinery is used. The first thing we need to do is find the top 6 locations with a maximum count. We use the count formula for this, and start finding the top 6 records. Once that is done we will use the filter feature to filter out those specific locations found.</p><p>The next problem we need to solve is with the driver age and accident timings, both of them have a specific age and time which can again cause accuracy and results issue. To solve this issue we need to group them. Hence we will use the group by function in the operations feature. The age will be grouped with a difference of 10 and the timing will be grouped in the following manner: early morning, morning, early afternoon, afternoon, evening, night and late night.</p><h3>Conclusion</h3><p>Well, that was it for part 1, where you learned about data collection, organization, and preparation on cloud pak for data. Stay tuned for part 2 where you will learn about dash-boarding, modeling and infusing the model into a shiny application.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec4f58cc981c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are you AI ready? — Learn how to manage the End-to-End Life-cycle for your AI]]></title>
            <link>https://medium.com/@anchalbhalla/are-you-ai-ready-learn-how-to-manage-the-end-to-end-life-cycle-for-your-ai-c1c0f64a2d25?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1c0f64a2d25</guid>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[ibm-watson]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[ibm-cloud]]></category>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Mon, 09 Sep 2019 12:48:31 GMT</pubDate>
            <atom:updated>2019-09-16T09:07:37.734Z</atom:updated>
            <content:encoded><![CDATA[<h3>Are you AI ready? — Learn how to manage the End-to-End Life-cycle for your AI</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HlK8e6KdOHVpkyyo.png" /><figcaption>AI in banking</figcaption></figure><h3>Intro to Data Science</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bghN7dhJdAxEU9buamT1kQ.png" /></figure><p>Data science is a broad topic and organizations such as banks are eager to implement data science use cases to reach their business goals. But what is data science?<br>Data science is the art of managing data and converting it into useful results which can be a discovery, insights or innovation. So when we hear about buzz words such as AI [artificial intelligence], machine learning and deep learning, all fall under data science because all these technologies or algorithms use some form of data to solve the problem in hand.</p><h3>The many hats of a data scientist</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*SbJmFVgYnyK7qeLFcj04xw.png" /></figure><p>A data scientist is the one who does all this magic. Magic of transforming raw data into innovation. We usually call a data scientist as a wizard who wears many hats because he or she has to be some kind of statistics to understand the results or fine-tune models etc., know some kind of programming language such as python or R to code these magical models or draw insights by plotting graphs and be a subject matter expert in the field to understand the logic behind this.</p><h3>Data Science Pipeline</h3><p>So what does a data scientist do in their day to day job? How does the pipeline look like? Well, first the data scientist would need to collect these data sets and store them in a commonplace or repository and then later do some graphing to understand it which could mean checking if its balanced and so on (basic analysis only). Once we know this is the right data that can be used, we need to massage the data. The data we receive is never going to be in a format that we can directly plug and play and get our model ready, we need to cleanse it, correct the data format if needed, remove null values or replace them and so forth. Once that’s done we can move on to the modeling part where we tune the learning rates of the models to get a good accuracy score. After our model is ready we will move to evaluation where we will do a final check using gain charts or other charts like ROC to evaluate their performance and later move on to deploying them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*wfiBc6Bz1CI39spfjiQSvQ.png" /><figcaption>The data science pipeline</figcaption></figure><h3>Artelligence</h3><p>On the 5th of September 2019, the IBM Developer Advocacy team delivered the AI Masterclass at Artelligence: The Artificial Intelligence Summit. <a href="https://medium.com/u/7f1cbb04238">Anchal Bhalla</a> was the speaker at the event while <a href="https://medium.com/u/bb456365b46d">Naiyarah Hussain</a> and <a href="https://medium.com/u/696e521f847f">Mahitab Hassan</a> facilitated. The audience were mostly developers interested in AI and data science, this was delivered by introducing data science and doing a hands-on session on a banking use case. The code lab demonstrated the <a href="https://medium.com/u/368d6fdd39f">IBM Watson</a> capabilities, especially the data science tools on Watson Studio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g1dYQlh9DpczTK0UmjPLJg.jpeg" /></figure><h3>Code Lab — Building a mortgage default prediction application</h3><p>Banks have thousands of customers and some usually apply for mortgages for their houses. So it becomes very difficult for banks to manually analyze every case and decide whether to approve a certain case or not because customers have different needs and profiles. And the second constraint is how much profit will the bank get from each of these customers. And one wrong decision can cost the bank millions of dollars. So, for this reason, an AI solution is necessary to automate this task and make the task more efficient and quicker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JJlJv_YaR-c7yvIcO7kgxQ.png" /></figure><p>This was solved using <a href="https://medium.com/u/368d6fdd39f">IBM Watson</a> Studio on IBM Cloud. The audience created the model on SPSS [a visual modeling tool] and deployed the model on the cloud. Several models were tried and tested and a summary of their results is shown below. The best one out of them was deployed which was random forests in this case because of its high accuracy and it was not overfitting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*hKYSiWB-X8PHbkq-yTO5OA.png" /></figure><p>The front-end is a web application created using python flask that the banks can use to input their request and get the results back with their confidence level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*kKmMqGSjOoGje2Eg.gif" /></figure><h3>AutoAI</h3><p>This was fairly easy in SPSS but is there an even easier way? Well, there is, it’s AutoAI which is a new offering on the Watson studio platform. AutoAI automatically prepares data, applies algorithms, and attempts to build model pipelines best suited for your data and use case. So, in short, it helps to automate the entire AI lifecycle management and Optimizes AI pipeline end-to-end</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*lbSuejXXZ6v1yAKl1IKovA.png" /></figure><h3>Open Scale</h3><p>The model right now is a black box and there is no way to figure out why the model gave a certain result. So integrating it with open scale will add explainability to this process. Banking employees who analyze mortgage requests, need to know which customer feature was responsible for coming up with a particular prediction because some features like location/ income can affect the prediction and these need to be known to answer the customer back or generate business reports. The way open scale works is it assigns each feature a confidence score, for example, if the income of a customer is over 25000, the chances of getting loan increases by 50% but if their credit card debt is over 650 then it reduces by 20%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*BbU7VLTyFhYqqtkYzLwdBw.png" /></figure><h3>Conclusion</h3><p>The event was conducted successfully and we reached over 130 enterprise developers on IBM Cloud! The audience thoroughly enjoyed the session while learning about the data science capabilities of IBM Watson studio. If you want to create your own mortgage default prediction application on Watson studio, please visit my <a href="https://github.com/anchalbhalla/mortgage-prediction-html">GitHub repo</a> and follow the steps to create a machine learning model and web application.</p><h3>Resources:</h3><p><a href="https://ibm.box.com/s/9fp8mmmvqodctl48y7lqgkcx4hylpsl5">Slides from the event</a></p><p><a href="https://github.com/anchalbhalla/mortgage-prediction-html">GitHub repository</a></p><p><a href="https://linkedin.com/in/anchal-bhalla-1aabb6145/">My LinkedIn profile</a></p><p><a href="https://linkedin.com/in/anchal-bhalla-1aabb6145/">My LinkedIn profile</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1c0f64a2d25" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Custom Speech Recognition Models Within Minutes]]></title>
            <link>https://medium.com/ibm-watson/building-custom-speech-recognition-models-within-minutes-33221c1ed8f8?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/33221c1ed8f8</guid>
            <category><![CDATA[ibm-watson]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Mon, 26 Aug 2019 20:52:12 GMT</pubDate>
            <atom:updated>2020-03-28T12:16:29.667Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever wanted to create your personalized AI bot to identify whatever you say to it? You probably must have at some point but would have dropped the idea because either it’s too complex or time consuming to train it or create it. In this blog you will learn how you can create your custom speech models using IBM Watson and the best part is that you do not have to write a single line of code for this. Let’s get started !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UfLHB5jH8PVO1RtPu88DDQ.png" /></figure><h3><strong>Prerequisites:</strong></h3><ul><li><a href="http://ibm.biz/artelligence">IBM Cloud account</a> [Upgrade to a Pay-As-You-Go account and get $200 credits free]</li><li>Create a <a href="https://cloud.ibm.com/catalog/services/speech-to-text">Speech-to-Text service</a></li></ul><h3><strong>Overview:</strong></h3><ul><li>Introduction IBM Watson Speech-to-Text</li><li>What are custom acoustic and language models and how to build them</li><li>Testing Model accuracy with WER</li></ul><p>Speech recognition and Speech to Text services have been there from a long time but it does not offer the full capabilities for example they focus on smaller audio sets or are not trainable. <a href="https://www.ibm.com/watson/services/speech-to-text/">IBM Watson® Speech to Text</a> on <a href="https://www.ibm.com/cloud">IBM Cloud</a> offers features such as transcribing real-time audio in 7 different languages with a very high accuracy rate plus it supports various use cases. Best part is that you tweak/train the service to your standards and this is what we will be looking at now.</p><p>The Speech to Text service focuses on creating two different kinds of custom speech recognition models - acoustic models and language models. We will learn to create both of them.</p><h3><strong>Acoustic Models</strong></h3><p>An acoustic model let’s you adapt a base model for the acoustic characteristics of your environment and speakers. You can create an acoustic model in such cases:</p><ul><li>Your acoustic environment is unique. For example, the environment is noisy, microphone quality or positioning are sub-optimal, or the audio suffers from far-field effects.</li><li>The speaker’s speech pattern is abnormal. For example they speak too fast or too slow.</li><li>Your speaker has an accent.</li></ul><p>Now let’s look at how we can create an acoustic model which deals with a noisy environment and with speakers who have Indian and Scottish accents.</p><h3><strong>Steps to create an Acoustic Model:</strong></h3><p>Let’s download some audio sets! You can download some audios with a noisy environment from <a href="https://github.com/anchalbhalla/voice-chatbot-adnoc/tree/master/voice_dirty">this link</a>. This is a subset of this <a href="https://github.com/Lab41/VOiCES-subset">data set</a>. You can download audio’s with Indian accent from <a href="https://github.com/anchalbhalla/voice-chatbot-adnoc/tree/master/indianaccent">here</a> and with Scottish accent from <a href="https://github.com/anchalbhalla/voice-chatbot-adnoc/tree/master/scottishaccent">here</a>.</p><p>Open the terminal on your computer and enter the following command. Replace the ‘apikey’ with your own apikey (credentials available on IBM Cloud) and you can also give a name to the model. I have named it ‘My first acoustic model’.</p><pre>curl -X POST -u “apikey:{apikey}” — header “Content-Type: application/json — data “{\”name\”: \”My first acoustic model\”, \”base_model_name\”: \”en-US_BroadbandModel\”, \”description\”: \”This model contains noisy background audios and speakers with Indian and Scottish accents\”}” “<a href="https://stream.watsonplatform.net/speech-to-text/api/v1/acoustic_customizations">https://stream.watsonplatform.net/speech-to text/api/v1/acoustic_customizations</a>&quot;</pre><p>This command creates a customization ID. This customization ID is the identification number for the custom acoustic model we are going to create. This ID will be used in your applications as well so keep note of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*5kePrQNJZvfwOkl1ODZXkw.png" /><figcaption>Customization ID example</figcaption></figure><p>Next, we will add audio files to this base custom model we have created so we can send it for training. There will be 3 different audio files (make sure they are in zipped folders) so we run this command 3 times with the different zip folders we have. To run this command cd into the same directory as the audio files. Make sure to replace and add your apikey, name of the audio folder and customization ID from the previous step:</p><pre>curl -X POST -u “apikey:{apikey}” — header “Content-Type: application/zip” — header “Contained-Content-Type: audio/l16;rate=16000” — data-binary @<strong>voices_dirty.zip</strong> “https://stream.watsonplatform.net/speech-to-text/api/v1/acoustic_customizations/{customization_id}/audio/<strong>voices_dirty</strong>&quot;</pre><p>The next step is to train our model with these audio files so enter the following command and wait for about 20–30 minutes to finish:</p><pre>curl -X POST -u “apikey:{apikey}” “<a href="https://stream.watsonplatform.net/speech-to-text/api/v1/acoustic_customizations/%7Bcustomization_id%7D/train">https://stream.watsonplatform.net/speech-to text/api/v1/acoustic_customizations/{customization_id}/train</a>&quot;</pre><p>You can check the status of the training by entering the following command:</p><pre>curl -X GET -u “apikey:{apikey}”<br>“<a href="https://stream.watsonplatform.net/speech-to-text/api/v1/acoustic_customizations/%7Bcustomization_id">https://stream.watsonplatform.net/speech-to-text/api/v1/acoustic_customizations/{customization_id</a>}&quot;</pre><h3><strong>Language Models</strong></h3><p>This service was created for the broader and general audience. The base model includes many words that we use in everyday conversations but the vocabulary extends when we dive into an industry focus for example the medical industry or the oil and gas industry. By using the language model customization we can tailor the vocabulary to include domain-specific terminology. This is done by adding a corpus file. A corpus file contains text/ key words that is usually used in the industry. We will be focusing on the oil and gas industry in the blog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-PpSStSQHZpLFwIdU7uk8g.jpeg" /><figcaption>Industry specific models</figcaption></figure><h3><strong>Steps to create a Language Model</strong></h3><p>First step is to add the corpus text file to the model. So download the file from <a href="https://github.com/anchalbhalla/watson-speech/blob/master/oil-gas-corpus.txt">here</a>. This file contains most of the terminology that is used in an oil and gas industry.</p><p>Now run the following command to create a custom language model and this will create a customization ID as well:</p><pre>curl -X POST -u &quot;apikey:{apikey}&quot; --header &quot;Content-Type: application/json&quot; --data &quot;{\&quot;name\&quot;: \&quot;Oil and Gas Model\&quot;, \&quot;base_model_name\&quot;: \&quot;en-US_BroadbandModel\&quot;, \&quot;description\&quot;: \&quot;This is a custom language model for the Oil and Gas industry\&quot;}&quot; &quot;https://stream.watsonplatform.net/speech-to-text/api/v1/customizations&quot;</pre><p>In this step we will add the corpus file to the model so we can send it for training on those words. Make sure you cd into the same directory as the corpus file when running the command and add the customization ID from the previous step:</p><pre>curl -X POST -u “apikey:{apikey}” — data-binary @oil-gas-corpus.txt “https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/{customization_id}/corpora/oilgas&quot;</pre><p>Now let’s look at what the model has analyzed. Run the command below:</p><pre>curl -X GET -u “apikey:{apikey}”<br>“<a href="https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/%7Bcustomization_id%7D/corpora/corpus1">https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/{customization_id}/corpora/</a>oilgas&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*0Fq8csZl8XKci7mmqjfpNg.png" /></figure><p>After running the command, you will see the following results on the left. This means the file contains 2193 words out of this the model is not trained on 10 words. So once we send the model for training it will be trained on these 10 out of vocabulary words.</p><p>Enter the following command to send it for training and wait for 15–30 minutes:</p><pre>curl -X POST -u “apikey:{apikey}”<br>“<a href="https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/%7Bcustomization_id%7D/train">https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/{customization_id}/train</a>&quot;</pre><p>You can check the training status by entering the following commands:</p><pre>curl -X GET -u “apikey:{apikey}”<br>“<a href="https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/%7Bcustomization_id">https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/{customization_id</a>}&quot;</pre><h3>Accuracy &amp; Testing</h3><p>We have finally created our custom models on the Cloud but how can we actually test whether they are working and how accurate they are? To test the model and check the accuracy we will be running our models on a blind audio set with a transcription.</p><p>A common technique used to test the accuracy of speech models is WER — Word Error Rate. The lower the rate, the better the accuracy. It is calculated using the formula below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*TUtA4J1f1U_mPnM0vQxKKA.png" /></figure><p><strong>S</strong>: substitutions (replacing a word).<br><strong>I</strong>: for insertions (inserting a word).<br><strong>D:</strong> deletions (omitting a word).<br><strong>N</strong> is the number of words that were actually said <em>Note: WER will be calculated incorrectly if you forget to normalize capitalization, punctuation, numbers, etc. across all transcripts</em></p><p>We will be writing a python script to test the accuracy of both our models. Python offers a library called <a href="https://pypi.org/project/jiwer/">jiwer </a>to automatically calculate the word error rate for speech recognition models.</p><p><strong>Steps for testing and getting an accuracy rate:</strong></p><p>Download some sample audio files from <a href="https://github.com/Lab41/VOiCES-subset/blob/master/VOiCES_90_2.tar">this audio set</a> and get their transcription from <a href="https://github.com/Lab41/VOiCES-subset/blob/master/Lab41-SRI-VOiCES_ref_SUBSET.csv">here</a>.</p><p>Download the following code files to get the results:</p><ul><li><a href="https://github.com/anchalbhalla/watson-speech/blob/master/get_transcript_dirty.py">Get a transcript from the cloud service</a></li><li><a href="https://github.com/anchalbhalla/watson-speech/blob/master/wer_score_dirty.py">Compare ground truth with hypothesis (getting WER rate)</a></li></ul><p>After running these 2 files on the samples you will get an accuracy rate close to 0.04 in an excel sheet. Which is a pretty good accuracy rate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Gvgiq9HNDq3MgIjpXov1Q.png" /></figure><h3>Conclusion</h3><p>Voila! You have finally created your personalized speech recognition models with a very high accuracy rate and that too within minutes without having to write any complex code. Now you can embed these models into any application.</p><h3><strong>References</strong></h3><ul><li><a href="https://github.com/Lab41/VOiCES-subset/">https://github.com/Lab41/VOiCES-subset/</a></li><li><a href="http://www.festvox.org/cmu_arctic/">http://www.festvox.org/cmu_arctic/</a></li><li><a href="https://cloud.ibm.com/apidocs/speech-to-text">https://cloud.ibm.com/apidocs/speech-to-text</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33221c1ed8f8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibm-watson/building-custom-speech-recognition-models-within-minutes-33221c1ed8f8">Building Custom Speech Recognition Models Within Minutes</a> was originally published in <a href="https://medium.com/ibm-watson">IBM watsonx Assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UAE Data for Happiness Hackathon 2.0]]></title>
            <link>https://medium.com/@anchalbhalla/uae-data-for-happiness-hackathon-2-0-9c06208efbeb?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c06208efbeb</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[aem]]></category>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Sat, 06 Jul 2019 10:42:00 GMT</pubDate>
            <atom:updated>2019-07-06T10:42:00.117Z</atom:updated>
            <content:encoded><![CDATA[<p>The UAE Data for Happiness Hackathon was organized by the Telecommunications Regulatory Authority (TRA) of the UAE from 10th February to 25th February. The Developer Advocacy team from IBM took part in the hackathon and offered mentoring and training sessions to the participants.</p><p>This blog gives an overview of our experience at UAE Hackathon 2019 in the emirates of Sharjah, Ajman, Fujairah and Dubai.</p><p><strong>From Sharjah:</strong></p><p>On February 10th, I gave a workshop on Introduction to Machine learning. I explained what is AI and machine learning and why is it important in today’s world. I also explained the different types of learning techniques: supervised and unsupervised learning while explaining their algorithms. The workshop concluded with a demo on Watson machine learning models and other resources they could have utilized for the hackathon.</p><p>On the same day, <a href="https://medium.com/u/696e521f847f">Mahitab Hassan</a> gave a talk on Intoduction to IBM Cloud. She explained the meanings of<strong> </strong>IaaS (Infrastructure-as-a-Service), PaaS (Platform-as-a-Service), SaaS (Software-as-a-Service) and FaaS (Function-as-a-Service). She also went through what are the different services available on IBM Cloud and how they can be used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sfQLD8jWQsNOXyB5" /></figure><p>On February 11th, <a href="https://medium.com/u/696e521f847f">Mahitab Hassan</a> mentored the teams in Sharjah and helped them use the different services on IBM Cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9TCxCePw6IhKvRFd" /></figure><p><strong>From Ajman:</strong></p><p>On February 11th, <a href="https://medium.com/u/7fa57e649b21">Abeer Haroon</a> from the developer advocacy team delivered a 30-minute lightning talk that focused on Rapid Application Development and the best practices for prototyping at hackathons. She introduced the attendees to IBM Cloud, and explained how they can utilize the services on IBM Cloud towards building their solutions faster. She showed them a demo of an android application with visual recognition which is one of the starter kits available on IBM Cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I4eFhSlHAGUjUctAu_kx6A.png" /></figure><p>On February 12th, <a href="https://medium.com/u/7fa57e649b21">Abeer Haroon</a>, Faiz and <a href="https://medium.com/u/51998c340bc7">Ayush Maan</a> mentored the teams taking part in the Hackathon and helped them use different IBM Cloud services in their applications such as Visual Recognition, Starter kits, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*eaO_G50aF1ilkzyaJdyTxg.png" /></figure><p><strong>From Fujairah:</strong></p><p>The developer advocacy team (<a href="https://medium.com/u/51998c340bc7">Ayush Maan</a> and <a href="https://medium.com/u/24d9f9dafe8e">Bedang Sen</a>) was present in Fujairah on the weekend to deliver workshops on AI, IBM Cloud and Blockchain. They also mentored the teams in the same areas and helped build up on their ideas.</p><p><strong>From Dubai:</strong></p><p>The team in Dubai delivered workshops on IBM Cloud, AI, Data science and Blockchain. They also mentored the teams and helped them refine their ideas.</p><p><strong>The closing ceremony:</strong></p><p>The ceremony saw the honoring of 21 winning teams in the Hackathon. The LIFT OFF Project won the Grand Prize for a smart app, showcased at the Ajman Hackathon, which augments cameras with artificial intelligence to diagnose the user’s health by examining the face, eyes, nose and face color, and accordingly determines the medical condition.</p><p>The winner of the first place in the Abu Dhabi Hackathon is the KHADER project, which aims at preserving the environment through the use of artificial intelligence in waste recycling operations. JUSTICE-SMART POSITIVE CENTER has also won the first place in the Sharjah Hackathon, which aims to find solutions to family problems by the user’s interaction in a room containing a number of smart mirrors, each asking the user to answer a question until reaching a solution to the problem.</p><p>The first place in Umm Al Quwain Hackathon went to the FAST RESPONSE project. The concept of the project is to manufacture a remotely-controlled aircraft equipped with special sensors linked to a smart app, which can be guided to a fire scene and can give detailed data about the same and whether there are human casualties or not.</p><p>The first place in the Fujairah Hackathon went to the SO CALLED ENGINEERS project, a project to provide a smart helmet for motorcyclists, which will, in the event of an accident, alert the competent entities by reporting the condition of the injured, time and location of the accident.</p><p>As for Ras Al Khaimah’s Hackathon, the first place went to THE HEALTH INSPECTORS, a smart app that enables users to provide feedback on restaurants and how healthy they are.</p><p>The DERASA project won first place in Dubai’s Hackathon. The project is an app that helps spread smart interactive learning.</p><p>The ceremony saw the honoring of a hundred inspiring ideas developed by participating teams, which were introduced in one of Zayed University’s halls, where visitors and participants were able to learn about innovative solutions, their owners and their views on potential future impact of such solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c06208efbeb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We made a portable cooler for just $26!]]></title>
            <link>https://medium.com/makesmartthings/we-made-a-portable-cooler-for-just-26-fd5eb592e560?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd5eb592e560</guid>
            <category><![CDATA[portable]]></category>
            <category><![CDATA[arduino]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Sat, 06 Jul 2019 10:30:54 GMT</pubDate>
            <atom:updated>2019-07-06T10:30:54.864Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever wondered how a refrigerator works? Or, maybe you’ve faced a situation when you just wanted to cool a drink quickly while on a long drive. We’ve felt the struggle too — so we made our own little nifty cooler!</p><p>On the 22nd of July, <a href="http://facebook.com/makesmartthings">The Assembly</a> conducted a workshop on how to make a DIY portable fridge using a Peltier Module and some other cheap electronics you can pull out of an old CPU lying around your office or home. We also showed them how they can measure temperature and humidity using an Arduino, a temperature sensor, an LCD display and (lots of) wires. By the way, we actually managed to cool down a can in less than 30 minutes!</p><p>The hands-on workshop was held at in5— an incubator in Knowledge Village, Dubai, where aspiring students, industry professionals and hobbyists gather to form a diverse community of creative minds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XhFQfxexW9RfSmBKMb5LPA.jpeg" /></figure><p>The day started off with a brief introduction to the mechanics of how an actual fridge works: Thermoelectric cooling, peltier modules and gas compression. This was followed by a quick working demo of the end product along with a step by step procedure which the audience followed to build their own portable fridge.</p><p>The attendees were divided into groups and were given all the required components to make their own working refrigerator.</p><p>We left the creativity of design up to the groups while giving them a basic idea of the recommended dimensions. The groups started off by designing the exterior using Styrofoam sheets, as it provides excellent insulating properties, and proceeded to assemble the pieces to provide a good skeleton.</p><p>Next off, all the components including the Peltier module, temperature sensors, fans and Arduinos were assembled together for the cooler to get up and running.</p><p>Here’s the list of materials we used:</p><ul><li>Peltier Module ($3)</li><li>Thermocol Sheet ($2.5)</li><li>CPU Heatsink with Fan ($5.23)</li><li>Mini Computer Fan ($0.5)</li><li>12V 5A Power Supply Adapter ($6.78)</li><li>Thermal Paste ($4.16)</li><li>Glue Gun ($3.5)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*orTqf8rwaCP5qLi54w52gQ.jpeg" /></figure><p>The last step involved regulating the power supply and finally powering up the components. Each group plugged in the power supply, and voila! They had their very own portable fridge ready in under 2 hours.</p><p>If you get value out of these posts press the 💚 button and follow The Assembly for more valuable posts!</p><p>If you live in Dubai, make sure to follow <a href="http://facebook.com/makesmartthings">The Assembly</a> on Facebook and keep up-to-date with our events! 😊</p><blockquote>The Assembly is a community collaborative that provides hands-on workshops <strong>every Saturday </strong>on topics varying from artificial intelligence, cloud platforms, IoT devices and DIY electronics projects.</blockquote><blockquote>If you have the passion to learn and build innovative projects then be sure to join us every Saturday to learn more about such smart things. If you want to keep track of the events we organize, get in touch with us on <a href="http://facebook.com/makesmartthings">Facebook</a> or visit <a href="http://www.theassembly.ae/">our website</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd5eb592e560" width="1" height="1" alt=""><hr><p><a href="https://medium.com/makesmartthings/we-made-a-portable-cooler-for-just-26-fd5eb592e560">We made a portable cooler for just $26!</a> was originally published in <a href="https://medium.com/makesmartthings">The Assembly</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RTA Hackathon 2019]]></title>
            <link>https://medium.com/@anchalbhalla/rta-hackathon-2019-9c8917a12950?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c8917a12950</guid>
            <category><![CDATA[travel]]></category>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Mon, 29 Apr 2019 13:28:32 GMT</pubDate>
            <atom:updated>2019-04-30T15:08:27.090Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*Zma-A8cBHg5NnMIEWL78iQ.jpeg" /><figcaption>The winning teams</figcaption></figure><p>Dubai’s Roads and Transport Authority (RTA) has concluded the 3rd Public Transport Hackathon held under Youth for Public Transport (Y4PT) initiative of the International Association for Public Transport (UITP). The event, which was held in Burj Khalifa in collaboration with Emaar and Serco, attracted 25 colleges from all over the UAE. Attendees included a host of CEOs, Directors and employees of RTA. The participants contributed 12 innovative ideas relating to public transport.</p><p>The final ideas were presented by 12 groups that comprised of 90 students. Following brainstorming sessions over three days, participants came up with innovative ideas epitomising the best technological solutions to cope with the challenges of public transport means in Dubai namely buses, tram, metro and marine transport, in addition to traffic safety and smart apps for serving customers. Comprising RTA leaders and partners, the jury decided the first three winners. Mr. Robot Group (encompassing the American University of Sharjah, American University of Dubai and Dubai University) won first place and prize money of AED 20,000. They built a smart nol system which used facial recognition to determine customer happiness. Mr.Robot team will be traveling to Sweden to represent Dubai at the 3rd Y4PT Global Transport Hackathon in Stockholm this June 2019.</p><p>Rasd Group (comprising American University of Dubai, Wollongong University, AMITY University and Manipal University) came in second place winning AED 10,000. The team built a solution using smart cameras to detect pedestrians using python and openCV.</p><p>5Bits Group (comprising Wollongong University and Khalifa University) won the third prize amounting to AED 5,000. They built a mobile app to identify defects and waste on the road using machine learning and they also send this data to RTA. The team utilized IBM Cloud object storage, cloud annotations and Core ML to come up with a solution. Moreover, the three winners were also awarded Certificates of Appreciation.</p><p>The developer experience team from IBM was involved at this hackathon as well. From the team <a href="https://medium.com/u/c91abf5ee642">Prerna Bhojwani</a>, <a href="https://medium.com/u/51998c340bc7">Ayush Maan</a>, <a href="https://medium.com/u/7fa57e649b21">Abeer Haroon</a> and I mentored the teams to build upon their ideas using IBM cloud services. We mentored the teams on all 3 days.</p><p>On the second day, I gave a workshop on Machine Learning and showed the audience how they can use IBM Cloud services like Watson assistant, Visual recognition and Machine learning in their applications. I also demonstrated the end applications which utilize these services and gave a short demo on how they can create their own machine learning models using Watson Studio.</p><p>Engaging university students in the past editions of Public Transport Hackathon echoes RTA’s appreciation of the role of in the youth in shaping the future, as they have a rich imagination and intellectual skills enabling them to come up with the best ideas to beat potential public transport challenges. The third edition witnessed significant intellectual competition resulting in solutions capable of leveraging this field.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c8917a12950" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science Series with IEEE Part 3]]></title>
            <link>https://medium.com/@anchalbhalla/data-science-series-with-ieee-part-3-b88fb41bb6e4?source=rss-7f1cbb04238------2</link>
            <guid isPermaLink="false">https://medium.com/p/b88fb41bb6e4</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Anchal Bhalla]]></dc:creator>
            <pubDate>Wed, 06 Mar 2019 13:18:35 GMT</pubDate>
            <atom:updated>2019-03-06T13:18:35.530Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ql5JQ84CUbpkvwy5oSJvUQ.png" /></figure><p>On the 27th of February, the Developer Advocacy team from IBM conducted a workshop on Data Analysis and Visualization at the American University of Sharjah. This was the third part of the data science with python workshop series and it was delivered by <a href="https://medium.com/u/696e521f847f">Mahitab Hassan</a> and me. This blog gives an overview of the event and a basic understanding of data analysis and visualization.</p><p><a href="https://medium.com/u/696e521f847f">Mahitab Hassan</a> kicked-started the workshop by briefly going over what was covered in the previous <a href="https://medium.com/@chandnivaya/data-science-series-with-ieee-part-2-a1e7c21b2803">session</a> and introduced model development and evaluation. She also did a code lab on <a href="https://console.bluemix.net/catalog/services/machine-learning">Watson machine learning</a> (WML) to demonstrate the concepts further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nRHkEsK8K4r1Egq2" /></figure><p>The prime question that needed to be tackled involved<strong> “How can you determine a fair value for a used car?”</strong> for which model development and evaluation were explored. The model development section was kicked off first looking at simple terms including what a model is and what are the different component contributing to its generation. Afterwards, <a href="https://www.youtube.com/watch?v=gGJMSnhzFOI">Simple and Multiple Linear Regression (SLR and MLR)</a> was explained. The audience were then introduced to<a href="https://www.youtube.com/watch?v=0bKS5rq9Gl0"> model evaluation using visualization tools</a> (including Regression plot, Residual plot and Distribution plot) after which <a href="https://www.youtube.com/watch?v=ARzgJMakC-8">Polynomial Regression, pipelines</a>, and <a href="https://www.youtube.com/watch?v=bXrB0VRiT10">measures for in-sample evaluation</a> (specifically Mean Square Error (MSE) and R-squared (R²)) were explained.</p><p>Following understanding, the measures taken to improve prediction and decision making, model evaluation techniques were explored, which involved understanding the terms Over-fitting, Under-fitting, Model Selection, and Generalization Error. Mahitab ended her talk by looking at Ridge Regression for preventing over-fitting (when you have multiple independent variables or features) and Grid Search for quickly selecting hyper-parameters using cross-validation. Finally, the attendees followed along as they build a simple model using Watson machine learning (WML) on IBM Cloud.</p><p>I (<a href="https://medium.com/u/7f1cbb04238">Anchal Bhalla</a>) then took over to explain data visualization using python and did a code lab on Cognos Dashboards on IBM Cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HxuqwMBUPORE118w" /></figure><p>I explained that visualization is an essential part of data science since it presents results from the model in a way that is understandable not only to a developer but also to the general audience.</p><p>After covering what is visualization, I introduced the library Matplotlib, which is a popular data visualization library in python. Matplotlib has three different layers: Back-end layer, Artist layer and the scripting layer but I covered only the scripting layer in this workshop.</p><p>Subsequently, I explained how to plot graphs such as line plots, area plots, bar charts, pie charts, histograms, etc. using the python library on Watson studio. I also explained various use cases of every graph while running the code on Jupyter notebooks.</p><p>Finally, I did a code lab on Cognos Dashboard and demonstrated how you can create graphs without writing a single line of code. The data used for the visualizations was about a banking marketing campaign and audience was able to create bar and pie charts from the dataset.</p><p>The session was concluded by <a href="https://medium.com/u/696e521f847f">Mahitab Hassan</a> where she talked about <a href="https://callforcode.org/">Call for Code</a> and shared the link to pass the quiz and final exam to earn the Data visualization badge. Earning the badge from IBM can be shown as a proof of their understanding of data visualization with python.</p><p>To know more about upcoming IBM events in Dubai, please subscribe to our <a href="https://www.meetup.com/IBMCloud-Dubai/">meetup page</a>.</p><p><strong>Resources:</strong></p><ol><li>developer.ibm.com/code</li><li><a href="https://cognitiveclass.ai/)">https://cognitiveclass.ai/</a></li><li><a href="https://eu.udacity.com/school-of-ai">https://eu.udacity.com/school-of-ai</a></li><li><a href="https://www.kaggle.com/">https://www.kaggle.com</a>/</li><li>Sign up for IBM Cloud account: <a href="http://ibm.biz/ieeeds3">http://ibm.biz/ieeeds3</a></li></ol><p><strong>References:</strong></p><ol><li><a href="https://developer.ibm.com/tutorials/create-interactive-dashboards-on-watson-studio/">https://developer.ibm.com/tutorials/create-interactive-dashboards-on-watson-studio/</a></li><li><a href="https://developer.ibm.com/tutorials/ml-in-minutes/">https://developer.ibm.com/tutorials/ml-in-minutes/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b88fb41bb6e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>