Top "Data-science" questions

Implementation questions about data science.

How do I calculate a grouped z score in R using dplyr?

Using the iris dataset I'm trying to calculate a z score for each of the variables. I have the data …

r dplyr data-science
InvalidArgumentError: Expected dimension in the range [-1, 1) but got 1

I'm not sure what this error means. This error occurs when I try to calculate acc: acc = accuracy.eval(feed_…

python machine-learning tensorflow image-recognition data-science
How to split dataframe based on years in python?

I have a dataframe called "dataframe" that contains a bunch of information of sales on a certain date. Each date …

python pandas statistics data-science pyramid-arima
Why is the third quartile less than the mean in my data?

I loaded a data set called gob into R and tried the handy summary function. It is Note that the 3…

r data-science mean quartile
Plotting decision boundary for High Dimension Data

I am building a model for binary classification problem where each of my data points is of 300 dimensions (I am …

python plot machine-learning scikit-learn data-science
Remove special characters from entire dataframe in R

Question: How can you use R to remove all special characters from a dataframe, quickly and efficiently? Progress: This SO …

r data-science data-cleaning
R - select only factor columns of dataframe

I am trying to select only factor columns from my data frame. Example is below: bank[,apply(bank[,names(bank)!="…

r dataframe data-science data-cleaning
Issues downloading Graphlab dependencies get_dependencies()

I am having trouble when I try to download the dependencies needed to run graphlab. I do import graphlab I …

python data-science graphlab