<?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 Aidan Russell, PhD on Medium]]></title>
        <description><![CDATA[Stories by Aidan Russell, PhD on Medium]]></description>
        <link>https://medium.com/@aidanrussell?source=rss-972f6f371bc3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wcEFcB4LEwkxuD5p-LrR9w.jpeg</url>
            <title>Stories by Aidan Russell, PhD on Medium</title>
            <link>https://medium.com/@aidanrussell?source=rss-972f6f371bc3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 03:52:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aidanrussell/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[Maintainable Professional Development]]></title>
            <link>https://aidanrussell.medium.com/maintainable-professional-development-3678cfc6b5a7?source=rss-972f6f371bc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3678cfc6b5a7</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Aidan Russell, PhD]]></dc:creator>
            <pubDate>Mon, 14 Nov 2022 11:09:33 GMT</pubDate>
            <atom:updated>2022-11-14T11:39:48.211Z</atom:updated>
            <content:encoded><![CDATA[<p>As a data scientist it is imperative to maintain your professional development on an ongoing basis; given you’re no doubt also always learning as you do the job it can be tempting to think that this is enough — but laying out a plan for books to read (or online courses to follow) is something I would recommend to do consistently throughout your career. The trouble is — how to really make it something you can maintain reliably?</p><p>If your company offers you a regular learning day (at Infogrid this is offered at the rate of one working day per month) then this is a substantial help and one I would recommend you look out for when considering roles. Otherwise, try to work in some specific and regular times for such development — for example if you put in 2 hours every Monday evening, that would be the equivalent of a dedicated working day each month. The regularity of the scheduled time is something I have found really helpful to ensure you keep this imperative for study in mind. This is also an amount of time each month that I have found is achievable (even when I didn’t have access to the one working day per month we have at Infogrid) but still long enough to be meaningful. That’s a balance that can be difficult; at times I’ve increased it but I’ve found it’s important not to decrease it if reliable and steady progress is to be made (although this is often a temptation when you’re busy).</p><p>Whilst blogposts and other short-form content provide a lot of useful prompts, what I’m talking about here is getting deep into an area you want to grow — and for that I don’t think you can beat a book/textbook (though others will swear by online courses, and I have also found those useful — but personally I don’t find the video lecture format allows me to engage in the same level of sustained concentration I can get from reading a book).</p><p>I won’t get into recommending specific books in this post (I will create a follow up post at some point later on that) but there should definitely be a mix of different areas in which you can learn — on the technical side this should range from computer science and software engineering theory, to data engineering, to machine learning theory, and statistics (for which I would particularly recommend Bayesian statistics), depending on your prior educational background. Furthermore books focussing on softer skills such as communication, or even general popular psychology, can be revealing and inspirational for new approaches to try at work. Finally, and probably most particularly as you progress to more senior roles in leadership or management (distinguishing here between the two as Infogrid, along with many tech companies, promotes that individual contributors can progress in seniority through technical leadership without people management) then there is a wide literature on those topics as well as related areas such as organisational structures, dealing with fast growth in a startup, and managing upwards.</p><p>These latter topics are a particularly revealing area to read in because whilst the earlier types of books I described are transmitting essentially objective knowledge from academic research, these latter books tend to be about learning from the subjective experience of those who have been in your job in similar companies in the recent past — and this allows you to enhance your own more limited experience and avoid mistakes. Whilst of course you’ll undoubtedly still make some novel mistakes of your own, there’s no need to start from scratch — you can take a lot from the experience of those who have been in something very close to your role before (whether that’s as a technical lead, a team manager, a senior executive, etc).</p><p>The most important thing though is to have a clear plan as to the next books (or online courses) you want to get through, and follow that through consistently each month with regular progress — and you can review at the end of each year to ensure you’re keeping a good balance of different topics to cover that’s serving you well as you progress in seniority on your chosen path. I’d recommend keeping all this in a document so you can track what you’ve read and ensure a good balance of topics. For the time to spend — the equivalent to one working day a month as a lower limit each month (and avoid trying to cram a few months’ worth together — steady and consistent progress is what you want to do), with an upper limit of two or three times that amount (you don’t want to burn out — read some novels too!).</p><p>With this steady and consistent growth you’re sure to build into a formidable force for those companies wise enough to hire you.</p><p>Read about Infogrid’s solutions for optimising buildings and see our open roles: <a href="https://www.infogrid.io/smart-buildings-platform">https://www.infogrid.io</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3678cfc6b5a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why you might want to become a Data Scientist]]></title>
            <link>https://aidanrussell.medium.com/why-you-might-want-to-become-a-data-scientist-52f909b0906e?source=rss-972f6f371bc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/52f909b0906e</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Aidan Russell, PhD]]></dc:creator>
            <pubDate>Sun, 06 Nov 2022 18:42:08 GMT</pubDate>
            <atom:updated>2022-11-06T21:08:32.921Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m sure you’ll be able to find a lot of resources out there about demand for data scientists and the consequently strong salaries, so what I’ll focus on here is just the sort of skills and interests that I think would lead to you really finding the job enjoyable and interesting.</p><p>The first thing to address is that quite a lot of working data scientists will hold a PhD in an area like physics, mathematics, or computer science (me included). This should not however be taken to imply that this is in itself an important qualification for the job; it’s not — what is important is the attitude and interest in research, in conclusions based on data backed by statistical rigour, and in the scientific methodology in general. So the kind of person who does a PhD is likely to be the kind of person who finds data science an interesting area that aligns to their skills and preferences; but the converse of a requirement to do a PhD to perform well at the job should not be taken to be implied by this tendency.</p><p>For the same reason I would say that even studying a scientific subject at undergraduate level should not be taken as a requirement (though it would certainly be the most usual). As long as you understand science as a process there’s no fundamental barrier to picking up the requisite skillsets from self study. I’ll talk about those skillsets now.</p><p>The most fundamental and important skillset for data science is, I would contend, not programming or machine learning but rather statistics. Human beings have evolved to spot patterns and far too often we have a tendency to over-optimise for trends that actually represent noise — statistics keeps us honest. Frankly, statistics is hard and often misunderstood — it takes substantial time and effort to build this skill. This is hence the skill that is hardest to pick up from self-study and if you are at a point in your development where you still have education in front of you, I would certainly say it is best to follow an academic path that includes training in statistics as part of the curriculum. This will set you apart as the key differentiator from other forms of software developer because statistical rigour isn’t only a skill in the way that knowing the latest deep learning API is a skill — it’s really a mindset, a shift in thinking, a different way of viewing the world.</p><p>The next skillset of course then would be a strong theoretical grounding in machine learning. Over the years that I’ve worked in data science, I would admit that the requirement for this to perform well at the job has diminished somewhat because algorithms are now performing so well that the careful optimisations, data resamplings, and other such steps that were very heavily emphasised at the start of my career (which of course require one to appreciate well the nuanced differences between each algorithm) are admittedly less critical than they once were. Nevertheless, this knowledge is certainly required at the edge, when one is doing really innovative work rather than simply following a standard practice — and after all if one isn’t excited by that then the job of data scientist may not be one that sustains your interest for very long. That’s really important to ask yourself, because if it really just seems dull and uninteresting to get through this theory — I would definitely suggest there are a lot of other specialisms in software development which are just as in-demand and well-paid. One should follow one’s interests and instincts here as to what you find interesting and exciting, to ensure a satisfying career.</p><p>The third skillset then is software development; now this is the skillset which I wouldn’t say I would expect so much from a junior person (and few are the educational routes that prepare one well for this; even computer science as an undergraduate discipline does not tend to focus on good software development practices), rather it is the one that is most learned on-the-job. To start with it is best to focus on understanding really thoroughly the language one is most using day-to-day; the next stage would be to understand more of the context of that language within the ecosystem of other languages; finally would be an appreciation of the interaction of the software with the hardware it runs on. This typically takes many years and a maturity in this area is what I would expect as the key differentiator for a senior person.</p><p>That last skillset in software development would be the one that is most variable, and many professional data scientists may not have developed this skillset well. However I have found over my career that the result of neglecting this area is a weak ability to get work into production and serving value to customers; it is really not much help to the business if a model performs to the 99th percentile but cannot be put into production. Hence as you progress through the years of your professional life as a data scientist, I would strongly urge self-study on best practices in software development as well as learning from your software developer peers in the business. They will always have things to teach you of course, just as your specialism gives you particular knowledge — but it is a serious mistake to think that software best practice concerns are outside of your domain. After all, what you want to do as a data scientist is build software — just software that has the particular focus of modelling some aspect of the world permitted by the specific data collection your business performs.</p><p>In summary — start with statistics theory, move on to machine learning theory, and then as a matter of continuous learning aim to absorb as much as you can about software development in practice. If, as you follow these steps, you find you enjoy each one and are motivated to keep coming back and learn more — then data science is a profession I would be confident you will thrive in.</p><p>Read about Infogrid’s solutions for optimising buildings and see our open roles: <a href="https://www.infogrid.io/smart-buildings-platform">https://www.infogrid.io</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52f909b0906e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The data isn’t there: why Data Scientists are so often focussed on the future]]></title>
            <link>https://aidanrussell.medium.com/the-data-isnt-there-why-data-scientists-are-so-often-focussed-on-the-future-530c20d001d0?source=rss-972f6f371bc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/530c20d001d0</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Aidan Russell, PhD]]></dc:creator>
            <pubDate>Mon, 31 Oct 2022 19:10:51 GMT</pubDate>
            <atom:updated>2022-10-31T19:45:58.183Z</atom:updated>
            <content:encoded><![CDATA[<p>In the context of data science within tech businesses, one of the most persistent and difficult misalignments is that of differing timeframes. What I wish to address here is to aid those working in cross-functional teams improve their understanding and reduce friction. By cross-functional I mean back- and frontend- developers, devops, product managers, designers, data engineers, data scientists.</p><p>Firstly I want to be clear that characterising data science as simply a priori operating over longer timescales than other software engineering specialisations, often attributed to the more experimental nature of the work — is a point that doesn’t really get across the fundamental differences and can obscure progress in the discussion by an implication that other specialisations are somehow not interested in the long-term themselves (which of course they are, and they factor this into their thinking all the time). I’ve hence observed many times that presenting this argument can be counter-productive for the data scientist when seeking alignment, because it too often simply leads to confusion and frustration from those working in other specialisations.</p><p>I have found it better to communicate that the difference is rather that data science is built on data, and the data far too often just isn’t there when you start. Generally how things proceed is with an idea — perhaps borne out of customer discussions or more speculatively, but an idea is there and an investigation begins; an investigation based on the data currently collected. But it’s best to accept from the start that the data that’s needed isn’t likely at all to be there from first principles; the data you are collecting now is only ever going to be a fraction of all the possible data that could have been collected — essentially what you try to achieve in data science is a simulation of the world. With all the possible data collected, one could make a perfect simulation of every aspect of the world and from that create predictions of future states also. Generally what we’re aiming to do more practically in a business setting is work out what the minimum amount of data we need is in order to simulate some tiny and specific fraction of the world usefully, and the likelihood that we’re already happening to collect that minimal data that we need in order to make a useful simulation is always going to be vanishingly low.</p><p>Hence, the normal progression of a project from an idea to a product is rather the identification of what further data is required for the idea to be really achievable or performant followed by the putting in place of steps to begin collecting said data, and only then can the full potential of the product idea be realised (perhaps through a machine learning model based on the collected data). Certainly in-between some minimal viable product can often be released, that can later be improved once the more ideal data collection is place, but it is fundamentally this understanding that more optimal data collection will lead to a better product, and the alignment work required to ensure that more optimal data collection is put in place, and the inevitability of this process on every single project, that tends to mean data scientists are consistently talking about and planning for a future more optimal state as simply par for the course of their job — whereas other software engineering functions will naturally tending to be focussed on building software without concern for the data. That’s fundamentally what distinguishes being a data scientist after all, and it just happens in this way so often that it should be considered essentially inevitable.</p><p>What I want to get across is that this does not mean that data scientists somehow are more inherently concerned about the company’s long-term future than other software engineers, or that they’re conversely less concerned about the company’s need to meet its bottom-line and deliver profitable products now, or that there’s really any fundamental difference in the attitudes and concerns of different software engineering functions a priori. It’s my contention that it’s simply the inevitability of the inadequacy of the current data collection, the fundamental basis of the work of the data scientist to build on that data, and the achievability of improving that data collection to lead to a substantially better product in the future, that leads the data scientist to have their eye on that future and so often be focussed on that and talking about that when it comes to planning and strategy interactions in the cross-functional setting that can give the impression of a misalignment in that setting compared to the voices of other functions.</p><p>By recognising and acknowledging this pattern and the reasons for it, it is my hope that better alignment can be gained from all sides. Whether you’re a data scientist or someone working with data scientists, I’d love to know what you think.</p><p>Read about Infogrid’s solutions for optimising buildings and see our open roles: <a href="https://www.infogrid.io/smart-buildings-platform">https://www.infogrid.io</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=530c20d001d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bobby: A Template for Python Linting]]></title>
            <link>https://aidanrussell.medium.com/bobby-a-template-for-python-linting-4acdc0abba23?source=rss-972f6f371bc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/4acdc0abba23</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Aidan Russell, PhD]]></dc:creator>
            <pubDate>Tue, 18 Oct 2022 14:35:38 GMT</pubDate>
            <atom:updated>2022-10-18T14:49:10.759Z</atom:updated>
            <content:encoded><![CDATA[<p>Since the creation of PEP8 in 2001, and particularly from the creation of the <em>flake8</em> library in 2011, there’s been essentially universal agreement that some form of automated linting of python code on each merge request is an unalloyed good that benefits every aspect of the development process from readability to the prevention of bugs.</p><p>Since the release of <em>black</em> in 2018, the particularly contentious issue of just how exactly to format python code has also been quite widely settled (PEP8 being actually highly permissive, leading to much lost time in formatting debates). Developments such as f-strings — released with python 3.6 in 2016, which significantly improved upon the awkward string formatting options that had existed previously, see the language continually improve. But really it’s the introduction of type hints in python 3.5 in 2015 — and gradually expanded upon with each minor version since — that has led to the most significant changes in how we write python code. These type hints are best enforced with <em>mypy</em>. Whilst type hints and <em>mypy</em> have reached a good level of maturity in recent years (particularly since python 3.9, when many of the more awkward requirements for the importing of special typing classes were stripped back so that raw python types could be used instead) there remain many optional flags meaning it can be unclear to the new user what “enforcing typing” means — in much the same way as “enforcing formatting” was still rather an open playing field after the introduction of <em>flake8</em> and until the release of <em>black</em>.</p><p>All of this adds up to a lot of different ways that a new python project might be set up for linting, leading to substantially different outcomes for readability and bug prevention.</p><p><a href="https://gitlab.com/infogrid-oss/bobby"><em>Bobby</em></a> is a template which aims to provide a clear standardised definition for good linting practice for any production python codebase. It uses the latest developments in open source tools for linting with a standardised configuration that enforces the highest standards practical to ensure a robust and maintainable codebase for the long-term. At <a href="https://www.infogrid.io/">Infogrid</a> we’ve been using it since 2021 and would like to share it with the open source community in the hope of moving towards a resolution on this currently somewhat open question of agreed standards.</p><p>The name <a href="https://gitlab.com/infogrid-oss/bobby"><em>bobby</em></a> is a nickname in the UK for police officers, coming from the original founder of the Metropolitan Police force in the 19th century — Robert Peel. Prior to this development, each town in the UK might choose to employ a police force or not and no centralised standards were enforced — after the establishment of the Metropolitan Police in London then the codes of practice, uniforms, and budgets began to be centrally enforced across the country. We aim to achieve something similar with linting here.</p><p>Using <a href="https://gitlab.com/infogrid-oss/bobby"><em>bobby</em></a> means copying the configuration file <em>setup.cfg</em> into the root of your own project, which will standardise all the flags and settings for each of the open source libraries used. Then, you can install all of the component open source libraries as listed in the <em>pyproject.toml </em>requirements file (<em>black</em>, <em>pydocstyle</em>, <em>isort</em>, <em>flake8</em>, <em>flake8-builtins</em>, <em>flake8-blind-except</em>, <em>flake8-eradicate</em>, <em>flake8-use-fstring</em>, <em>mypy</em>) and also the testing libraries included (<em>pytest</em>, <em>coverage</em>). Finally there is optionally also a <em>Makefile</em> which allows for standardised commands (such as <em>make format</em> to run the formatting steps and <em>make quality</em> to run the linting); use of this or creation of an equivalent replacement with any other format for running commands being up to the user’s preferences (the purpose there is again standardisation — so that a developer can move to an unfamiliar repository but still run the same commands such as <em>make install</em> and not have to spend time in the <em>readme</em> to find that particular repository’s quirks).</p><p>All together this enforcement of the strictest linting standards — including strict typing on all definitions, the requirement to write at least a minimal docstring for every function and class, and use of <em>black</em> and <em>isort</em> formatting, all aids developers as they move between different projects by ensuring they encounter code with a similar style and standard — hence besides the normal considerations regarding avoidance of bugs, it’s actually really this readability point and that reduction in the cognitive load on developers when encountering a codebase they were not previously familiar with that we’ve seen as one of the most substantial benefits to enforcing this standard.</p><p>One of the really key things that a tool like <em>black</em> did was that — even if some of the specific formatting one might not have necessarily have chosen as one’s own preference, at least it took away the debate and made it a settled matter — so we can all just get on with writing the functional part of the code. We hope to settle the same matter here for all the broader aspects we’ve covered — docstrings, type hinting, imports, and a few specific conventions to avoid poor coding patterns. In this way we can ensure that our python codebases are more robust, more maintainable, and more readable. We’ve been using this standard internally at <a href="https://www.infogrid.io/">Infogrid</a> for more than a year and we’ve refined it to standards that are strong but also manageable. These standards should be here to help overall — they strongly benefit the future developer, but we must also balance to some extent the cost to the present developer also. After a lot of internal usage, we believe we’ve found the right balance between those and we’d love to hear from you how you find it working in your organisation too.</p><p>Find Bobby on Infogrid’s open source pages on Gitlab: <a href="https://gitlab.com/infogrid-oss/bobby">https://gitlab.com/infogrid-oss/bobby</a></p><p>Read about Infogrid’s solutions for optimising buildings and see our open roles: <a href="https://www.infogrid.io/smart-buildings-platform">https://www.infogrid.io</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4acdc0abba23" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>