<?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 Diarmuid on Medium]]></title>
        <description><![CDATA[Stories by Diarmuid on Medium]]></description>
        <link>https://medium.com/@d.o.kelly?source=rss-2cd2ded5af98------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CUWvc6_gfBH0Mce7RBeAMw.jpeg</url>
            <title>Stories by Diarmuid on Medium</title>
            <link>https://medium.com/@d.o.kelly?source=rss-2cd2ded5af98------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 13:58:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@d.o.kelly/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 Federated approach to Cyber Resiliency]]></title>
            <link>https://blog.branchkey.com/a-federated-approach-to-cyber-resiliency-818287fe228?source=rss-2cd2ded5af98------2</link>
            <guid isPermaLink="false">https://medium.com/p/818287fe228</guid>
            <category><![CDATA[federated-learning]]></category>
            <category><![CDATA[control-system]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Diarmuid]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 10:38:02 GMT</pubDate>
            <atom:updated>2022-10-25T10:38:02.179Z</atom:updated>
            <content:encoded><![CDATA[<h4>Building Redundancy and Cyber-Resiliency into Intelligent Control Systems by design using Federated Learning.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VWKmvinV6LVMR1zrIEEoiw.jpeg" /></figure><p>The cyber security domain is an area that benefits immensely from collaboration. Parties can work together to address mutual threats, such as intelligent anomaly detection across private networks without sharing the data in these networks. Whether prompted by ongoing wars on our doorstep that <a href="https://www.scmagazine.com/analysis/vulnerability-management/cyberattacks-accelerating-in-europe-moodys-says">increase the frequency of attacks</a> or the growing rate of ransomware attacks, just as a single example the shutdown of all IT systems in <a href="https://en.wikipedia.org/wiki/Health_Service_Executive_ransomware_attack">Irish Nation Health Service in May 2021</a>. There’s a common goal to build cyber-resiliency to protect the data we’re all chasing to gather. This effort can be seen in the <a href="https://ec.europa.eu/commission/presscorner/detail/en/IP_13_94">European Union’s strategy</a> on protecting the open internet and stricter laws governing even more entities in the digital space under the new <a href="https://www.nis-2-directive.com/">NIS 2 Directive</a>.</p><p>Building cyber-resiliency has benefits for entire industries and countries. Preventing a member state or a competing organisation from suffering severe outages or data leakages benefits everyone on the continent. From our discussions with our clients — organisations understand the need for change and many are willing to adopt solutions if they exist. As part of this effort BranchKey is investigating methods of enabling intelligent cyber detection tools to be federated across organisations.</p><blockquote>We take a strategy of the best data protection is when you do not connect it to the internet unless necessary precautions are taken.</blockquote><p>Methods via Federated Data access allow clear dividers between systems preventing so called <a href="https://www.ssi.gouv.fr/uploads/IMG/pdf/CTRSA-2013_final_version.pdf">Horizontal side-channel attacks</a> which make ransomware attacks so much more effective. Building redundancy into machine learning systems has yet to develop it’s own methods for defence — the industry is beginning to change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wgtnt7dLdfugn9qswr2wxg.jpeg" /></figure><p>If you’re interested in learning more about how federated learning is being applied in cyber resiliency check out some of these papers to get started:</p><ul><li><a href="https://hal.archives-ouvertes.fr/hal-03544248/document">Detecting cyberattacks using anomaly detection in industrial control systems: A Federated Learning approach</a></li><li><a href="https://arxiv.org/pdf/2210.06614">Anomaly Detection via Federated Learning</a></li><li><a href="https://www.researchgate.net/profile/Quoc-Viet-Pham/publication/355108958_Federated_Learning_for_Cybersecurity_Concepts_Challenges_and_Future_Directions/links/615e50f850be5507288c3054/Federated-Learning-for-Cybersecurity-Concepts-Challenges-and-Future-Directions.pdf">Federated Learning for Cybersecurity: Concepts, Challenges and Future Directions</a></li></ul><p>The problem is global and we’re working on an enabling system to allow organisations to collaborate with each other on these challenges. As this project develops there will be more to share along the way. If you’re looking for a solution as you build out your organisation’s security please reach out: <a href="/service/mailto:info@branchkey.com">info@branchkey.com </a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=818287fe228" width="1" height="1" alt=""><hr><p><a href="https://blog.branchkey.com/a-federated-approach-to-cyber-resiliency-818287fe228">A Federated approach to Cyber Resiliency</a> was originally published in <a href="https://blog.branchkey.com/">BranchKey</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Privacy is about you]]></title>
            <link>https://blog.branchkey.com/privacy-is-about-you-bf93a6023a21?source=rss-2cd2ded5af98------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf93a6023a21</guid>
            <category><![CDATA[website-traffic]]></category>
            <category><![CDATA[tracking]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Diarmuid]]></dc:creator>
            <pubDate>Thu, 28 Jul 2022 07:37:46 GMT</pubDate>
            <atom:updated>2022-08-29T09:55:40.767Z</atom:updated>
            <content:encoded><![CDATA[<h4>What we share with each other and what we then do with this information starts at the respect we have for each other.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YA_Fr2E22E4lKXyizsgioA.jpeg" /></figure><p>Something that is easily forgotten online is individual privacy. Giving out our information is such an easy thing to do when it’s a big green <em>“Accept” </em>button. In this post, we want to share some notes around the definition of privacy, how it affects us all, and why we should care about our information. To finalise, touch on the small effort we’re making at BranchKey with another European company that treats privacy with respect, <a href="https://simpleanalytics.com/">Simple Analytics</a> (no affiliation, we just like what they’re doing).</p><h3>The Importance of Privacy</h3><p><a href="#How do we treat Privacy at BranchKey?"><strong>TLDR skip to how BranchKey treats privacy</strong></a>; Privacy is something difficult to understand, but affects every part of our lives. From how we manage our social relationships, who’s business is it to know our business, and appropriate behaviour around strangers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XOkVDZnOL0kdLMARrOcIDw.jpeg" /></figure><p><strong>Background</strong></p><blockquote>“Privacy is a value so complex, so entangled in competing and contradictory dimensions, so engorged with various and distinct meanings, that I sometimes despair whether it can be usefully addressed at all.” — <a href="https://en.wikipedia.org/wiki/Robert_Post_(law_professor)">Robert C. Post</a>, Dean of Yale Law</blockquote><p>So we’re dealing with something we can’t quite define and therefore to understand or address this for us as a company or in our daily lives is not that straight forward.</p><blockquote>Conversely, because our ability to control who has access to us, and who knows what about us, allows us to maintain the variety of relationships with other people that we want to have, it is, I think, one of the most important reasons why we value privacy. —<em> </em>“Why Privacy is Important” <em>-</em> <em>James Rachels (1975)</em></blockquote><p>As an example, it’s not everyone’s business to know your medical records, or financial situation (And this is where I’ll try to tie it to modern day technology). What we give to others, be them an individual or a company of people. That information is only their business if there is a reason for them to have it, we know what we’re sharing with them, and we trust them not to redistribute that information without our consent — to be a casual gossip.</p><blockquote>In general, a fact about ourselves is someone’s business if there is a specific social relationship between us which entitles them to know…We are often free to choose whether or not to enter into such relationships, and those who want to maintain as much privacy as possible will enter them only reluctantly</blockquote><p>Privacy is something very difficult to address, and it’s usually not something we’re too concerned about until things go wrong.</p><h3><strong>How do we treat Privacy at BranchKey?</strong></h3><p>We want to respect our visitor’s privacy, but at the same time learn something about them to improve service. Until very recently we didn’t track anything on our website. We didn’t feel it was right to place a Google analytics tag on our website. You came to our website to deal with BranchKey, not to have Google looking over your shoulder uninvited. However, this left us with a blind spot.</p><blockquote><em>A problem encountered as we operate our own website is that monitoring traffic comes with privacy considerations.</em></blockquote><p>We didn’t know who, if anyone was visiting the site. To improve our offerings, the language we present in, or gauge the investment we need to make in our front-end, we needed some metrics. But the dilemma… who out there shares with us the seriousness about respecting our visitors.</p><p>Recently wecame across <a href="https://simpleanalytics.com/">Simple Analytics</a>, they summed up pretty much how we feel about the solutions on the market for tracking. Their slogan:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y3tldt6uMV7Rnd4B.png" /></figure><blockquote>We care about your data. We will never sell it, our servers are located in The Netherlands, and your data is always encrypted. — Simple Analytics</blockquote><p>To get an idea, here’s a recent blog from them on <a href="https://blog.simpleanalytics.com/italy-declares-google-analytics-illegal">European countries blocking the use of Google Analytics</a>. A welcome trend moving towards more individual autonomy and privacy. <a href="https://www.technologyreview.com/2013/05/07/178542/has-big-data-made-anonymity-impossible/">Large companies stepping into our lives uninvited is nothing new</a>, but the legislation tackling this is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/1*qbB4bPtU2BjR0TiHF2dHUw.png" /><figcaption>7-Day snapshot for branchkey.com on the Simple Analytics Dashboard</figcaption></figure><p>With a tool that doesn’t breach on any individual (no cookies), we’re able to learn something about our site. To take an example from this past week. We can see roughly a third of our traffic is coming from Germany, next the Netherlands, then UAE and India. Not quite the demographic we had in mind, but valuable information for us to know (maybe we need a German translation?). In addition, the time spent on our site could be longer — maybe we need to improve there? And more internal linking to trigger some events or Call To Actions? All valuable information for us to make our website more appealing to visitors.</p><p>Not to dig too deep into this topic on the first pass. If you want to learn more for your own applications, we can recommend <a href="https://simpleanalytics.com/">Simple Anlaytics</a>, the experience so far has been what we needed. As our journey continues, taking privacy seriously is a strong driving force. Finding the balance between absolute privacy, and learning something about who’s interested in us is a difficult challenge. This blog is a collection of notes as we start exploring how to treat privacy and our users with respect but still deliver service.</p><p>Do we encrypt and hide everything, but in the process make it difficult or impossible to help our users, or do we make everything about our users visible — where we see exactly what their doing and can improve their services? Where do we stand along this line?</p><p>Any opinions let us know <a href="/service/mailto:privacy@branchkey.com">privacy@branchkey.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf93a6023a21" width="1" height="1" alt=""><hr><p><a href="https://blog.branchkey.com/privacy-is-about-you-bf93a6023a21">Privacy is about you</a> was originally published in <a href="https://blog.branchkey.com/">BranchKey</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BranchKey <> AskAnna — Data Science Platform Integration]]></title>
            <link>https://blog.branchkey.com/branchkey-askanna-data-science-platform-integration-d5d0c877e5a6?source=rss-2cd2ded5af98------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5d0c877e5a6</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Diarmuid]]></dc:creator>
            <pubDate>Thu, 12 May 2022 09:52:53 GMT</pubDate>
            <atom:updated>2022-05-12T09:52:53.604Z</atom:updated>
            <content:encoded><![CDATA[<h3>BranchKey ↔ AskAnna || Data Science Platform Integration</h3><h4>In this integration we want to demonstrate how an organization can setup a BranchKey agent &amp; client. Next, it demonstrates how an organization can use AskAnna to setup a project, configure a job that trains a model on the BranchKey server. In the configuration section you see how you can track metrics, result and artifacts of a run in AskAnna.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tv8Ib8roB0MmqlEBqX90fw.png" /></figure><p>BranchKey is a platform that empowers you to setup federated learning environments. This allows data scientists to work together for delivering better services and products, without the need of sharing (sensitive) data.</p><p>AskAnna is built to support data science and machine learning teams to run, track and reproduce data science jobs. AskAnna makes it easy to setup a job that you can run on a server. It logs all activities so you can trace back what you did. And you can easily share your achievements with your team.</p><h3>How to setup BranchKey Leaf-Nodes</h3><p>To get access to the BranchKey API, first create a free account on <a href="https://app.branchkey.com/">our web-application</a>. It’s now possible to log in to your Branch Management dashboard. On this dashboard you’ll create a branch for the federated learners, or leaf-nodes, to connect to. When configuring your branch just make sure to set the aggregation target to the number of datasets you wish to deploy over.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ts0lUDrdT6nM_n9yq_59LQ.png" /><figcaption>BranchKey Dashboard</figcaption></figure><p>Now that you have a Branch and an aggregation target set, create <em>x</em> number of leaf nodes attached to this branch. Make note of a few details on this branch management page: <em>tree_id, branch_id, leaf_name(s), leaf_password(s).</em></p><p>You’re ready to install the BranchKey client from <strong>`pip install branchkey`</strong>. Setting up an individual client is straightforward, for the most up-to-date documentation and support see the <a href="https://pypi.org/project/branchkey/">PyPi readme</a> or check <a href="https://docs.branchkey.com/">our docs</a>. Using the details mentioned above a single client can be initialised as such:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cd0936cb1457261020b352954e6dfc17/href">https://medium.com/media/cd0936cb1457261020b352954e6dfc17/href</a></iframe><p>A very nice feature of the AskAnna platform is their <a href="https://docs.askanna.io/variables/">project variables</a>, later we’ll show how to use these to configure <em>leaf_name, leaf_password, tree_id, </em>and <em>branch_id</em> as project variables that get injected at runtime rather than hard coded. For now, we’ll look at how to set up multiple clients and then run a job on AskAnna.</p><h3>How to setup a BranchKey Training Run</h3><p>To start a training run we need to extract the model parameters to send to the BranchKey server. As there are many ways to build a model, and the BranchKey system is model agnostic, we won’t go into detail here on how to build a model or any specific dataset requirements. Although outside the scope of this integration guide, an <a href="https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html">example from Pytorch’s documentation</a> is a good place to get started and we’ll use Pytorch as our example here.</p><p>We’re going to use a <a href="https://archive.ics.uci.edu/ml/datasets/Breast+Cancer">Breast Cancer detection problem</a> in this guide with a Logistic Regression Model to try predicting benign or malignant cases across 5 different private organisations who cannot share data. We perform standard data normalisation and from the 30-feature dataset select the 4 most significant based on their <em>p-value </em>score to build our model.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/215cb5ca767d60ce5054295320715d79/href">https://medium.com/media/215cb5ca767d60ce5054295320715d79/href</a></iframe><p>Simplifying a little, we have now a model and a dataset cleaned and ready for learning. The full dataset gets split over 5 organisations (which we will set up in AskAnna in the next section). For the training epochs of a model, we iterate as usual over our dataset, albeit now at 5 different locations. The steps go something like this:</p><ol><li>Each Leaf fits their local model to their private fraction of the whole dataset.</li><li>Each Leaf extracts the parameters from their local model and sends it to the BranchKey server.</li><li>The BranchKey server performs an aggregation of all leaf node parameters when the target we defined earlier is reached.</li><li>Each Leaf is notified of the completed aggregation and is now able to download the aggregated parameter file.</li><li>Finally, the Leaf loads these received parameters into their local model and continues to the next pass of their local training dataset.</li></ol><p>A more involved example demonstrated in Python is shown here:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7b9c25a492190a23f29f68dba6bc9795/href">https://medium.com/media/7b9c25a492190a23f29f68dba6bc9795/href</a></iframe><p>When this run completes the Leaves at each individual organisation have collaborated to build a model without sharing any data. We produce graphs of the results which will be made available in the AskAnna run history. In the next section of this guide, we’ll explore how to set up these organisations in AskAnna and automate the training process.</p><h3>How to setup AskAnna to train a model in BranchKey</h3><p>After you have <a href="https://beta.askanna.eu/signup">signed up</a> for an AskAnna account, you can create a new project. For this demo we use the <a href="https://pypi.org/project/askanna/"><strong>AskAnna CLI</strong></a> (pip install askanna). First, make sure you are authenticated: askanna login.</p><p>Now it’s time to create a new project. Go to the local project directory, and run:</p><pre>askanna init</pre><p>After successfully initiating a new project, you find a new file in the project directory: <a href="https://docs.askanna.io/code/#askannayml">askanna.yml</a><br>In this file you can add a new job to train a model on the BranchKey agent:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bfc3728ff293c6ea5c37e308cad8e11e/href">https://medium.com/media/bfc3728ff293c6ea5c37e308cad8e11e/href</a></iframe><p>The first element is the name of the job and in the following lines we define the job. For this job, we want to save the final trained model as a result. Additionally, we want to save the performance graph `result.png` and the in-between output for each epoch as an artifact. To setup authentication in a secure way see the next section.</p><h4>Authentication</h4><p>In the demo project there are login credentials containing sensitive information needed to setup the authentication to the Branchkey client. We could keep these credentials in the code package, but it’s more secure to use <a href="https://docs.askanna.io/variables/">AskAnna project variables</a>. You can use the CLI to add the variables:</p><pre>askanna variable add</pre><p>Add the variables with the names `LEAF_NAME`, `LEAF_PASSWORD`, ` TREE_ID` and `BRANCH_ID` and the corresponding values for the organisations. Make sure that variable `LEAF_PASSWORD` is set to masked.</p><p>Allowing for the code to read the login details from the run environment variable you should slightly modify your code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3281a619e6df669cb30a0942c93d9b7c/href">https://medium.com/media/3281a619e6df669cb30a0942c93d9b7c/href</a></iframe><p>This removes us having to store any credentials on the code level and allows us to replicate the same code across organisations, injecting the credentials on the project level for security and simplicity.</p><blockquote><strong>Tip:</strong> for local development environment variables or not really user friendly. You can use the Python package <a href="https://pypi.org/project/python-dotenv/">dotenv</a>, save the credentials in a .env file, add the filename to <a href="https://docs.askanna.io/code/#ignore-files">askannaignore</a> and add the next two lines to your code:</blockquote><pre>from dotenv import find_dotenv, load_dotenv</pre><pre>load_dotenv(find_dotenv())</pre><h4>Tracking metrics</h4><p>In AskAnna we can track metrics of every train run. This is optional, but it can help you to compare multiple runs. Or to log the meta data of a single train run that can help you to reproduce a result.</p><p>In the Python script that runs the training procedure we add some lines. First, we make sure we import the AskAnna SDK:</p><pre>from askanna import track_metrics</pre><p>Next, after every iteration we store the result `accuracy`,`loss`, `accuracy_test` and `loss_test`:</p><pre>track_metrics({ <br> “accuracy”: results[-1][“accuracy”][0], <br> “loss”: results[-1][“losses”][0], <br> “accuracy_test”: results[-1][“accuracy_test”][0], <br> “loss_test”: results[-1][“losses_test”][0], <br> }, <br> label={ <br> “epoch”: epoch <br> } <br>)</pre><h4>Start a run</h4><p>Now everything is setup and configured, it’s time to train a job on the BranchKey agent. Start the train run via:</p><pre>askanna run train-model — push</pre><p>With this command you start a job run and via — push we upload the latest version of the code to AskAnna.</p><p>Now, when you go to the AskAnna project you can look-up the job you just created and expand the row to find the run you just started.</p><p>While the job is running, you can use this page to check the log and see the progress. Or if something goes wrong you can use the log for debugging:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zSaKaKHIAsnq4A45VGE5Kg.png" /><figcaption>AskAnna Debugging Log</figcaption></figure><p>When the run finished, you can find back the meta information, result, metrics and artifact on the run page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E5To8OFlzaycxHqjIFW_ZA.png" /><figcaption>Without BranchKey Federations</figcaption></figure><p>The above graph is the result of multiple private datasets solving their local problem without federations. Each finds their owns solution and takes some time to converge. Compared against the graph below where the BranchKey system is used, we see a much faster convergence and shared solution found across each of the organisations private training set. Importantly here, no data was sent from these private organisations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nYNO0bIuA-p7vsNy89fE1A.png" /><figcaption>With BranchKey Federations</figcaption></figure><h4>Use the trained model</h4><p>Now you have trained a model, you can use the trained model that is saved as the result of the run for other Python projects or to setup a serve job. An example of how you can use the result:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1fc343c2acd2da23a7f2b1799cfb5fad/href">https://medium.com/media/1fc343c2acd2da23a7f2b1799cfb5fad/href</a></iframe><h4>Weekly update</h4><p>Once you have a model that is used in production, you probably want to frequently retrain the model. With BranchKey and AskAnna this is easy. For example, if you want to weekly retrain your model you only have to add the schedule to the job definition:</p><pre>train-model: <br> job: <br> … <br> schedule: <br> — “@weekly” </pre><p>AskAnna schedules a weekly train run on the BranchKey server and stores the result in AskAnna. Here you can find back when the last train run happened, which version of the code was used and the metrics for that train job.</p><h3>Like what you see here?</h3><p>There are a lot of features we couldn’t give the coverage they deserve in this post.</p><p>Want to try out BranchKey? Register a free account at <a href="https://app.branchkey.com/">app.branchkey.com</a> or send us an email <a href="/service/mailto:info@branchkey.com">info@branchkey.com</a>.</p><p>More about AskAnna on <a href="https://askanna.io/">the website</a> or check t<a href="https://docs.askanna.io/">he documentation</a> including more <a href="https://docs.askanna.io/examples/">examples</a>. Want to try it out? <a href="https://beta.askanna.eu/signup">Sign up</a> for a free AskAnna account.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5d0c877e5a6" width="1" height="1" alt=""><hr><p><a href="https://blog.branchkey.com/branchkey-askanna-data-science-platform-integration-d5d0c877e5a6">BranchKey &lt;&gt; AskAnna — Data Science Platform Integration</a> was originally published in <a href="https://blog.branchkey.com/">BranchKey</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In-place data analysis assisting companies with EU Non-Financial Reporting Directive (NFRD)…]]></title>
            <link>https://blog.branchkey.com/in-place-data-analysis-assisting-companies-with-eu-non-financial-reporting-directive-nfrd-79662b6aad1e?source=rss-2cd2ded5af98------2</link>
            <guid isPermaLink="false">https://medium.com/p/79662b6aad1e</guid>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[regulation]]></category>
            <category><![CDATA[europe]]></category>
            <category><![CDATA[esg]]></category>
            <dc:creator><![CDATA[Diarmuid]]></dc:creator>
            <pubDate>Thu, 07 Apr 2022 14:41:24 GMT</pubDate>
            <atom:updated>2022-04-07T18:49:25.953Z</atom:updated>
            <content:encoded><![CDATA[<h3>In-place data analysis assisting companies with EU Non-Financial Reporting Directive (NFRD) legislation</h3><h4>Addressing the European Union’s Sustainable Finance directive with intelligent compliance</h4><p>As part of the <a href="https://ec.europa.eu/info/business-economy-euro/banking-and-finance/sustainable-finance/overview-sustainable-finance_en">European Union’s Sustainable Finance</a> directive, starting in 2023 a large focus is being placed on <strong>Environmental, Social and Governance (ESG) </strong>criteria. <a href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:52021PC0189">According to draft legislation</a> (§19a) and <a href="https://ec.europa.eu/info/law/better-regulation/have-your-say/initiatives/12548-Sustainable-corporate-governance_en">current roadmaps</a>, ending 2022 legislation will be in place for reporting standards outlining information to be compiled for 2024 fiscal year reports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BaNpt7iNFO28Fshr_oE18A.jpeg" /></figure><blockquote>“Sustainable finance refers to the process of taking <strong>environmental, social and governance (ESG) considerations</strong> into account when making investment decisions in the financial sector, leading to more long-term investments in sustainable economic activities and projects.”</blockquote><p><a href="https://branchkey.com/">BranchKey B.V.</a> in collaboration with the Frankfurt based <a href="https://www.projektfabrik.com/">Die Projectfabrik GmbH</a> think tank <a href="https://hack-cmp.net/">HACK-CMP</a> is enabling ESG and CSRD compliance through distributed privacy based Federated Learning. This is to enable machine learning based techniques to assist organisations in compiling reports, while maintaining complete ownership over their data.</p><p>Starting 2023 many companies operating in Europe will be required to compile information regarding their NFRD criteria, including those outlined in the CSRD, ESG, and the <a href="https://www.europarl.europa.eu/doceo/document/TA-9-2021-0073_EN.html#ref_1_4">Supply Chain Act</a>. This data will be gathered on the organisational level. Keeping this data under the sovereignty of those organisations is key to meeting compliance while also maintaining privacy. An example of proposed ESG criteria include:</p><ul><li>Data protection and privacy.</li><li>Bribery and corruption.</li><li>Executive compensation.</li><li>Political contributions and lobbying.</li><li>Audit committee structure, and</li><li>Hiring and onboarding best practices.</li><li>and many more…</li></ul><p>Follow more here as this project develops.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79662b6aad1e" width="1" height="1" alt=""><hr><p><a href="https://blog.branchkey.com/in-place-data-analysis-assisting-companies-with-eu-non-financial-reporting-directive-nfrd-79662b6aad1e">In-place data analysis assisting companies with EU Non-Financial Reporting Directive (NFRD)…</a> was originally published in <a href="https://blog.branchkey.com/">BranchKey</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Series: What is Federated Learning?]]></title>
            <link>https://blog.branchkey.com/series-what-is-federated-learning-cca2fc78dbf2?source=rss-2cd2ded5af98------2</link>
            <guid isPermaLink="false">https://medium.com/p/cca2fc78dbf2</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[federated-learning]]></category>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Diarmuid]]></dc:creator>
            <pubDate>Tue, 22 Feb 2022 11:06:11 GMT</pubDate>
            <atom:updated>2022-02-22T16:24:46.789Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>In this 3-part series we’ll get to grips with what’s needed to build models, why we federate them, and </em>if privacy can be maintained<em> the zoo of possibilities that super-charge collaboration and innovation.</em></h4><h3>1/3 What is a Model?</h3><p>Before we can get to understand how Federated Learning is possible and its uses, let’s take a look first at how we build a model. Not a fancy convoluted neural network model, something simple, like a linear model. To begin, ask ourselves what is a model? Let’s go to Wikipedia: “A model is an informative representation of an object, person or system…derived from … ultimately Latin modulus, meaning a measure”. If we focus on a specific type of a model, a Mathematical Model, which is related to those in Computer Science and Artificial Intelligence we get simply:</p><blockquote>A mathematical model is a description of a system using mathematical concepts and language.</blockquote><p>And finishing our repetition of Wikipedia here, “A model may help explain a system and to study the effects of different components, and to make predictions about behaviour.” — So getting our head around what models are, how to build them, and what they’re composed of seems important in understanding Machine learning. Especially when we rush to build the most explainable and highly accurate predictive machine learning models.</p><p>Back up a couple of steps, we have a few things going on from the definitions above:</p><ol><li>A <strong>model</strong>, or a measure.</li><li>A <strong>language</strong>, for expressing the variables and the model(s)</li><li>A <strong>system</strong>, with variables to measure</li></ol><p>Starting from the bottom-up is a good approach. Our system we’re going to model is… your car’s vibration intensity and it’s failure. Why? The raw data about when your car is turned on and driving, it’s current vibration status, is for some seen as sensitive data you wouldn’t openly share with just anyone. But helping each other know when our cars are unhealthy can make someone’s day better, a more efficient use of resources, and their pocket happier. We’ll make a few other assumptions like vibration alone can be used to predict vehicle health, otherwise it becomes too difficult for our simple linear model to account for all the variables.</p><p>The language we’re using is: <strong>vibration intensity</strong> with units 1–10, and <strong>failure intensity</strong> with units 0–3, where 0 is healthy to 3 a total shutdown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ByHo9OINBFE_XasoIla0A.png" /><figcaption>Raw Vibration data</figcaption></figure><p>The only way to build such a linear model is with data. Each point on the graph is a data point. It tells us when a vibration pattern corresponds to a failure category. Then we can overlay our (linear) red line indicating the model over the whole data set of points.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RmSRJVeZ3-wy3Qj6TRWljg.png" /><figcaption>Vibration data with linear separator overlaid</figcaption></figure><p>Now if we remove the data points, we’re left with a model, and we can’t tell the data that went in to make this model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TDapbIYdNhzWfBCyucV3xg.png" /><figcaption>Model without data</figcaption></figure><p>Here the data was translated into a standard language that formed a model to tell us some information about the system we’re trying to understand. Importantly, no data is needed after the model has been built. Now that we have our model defined (the <em>what</em>), in the next post in this series we’ll look at how and why we Federate these.</p><p>If you’re interested to know more stick around to go into the power of abstract models without data, aggregating these models, preserving privacy, and a glimpse at some of the future applications for this technology.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cca2fc78dbf2" width="1" height="1" alt=""><hr><p><a href="https://blog.branchkey.com/series-what-is-federated-learning-cca2fc78dbf2">Series: What is Federated Learning?</a> was originally published in <a href="https://blog.branchkey.com/">BranchKey</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>