Questions tagged [programming]
The programming tag has no summary.
38 questions
1 vote
3 answers
292 views
What programming language is better for data science?
I'm a student who is currently learning Python and Java. I'm very interested to learn about data science and machine learning as well as deep learning. Which of Java and Python is more useful for me?
0 votes
1 answer
62 views
Very basic python question [closed]
I am doing the free interactive learn python tutorial, and I am on the first conditions lesson. The task was to make it so that every statement in the following code resolved true. The code below was ...
2 votes
1 answer
947 views
Generating a random numpy ndarray of 0 and 1 with a specific range of 1 values
I want to generate a random numpy ndarray of 0 and 1. I want that the number of occurrences of 1 in every specific rowto range between 2 and 5. I tried:...
2 votes
1 answer
2k views
cbind doesn't attribute the name of the column
I'm trying to create a new data frame that contains the row names and the first column of an existing data : i tried this ...
0 votes
1 answer
55 views
Speculation regarding rising trend in softwares with a potential in diminishing the role of a data scientist [closed]
I have recently came across a demo of for a software that's built on natural language processing and its job is to convert a text the user types on a Python interpreter such as Jupyter and the ...
0 votes
1 answer
287 views
Calculation of relative standard deviation with a custom function in R
I have measured concentrations of elements in a number of samples. Each concentration is an average of three measurements. Also the standard deviation of these measurements is recorded. I tried to ...
1 vote
0 answers
146 views
Create an amortization table with SQL [closed]
I have a list of credits, let's assume they are only two for ease: Credit #1 and credit #2: One has 3 months of payments missing and the other has 6 months left of payments. It would like to obtain a ...
0 votes
1 answer
167 views
R code that gives results like Wolfram Alpha for the expectation of a function of a random variable? [closed]
When I ask Wolfram Alpha to calculate $E[f(X)]$ where $f(x) = e^{-x^2}$ and $X \sim \mathcal{N}(1,4)$, it gives the result $$ E[f(X)] = \frac{1}{3\sqrt[9]{e}} \approx 0.29828, $$ and the following ...
9 votes
2 answers
2k views
How prevalent is `C/C++` in machine learning development?
I am currently a data scientist mostly doing NLP, and I do most of my work inPython. Since I didn't get a CS degree in undergrad, I've been limited to very high ...
4 votes
3 answers
2k views
Bidirectional Encoder Representations from Transformers in R
Can anybody suggest to me, where I can find example code for R language for BERT neural network for text mining tasks. All I can see are python examples, and I need R. https://github.com/google-...
3 votes
1 answer
73 views
How to choose tools for web dashboard?
I am working in a small sales company. Started with making relatively easy, small, static reports in Excel, but then it was required to make a lot of highly-customizable and adaptable reports, that ...
2 votes
2 answers
1k views
Divide a column by itself with mutate_at dplyr
Hi I'd like to turn each non zero value of my selected columns to a 1 using mutate_at() ...
0 votes
1 answer
266 views
Output of classifier.predict Tensorflow extract probabiltity
When I do a prediction with my DNN clasifier I get a dictionary like this. ...
2 votes
3 answers
124 views
Tell me some things a data scientist/statistician needs to do that can't be done in R/Stata/SAS/SPSS [closed]
Why do I need to learn to program in python or Java and learn data structures? I can't think of a single thing statisticians/data scientists need to do that isn't built in as a package in R/stata.
1 vote
1 answer
413 views
error length > 1 and only the first element will be used?
I'm new i data mining and R, and i'm working with a dataset and trying to remove the "white space" elements. i tried to create a function to do that. ...