Data Scientist
ML and AIPosted 2 weeks agofrom Sigmoid's own hiring page
- Work type
- On-siteBengaluru
- Experience
- 1–3 years
- Pay
- Not listedUsually ₹8.4 LPAML and AI, median at 1–4 years, in India (Payscale)
- Posted
- 2 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
Bengaluru, Karnataka, India
About Sigmoid
Sigmoid Analytics is a leading Data solutions company backed by Sequoia Capital. We offer best in- end-to-end data value chain spanning across Data Science, Data Engineering and Data Ops. With data and technology at the core of our solutions, we are solving some of the toughest problems out there. Our culture is modelled around expertise and mutual respect with a team first mindset. You’ll work with teams that push the boundaries of what-is-possible and build solutions that energize and inspire.
Offices: New York | Dallas | San Francisco | Lima | Bengaluru
The below role is for our Bengaluru office.
About the Role
You will work on a broad range of cutting-edge data science and machine learning problems across a variety of industries. You will be engaging with clients to understand their business context. If you are passionate to work on complex unstructured business problems that can be solved using data science and machine learning we would like to talk to you.
Function
Data Science and Analysis → Data Science / Machine Learning
Desired Skills & Competencies
-
Strong learning acumen
-
Team Management
-
High sense of ownership
-
Ability to work in a fast-paced and deadline-driven environment
-
Loves technology
-
Highly skilled at Data Interpretation
-
Problem solver
-
Good exposure to machine learning concepts and algorithms
-
Must be fluent with any one of Python, R, Java
-
Strong in statistical & machine learning concepts
-
Knowledge of Python Libraries - SciPy, NumPy, Pandas, I Python, Scikit-learn
-
Knowledge of distributed big data processing (PySpark, Jupyter, Linux, AWS)
Responsibilities
-
Hypothesis testing, insights generation, root cause analysis, factor analysis
-
Statistical model (predictive & prescriptive) development using various statistical & machine learning techniques/algorithms
-
Test/train the model, Improve Model accuracy, Monitor model performance
-
Data Extraction from EDW/Big Data Platform, Dataset Preparation (creation of base data, aggregation, transformation), performing EDA
Desired Experience & Education
-
1 - 3 years of relevant Machine Learning experience.
-
B. Tech from Tier-1 college / M.S or M. Tech is preferred in Computer Science, Information Technology, or similar degree.
The original Job Description wording has been retained. Only the formatting, headings, and presentation have been improved.
Note:
By submitting your application, you consent to being contacted by our Talent Acquisition team via phone call, email, SMS, WhatsApp, or other communication channels regarding your application and relevant career opportunities.
Interested?Data Scientist at Sigmoid
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Machine learning, Statistics, Python and 7 more
Interview questions for this job
For the skills the ad mentions: Machine learning, Statistics, Python, Pandas, R, Java, scikit-learn, Spark, Linux and AWS.
How to set class weights for imbalanced classes in Keras?Machine learning
If you are talking about the regular case, where your network produces only one output, then your assumption is correct. In order to force your algorithm to treat every instance of class 1 as 50 instances of class 0 you have to:
Define a dictionary with your labels and their associated weights
class_weight = {0: 1., 1: 50., 2: 2.}Feed the dictionary as a parameter:
model.fit(X_train, Y_train, nb_epoch=5, batch_size=32, class_weight=class_weight)
EDIT: "treat every instance of class 1 as 50 instances of class 0" means that in your loss function you assign higher value to these instances. Hence, the loss becomes a weighted average, where the weight of each sample is specified by class_weight and its corresponding class.
From Keras docs:
class_weight: Optional dictionary mapping class indices (integers) to a weight (float) value, used for weighting the loss function (during training only).
From Data Science Stack Exchange: asked by Hendrik, answered by layser (CC BY-SA 4.0)
How to understand the drawbacks of K-means?Statistics
While I like David Robinson's answer here a lot, here's some additional critique of k-means.
Clustering non-clustered data
Run k-means on uniform data, and you will still get clusters! It doesn't tell you when the data just does not cluster, and can take your research into a dead end this way.
Sensitive to scale
Rescaling your datasets will completely change results. While this itself is not bad, not realizing that you have to spend extra attention to scaling your data is bad. Scaling factors are extra $d$ hidden parameters in k-means that "default" to 1 and thus are easily overlooked, yet have a major impact (but of course this applies to many other algorithms, too).
This is probably what you referred to as "all variables have the same variance". Except that ideally, you would also consider non-linear scaling when appropriate.
Also be aware that it is only a heuristic to scale every axis to have unit variance. This doesn't ensure that k-means works. Scaling depends on the meaning of your data set. And if you have more than one cluster, you would want every cluster (independently) to have the same variance in every variable, too.
Here is a classic counterexample of data sets that k-means cannot cluster. Both axes are i.i.d. in each cluster, so it would be sufficient to do this in 1 dimension. But the clusters have varying variances, and k-means thus splits them incorrectly.
I don't think this counterexample for k-means is covered by your points:
- All clusters are spherical (i.i.d. Gaussian).
- All axes have the same distribution and thus variance.
- Both clusters have 500 elements each.
Yet, k-means still fails badly (and it gets worse if I increase the variance beyond 0.5 for the larger cluster) But: it is not the algorithm that failed. It's the assumptions, which don't hold. K-means is working perfectly, it's just optimizing the wrong criterion.
Even on perfect data sets, it can get stuck in a local minimum
Below is the best of 10 runs of k-means on the classic A3 data set. This is a synthetic data set, designed for k-means. 50 clusters, each of Gaussian shape, reasonably well separated. Yet, it only with k-means++ and 100 iterations I did get the expected result... (below is 10 iterations of regular k-means, for illustration).
You'll quickly find many clusters in this data set, where k-means failed to find the correct structure. For example in the bottom right, a cluster was broken into three parts. But there is no way, k-means is going to move one of these centroids to an entirely different place of the data set - it's trapped in a local minimum (and this already was the best of 10 runs!)
And there are many of such local minima in this data set. Very often when you get two samples from the same cluster, it will get stuck in a minimum where this cluster remains split, and two other clusters merged instead. Not always, but very often. So you need a lot of iterations to have a lucky pick. With 100 iterations of k-means, I still counted 6 errors, and with 1000 iterations I got this down to 4 errors. K-means++ by the way it weights the random samples, works much better on this data set.
Means are continuous
While you can run k-means on binary data (or one-hot encoded categorical data) the results will not be binary anymore. So you do get a result out, but you may be unable to interpret it in the end, because it has a different data type than your original data.
Hidden assumption: SSE is worth minimizing
This is essentially already present in above answer, nicely demonstrated with linear regression. There are some use cases where k-means makes perfect sense. When Lloyd had to decode PCM signals, he did know the number of different tones, and least squared error minimizes the chance of decoding errors. And in color quantization of imaged, you do minimize color error when reducing the palette, too. But on your data, is the sum of squared deviations a meaningful criterion to minimize?
Read the rest at the sourceFrom Cross Validated: asked by KevinKim, answered by Has QUIT--Anony-Mousse (CC BY-SA 3.0)
How do I modify a string in place?Python
You can’t, because strings are immutable. In most situations, you should simply construct a new string from the various parts you want to assemble it from. However, if you need an object with the ability to modify in-place Unicode data, try using an
io.StringIOobject or thearraymodule:>>> import io >>> s = "Hello, world" >>> sio = io.StringIO(s) >>> sio.getvalue() 'Hello, world' >>> sio.seek(7) 7 >>> sio.write("there!") 6 >>> sio.getvalue() 'Hello, there!' >>> import array >>> a = array.array('w', s) >>> print(a) array('w', 'Hello, world') >>> a[0] = 'y' >>> print(a) array('w', 'yello, world') >>> a.tounicode() 'yello, world'From Python Frequently Asked Questions (PSF License Version 2)
How to deal with SettingWithCopyWarning in Pandas?Pandas
The
SettingWithCopyWarningwas created to flag potentially confusing "chained" assignments, such as the following, which does not always work as expected, particularly when the first selection returns a copy. [see GH5390 and GH5597 for background discussion.]df[df['A'] > 2]['B'] = new_val # new_val not set in dfThe warning offers a suggestion to rewrite as follows:
df.loc[df['A'] > 2, 'B'] = new_valHowever, this doesn't fit your usage, which is equivalent to:
df = df[df['A'] > 2] df['B'] = new_valWhile it's clear that you don't care about writes making it back to the original frame (since you are overwriting the reference to it), unfortunately this pattern cannot be differentiated from the first chained assignment example. Hence the (false positive) warning. The potential for false positives is addressed in the docs on indexing, if you'd like to read further. You can safely disable this new warning with the following assignment.
import pandas as pd pd.options.mode.chained_assignment = None # default='warn'Other Resources
- pandas User Guide: Indexing and selecting data
- Python Data Science Handbook: Data Indexing and Selection
- Real Python: SettingWithCopyWarning in Pandas: Views vs Copies
- Dataquest: SettingwithCopyWarning: How to Fix This Warning in Pandas
- Towards Data Science: Explaining the SettingWithCopyWarning in pandas
From Stack Overflow: asked by bigbug, answered by Garrett (CC BY-SA 4.0)
How to join (merge) data frames (inner, outer, left, right)R
By using the
mergefunction and its optional parameters:Inner join:
merge(df1, df2)will work for these examples because R automatically joins the frames by common variable names, but you would most likely want to specifymerge(df1, df2, by = "CustomerId")to make sure that you were matching on only the fields you desired. You can also use theby.xandby.yparameters if the matching variables have different names in the different data frames.Outer join:
merge(x = df1, y = df2, by = "CustomerId", all = TRUE)Left outer:
merge(x = df1, y = df2, by = "CustomerId", all.x = TRUE)Right outer:
merge(x = df1, y = df2, by = "CustomerId", all.y = TRUE)Cross join:
merge(x = df1, y = df2, by = NULL)Just as with the inner join, you would probably want to explicitly pass "CustomerId" to R as the matching variable. I think it's almost always best to explicitly state the identifiers on which you want to merge; it's safer if the input data.frames change unexpectedly and easier to read later on.
You can merge on multiple columns by giving
bya vector, e.g.,by = c("CustomerId", "OrderId").If the column names to merge on are not the same, you can specify, e.g.,
by.x = "CustomerId_in_df1", by.y = "CustomerId_in_df2"whereCustomerId_in_df1is the name of the column in the first data frame andCustomerId_in_df2is the name of the column in the second data frame. (These can also be vectors if you need to merge on multiple columns.)From Stack Overflow: asked by Dan Goldstein, answered by Matt Parker (CC BY-SA 4.0)
Do you have any weaknesses?Behavioural
You should be honest when answering questions on your weaknesses. Say how you're working to improve them.
ExampleQuestion - "Do you have any weaknesses?"
Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Data ScientistWeekday, Delhi NCR, Bengaluru, on-siteToday
- Data Scientist IIConduent, Bengaluru, Hyderabad +1, on-siteToday
- Distinguished Engineer - AICapital One, Bengaluru, on-siteYesterday
- QA Applied AI SpecialistZimmer Biomet, Bengaluru, hybridYesterday
More like this: Machine learning and AI jobs in Bengaluru (750), Jobs in Bengaluru (10,716) and Machine learning and AI jobs in India (1,747)




