Lead Data Scientist
ML and AIPosted 4 days agofrom Faculty's own hiring page
- Work type
- RemoteIn the UK
- Experience
- Not stated
- Pay
- Not listedUsually £53k a yearML and AI, median, all levels, in the UK (Payscale)
- Posted
- 4 days ago
From the ad
Security clearance
Because of the nature of the work we do with our Government clients, you may need to be eligible for UK Security Clearance (SC) and willing to work on site with these clients from time to time
Skills it mentions
Add your skills to see which ones you have.
About the job
Why Faculty?
We established Faculty in 2014 because we thought that AI would be the most important technology of our time. Since then, we’ve worked with over 350 global customers to transform their performance through human-centric AI. You can read about our real-world impact here.
We don’t chase hype cycles. We innovate, build and deploy responsible AI which moves the needle - and we know a thing or two about doing it well. We bring an unparalleled depth of technical, product and delivery expertise to our clients who span government, finance, retail, energy, life sciences and defence.
Our business, and reputation, is growing fast and we’re always on the lookout for individuals who share our intellectual curiosity and desire to build a positive legacy through technology.
AI is an epoch-defining technology, join a company where you’ll be empowered to envision its most powerful applications, and to make them happen.
About the team
Our Public Services Business Unit is committed to leveraging AI for the benefit of individual citizens and the public good.
From our work informing strategic government decisions, to optimising our NHS, through to reducing bureaucratic backlogs - we know that AI offers opportunities to drive improvements at every level of Government and we are proud to lead on some of the most impactful work happening in the sector.
Because of the nature of the work we do with our Government clients, you may need to be eligible for UK Security Clearance (SC) and willing to work on site with these clients from time to time.
About the role
As a Senior Data Scientist, you will lead high-impact AI projects and shape the technical direction of bespoke solutions. This role requires hands-on technical excellence combined with crucial team leadership.
You will define data science approaches, design robust software architectures, mentor junior colleagues, and ensure delivery rigour across projects all while building deep client relationships and solidifying our reputation as a leader in practical, measurable AI.
#LI-PRIO
What you'll be doing:
Leading project teams that deliver bespoke algorithms and high-stakes AI solutions to clients across the sector.
Conceiving the core data science approach and designing the associated robust software architecture for new engagements.
Mentoring a small number of data scientists and supporting the professional growth of technical team members on projects.
Partnering with commercial teams to build client relationships and shape project scope for technical feasibility.
Contributing to Faculty’s thought leadership and reputation through delivering courses, public speaking, or open-source projects.
Ensuring best practices are followed throughout the project lifecycle to guarantee high-quality, impactful delivery.
Who we're looking for:
You possess senior experience in a professional data science position or a quantitative academic field.
You demonstrate strong programming skills, with the ability to be a fluent Python programmer, using core libraries (NumPy, Pandas) and a deep-learning framework (e.g., PyTorch).
You have a deep expertise in core data science paradigms (supervised/unsupervised, NLP, validation), demonstrating a proficiency across the standard data science toolkit, including the ability to develop new, innovative algorithms.
You bring a leadership mindset, focused on growing the technical capabilities of the team and nurturing a collaborative culture.
You exhibit commercial awareness, with experience in client-facing work and the ability to translate business problems into a rigorous mathematical framework.
You are skilled in project planning, assessing technical feasibility, estimating delivery timelines, and leading a team to deliver high-quality work on a strict schedule.
Our Interview Process
Talent Team Screen (30 minutes)
Take Home Technical Assessment
Technical Interview (90 minutes)
Commercial Interview (60 minutes)
Our Recruitment Ethos
We aim to grow the best team - not the most similar one. We know that diversity of individuals fosters diversity of thought, and that strengthens our principle of seeking truth. And we know from experience that diverse teams deliver better work, relevant to the world in which we live. We’re united by a deep intellectual curiosity and desire to use our abilities for measurable positive impact. We strongly encourage applications from people of all backgrounds, ethnicities, genders, religions and sexual orientations.
If you don’t feel you meet all the requirements, but are excited by the role and know you bring some key strengths, please don't hesitate in applying as you might be right for this role, or other roles. We are open to conversations about part-time hours.
A note on AI: we're happy for you to use it for research and interview prep, but please don't use it to generate answers during live interviews. We also use an AI note-taker (Metaview) in interviews so interviewers can stay present (which you can opt out of just let us know,) and every application is reviewed by a human, never decided by AI.
4 more openings for this job
Faculty posts this job once per place or skill set. Pick the one that fits you.
Interested?Lead Data Scientist at Faculty
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Pandas, Python, PyTorch and 1 more
Interview questions for this job
For the skills the ad mentions: Pandas, Python, PyTorch and NLP.
How do I select rows from a DataFrame based on column values?Pandas
To select rows whose column value equals a scalar,
some_value, use==:df.loc[df['column_name'] == some_value]To select rows whose column value is in an iterable,
some_values, useisin:df.loc[df['column_name'].isin(some_values)]Combine multiple conditions with
&:df.loc[(df['column_name'] >= A) & (df['column_name'] <= B)]Note the parentheses. Due to Python's operator precedence rules,
&binds more tightly than<=and>=. Thus, the parentheses in the last example are necessary. Without the parenthesesdf['column_name'] >= A & df['column_name'] <= Bis parsed as
df['column_name'] >= (A & df['column_name']) <= Bwhich results in a Truth value of a Series is ambiguous error.
To select rows whose column value does not equal
some_value, use!=:df.loc[df['column_name'] != some_value]The
isinreturns a boolean Series, so to select rows whose value is not insome_values, negate the boolean Series using~:df = df.loc[~df['column_name'].isin(some_values)] # .loc is not in-place replacementFor example,
import pandas as pd import numpy as np df = pd.DataFrame({'A': 'foo bar foo bar foo bar foo foo'.split(), 'B': 'one one two three two two one three'.split(), 'C': np.arange(8), 'D': np.arange(8) * 2}) print(df) # A B C D # 0 foo one 0 0 # 1 bar one 1 2 # 2 foo two 2 4 # 3 bar three 3 6 # 4 foo two 4 8 # 5 bar two 5 10 # 6 foo one 6 12 # 7 foo three 7 14 print(df.loc[df['A'] == 'foo'])yields
A B C D 0 foo one 0 0 2 foo two 2 4 4 foo two 4 8 6 foo one 6 12 7 foo three 7 14If you have multiple values you want to include, put them in a list (or more generally, any iterable) and use
isin:print(df.loc[df['B'].isin(['one','three'])])yields
A B C D 0 foo one 0 0 1 bar one 1 2 3 bar three 3 6 6 foo one 6 12 7 foo three 7 14Note, however, that if you wish to do this many times, it is more efficient to make an index first, and then use
df.loc:df = df.set_index(['B']) print(df.loc['one'])yields
A C D B one foo 0 0 one bar 1 2 one foo 6 12or, to include multiple values from the index use
df.index.isin:df.loc[df.index.isin(['one','two'])]yields
A C D B one foo 0 0 one bar 1 2 two foo 2 4 two foo 4 8 two bar 5 10 one foo 6 12From Stack Overflow: asked by szli, answered by unutbu (CC BY-SA 4.0)
Is there an equivalent of C’s “?:” ternary operator?Python
Yes, there is. The syntax is as follows:
[on_true] if [expression] else [on_false] x, y = 50, 25 small = x if x < y else y
Before this syntax was introduced in Python 2.5, a common idiom was to use logical operators:
[expression] and [on_true] or [on_false]
However, this idiom is unsafe, as it can give wrong results when on_true has a false boolean value. Therefore, it is always better to use the
... if ... else ...form.From Python Frequently Asked Questions (PSF License Version 2)
What's the difference between `reshape()` and `view()` in PyTorch?PyTorch
torch.viewhas existed for a long time. It will return a tensor with the new shape. The returned tensor will share the underling data with the original tensor. See the documentation here.On the other hand, it seems that
torch.reshapehas been introduced recently in version 0.4. According to the document, this method willReturns a tensor with the same data and number of elements as input, but with the specified shape. When possible, the returned tensor will be a view of input. Otherwise, it will be a copy. Contiguous inputs and inputs with compatible strides can be reshaped without copying, but you should not depend on the copying vs. viewing behavior.
It means that
torch.reshapemay return a copy or a view of the original tensor. You can not count on that to return a view or a copy. According to the developer:if you need a copy use clone() if you need the same storage use view(). The semantics of reshape() are that it may or may not share the storage and you don't know beforehand.
Another difference is that
reshape()can operate on both contiguous and non-contiguous tensor whileview()can only operate on contiguous tensor. Also see here about the meaning ofcontiguous.From Stack Overflow: asked by Lifu Huang, answered by jdhao (CC BY-SA 4.0)
What do spaCy's part-of-speech and dependency tags mean?NLP
tl;dr answer
Just expand the lists at:
- https://spacy.io/api/annotation#pos-tagging (POS tags) and
- https://spacy.io/api/annotation#dependency-parsing (dependency tags)
Longer answer
The docs have greatly improved since I first asked this question, and spaCy now documents this much better.
Part-of-speech tags
The
posandtagattributes are tabulated at https://spacy.io/api/annotation#pos-tagging, and the origin of those lists of values is described. At the time of this (January 2020) edit, the docs say of theposattribute that:spaCy maps all language-specific part-of-speech tags to a small, fixed set of word type tags following the Universal Dependencies scheme. The universal tags don’t code for any morphological features and only cover the word type. They’re available as the
Token.posandToken.pos_attributes.As for the
tagattribute, the docs say:The English part-of-speech tagger uses the OntoNotes 5 version of the Penn Treebank tag set. We also map the tags to the simpler Universal Dependencies v2 POS tag set.
and
The German part-of-speech tagger uses the TIGER Treebank annotation scheme. We also map the tags to the simpler Universal Dependencies v2 POS tag set.
You thus have a choice between using a coarse-grained tag set that is consistent across languages (
.pos), or a fine-grained tag set (.tag) that is specific to a particular treebank, and hence a particular language..pos_tag listThe docs list the following coarse-grained tags used for the
posandpos_attributes:ADJ: adjective, e.g. big, old, green, incomprehensible, firstADP: adposition, e.g. in, to, duringADV: adverb, e.g. very, tomorrow, down, where, thereAUX: auxiliary, e.g. is, has (done), will (do), should (do)CONJ: conjunction, e.g. and, or, butCCONJ: coordinating conjunction, e.g. and, or, butDET: determiner, e.g. a, an, theINTJ: interjection, e.g. psst, ouch, bravo, helloNOUN: noun, e.g. girl, cat, tree, air, beautyNUM: numeral, e.g. 1, 2017, one, seventy-seven, IV, MMXIVPART: particle, e.g. ’s, not,PRON: pronoun, e.g I, you, he, she, myself, themselves, somebodyPROPN: proper noun, e.g. Mary, John, London, NATO, HBOPUNCT: punctuation, e.g. ., (, ), ?SCONJ: subordinating conjunction, e.g. if, while, thatSYM: symbol, e.g. $, %, §, ©, +, −, ×, ÷, =, :), 😝VERB: verb, e.g. run, runs, running, eat, ate, eatingX: other, e.g. sfpksdpsxmsaSPACE: space, e.g.
Note that the docs are lying slightly when they say that this list follows the Universal Dependencies Scheme; there are two tags listed above that aren't part of that scheme.
Read the rest at the sourceFrom Stack Overflow: asked by Mark Amery, answered by Mark Amery (CC BY-SA 4.0)
How do I get the row count of a Pandas DataFrame?Pandas
For a dataframe
df, one can use any of the following:len(df.index)df.shape[0]df[df.columns[0]].count()(== number of non-NaN values in first column)
Code to reproduce the plot:
import numpy as np import pandas as pd import perfplot perfplot.save( "out.png", setup=lambda n: pd.DataFrame(np.arange(n * 3).reshape(n, 3)), n_range=[2**k for k in range(25)], kernels=[ lambda df: len(df.index), lambda df: df.shape[0], lambda df: df[df.columns[0]].count(), ], labels=["len(df.index)", "df.shape[0]", "df[df.columns[0]].count()"], xlabel="Number of rows", )From Stack Overflow: asked by yemu, answered by root (CC BY-SA 4.0)
Have you ever taken the initiative?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Data ScientistMubi, London, hybridToday
- AI Inference EngineerBaseten, Remote, LondonYesterday
- Senior Machine Learning Scientist, Reasoning Systems (Drug Discovery)Relationrx, London, on-siteYesterday
- Machine Learning EngineerGigaton, London, on-siteYesterday
More like this: Machine learning and AI jobs in London (294), Jobs in London (4,446) and Machine learning and AI jobs in the UK (501)
