Top "Machine-learning" questions

Implementation questions about machine learning algorithms.

Why must a nonlinear activation function be used in a backpropagation neural network?

I've been reading some things on neural networks and I understand the general principle of a single layer neural network. …

math machine-learning neural-network deep-learning
How to find the importance of the features for a logistic regression model?

I have a binary prediction model trained by logistic regression algorithm. I want know which features(predictors) are more important …

python machine-learning scikit-learn logistic-regression
setting values for ntree and mtry for random forest regression model

I'm using R package randomForest to do a regression on some biological data. My training data size is 38772 X 201. I …

r statistics machine-learning regression random-forest
When should I use genetic algorithms as opposed to neural networks?

Is there a rule of thumb (or set of examples) to determine when to use genetic algorithms as opposed to …

artificial-intelligence machine-learning neural-network genetic-algorithm
Tensorflow One Hot Encoder?

Does tensorflow have something similar to scikit learn's one hot encoder for processing categorical data? Would using a placeholder of …

python machine-learning neural-network tensorflow
How to apply gradient clipping in TensorFlow?

Considering the example code. I would like to know How to apply gradient clipping on this network on the RNN …

python tensorflow machine-learning keras deep-learning
How to calculate the regularization parameter in linear regression

When we have a high degree linear polynomial that is used to fit a set of points in a linear …

machine-learning data-mining regression
Error in Confusion Matrix : the data and reference factors must have the same number of levels

I've trained a Linear Regression model with R caret. I'm now trying to generate a confusion matrix and keep getting …

r machine-learning artificial-intelligence classification linear-regression
Linear regression analysis with string/categorical features (variables)?

Regression algorithms seem to be working on features represented as numbers. For example: This data set doesn't contain categorical features/…

python machine-learning regression linear-regression feature-selection
pyspark : NameError: name 'spark' is not defined

I am copying the pyspark.ml example from the official document website: http://spark.apache.org/docs/latest/api/python/…

apache-spark machine-learning pyspark distributed-computing apache-spark-ml