Search is not available for this dataset
query stringlengths 1 13.4k | pos stringlengths 1 61k | neg stringlengths 1 63.9k | query_lang stringclasses 147
values | __index_level_0__ int64 0 3.11M |
|---|---|---|---|---|
It is already common to do something "like"**(see asterisks below) z-standardization of the outputs of one neural network layer before passing it to the next. z-standardization would transform the columns of $H_{\ell}W_{\ell} + \beta_{\ell}$ (where $\ell$ denotes a layer and $H$ denotes a "hidden" matrix containing th... | I read this great answer about how ReLu could approximate non-linear functions. However, if ReLu can approximate such functions, why cant linear activation function do the same? If they can, why linear activation functions are strictly prohibited in NN? | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,900 |
I know that in general if the correlation of two random variables is zero, it is always true that two variables are independent, and it is possible to provide some examples which are dependent with zero correlation. However, all examples that I have seen, use nonlinear relation between two variables. Can we say if two ... | If two variables have 0 correlation, why are they not necessarily independent? Are zero correlated variables independent under special circumstances ? If possible, I am looking for an intuitive explanation, not a highly technical one. | I have a very large dataset and about 5% random values are missing. These variables are correlated with each other. The following example R dataset is just a toy example with dummy correlated data. set.seed(123) # matrix of X variable xmat <- matrix(sample(-1:1, 2000000, replace = TRUE), ncol = 10000) colnames(xm... | eng_Latn | 46,901 |
I understand the concepts of L1 and L2 loss (i.e. L1 loss will force some parameter coefficients to zero while L2 will only make them approach zero). What do these do when implemented in XGBoost? Does L1 loss prune the tree more significantly than L2 loss? | This question pertains to L1 & L2 regularization parameters in Light GBM. As per official documentation: reg_alpha (float, optional (default=0.)) – L1 regularization term on weights. reg_lambda (float, optional (default=0.)) – L2 regularization term on weights I have seen data scientists using both of these para... | This question pertains to L1 & L2 regularization parameters in Light GBM. As per official documentation: reg_alpha (float, optional (default=0.)) – L1 regularization term on weights. reg_lambda (float, optional (default=0.)) – L2 regularization term on weights I have seen data scientists using both of these para... | eng_Latn | 46,902 |
So in the code below, which is pretty standard LSTM training for the IMDB dataset, I have run extensive experiments where I changed the drop-out value from 0.5 all the way up to 1, and the accuracy on the test set is ALWAYS ~78%, never deviating by that very much. I even tried extremely low drop-out values, such as 0.2... | I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This question is intentionally general so that other questions a... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,903 |
I wanted to get some space for my Ubuntu, said it's fine to delete the recovery partition. So I deleted it, installed Ubuntu in its place. Since the bootloader is not working (yet, I need to set it up - some clever guy came up with the idea to set up 32-bit UEFI there and it requires a little of tinkering) so the Wi... | When I boot my Windows 8 laptop (see details below), it displays this message: Recovery Your PC needs to be repaired A required device isn't connected or can't be accessed. Error code: 0xc0000225 [ A text saying I should use recovery tools on my installation media to fix the issue. ] Press Enter to try again Pre... | I'm quite new to neural networks and currently I'm trying to train a non convolutional neural network on the MNIST data set. I'm observing some behaviour I don't quite understand. This is the code written with keras as the library: # the data, split between train and test sets (x_train, y_train), (x_test, y_test) = ... | eng_Latn | 46,904 |
I observe that in machine learning, scaling is done to make the numeric input fit within the range from -1 to +1. Why not a bigger range like -10 to -10? If smaller range is better, then why not -0.1 to +0.1? Why is this numeric range (-1 to +1) preferred? Is there a mathematical reason to choose this range? | I'm learning Neural Networks and I grasped the algebra behind them. I'm now interested in understanding how normalization and centering of the input data affect them. In my personal learning project (Regression with NN) I've transformed my input variables to a range between 0 and 1 using the following function: normal... | I'm learning Neural Networks and I grasped the algebra behind them. I'm now interested in understanding how normalization and centering of the input data affect them. In my personal learning project (Regression with NN) I've transformed my input variables to a range between 0 and 1 using the following function: normal... | eng_Latn | 46,905 |
Scenario: I'm trying to build a random forest regressor to accelerate probing a large phase space. I'm using python/scikit-learn to perform the regression, and I'm able to obtain a model that has a reasonably low cross-validation error on known data split into training/test sets. Now I'd like to begin asking my model... | If I run a randomForest model, I can then make predictions based on the model. Is there a way to get a prediction interval of each of the predictions such that I know how "sure" the model is of its answer. If this is possible is it simply based on the variability of the dependent variable for the whole model or will ... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,906 |
I am training a binary classification algorithm in Keras, the loss is cross-entropy model.compile(loss='binary_crossentropy', optimizer=optimizer, metrics=['accuracy']). What confused me most is that my train_acc and train_loss are not consistent. Sometimes train_acc is 1 but train_loss is near 3. If I think right, if... | In theory, is it possible that the loss on the train set will increase together with the train set accuracy? (in the normal case the train set loss should go down) And vice versa, can the train loss decrease along with the accuracy? Note: This is obviously different than the classic underfit / overfit cases which are... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,907 |
I'm building a logistic regression model to predict if a patient has cancer based on 9 features. Having built learning curves and increasing my regularization parameter to reduce over fitting, which caused my accuracy to increase from 82% to 86%, I'm stuck on options of how to improve it further. I'm using a training ... | Imagine a standard machine-learning scenario: You are confronted with a large multivariate dataset and you have a pretty blurry understanding of it. What you need to do is to make predictions about some variable based on what you have. As usual, you clean the data, look at descriptive statistics, run some mod... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,908 |
I am slightly confused by counting the number of NN parameters. Let's assume there is a NN with 4-dim vector as an input, then comes 5-dim hidden layers, and another one 6-dim hidden layer. There is a single neuron output with sigmoid. Negative log likelihood as a loss function. The question is how many parameters sh... | In Bishop's book "Pattern Classification and Machine Learning", it describes a technique for regularization in the context of neural networks. However, I don't understand a paragraph describing that during the training process, the number of degrees of freedom increases along with the model complexity. The relevant quo... | Prove that there is no retraction (i.e. continuous function constant on the codomain) $r: M \rightarrow S^1 = \partial M$ where $M$ is the Möbius strip. I've tried to find a contradiction using $r_*$ homomorphism between the fundamental groups, but they are both $\mathbb{Z}$ and nothing seems to go wrong... | eng_Latn | 46,909 |
I run a binary logistic regression, with a binary dependent variable and a continuous independent one. Now I want to evaluate the out-of-sample performance of the classification algorithm so obtained. For instance, given a probability threshold, I want to compute out-of-sample accuracy or sensitivity. One solution woul... | I was naively validating my binomial logit models by testing on a test dataset. I had randomly divided the available data (~2000 rows) into training (~1500) and validation (~500) datasets. I now read a post in another thread ( Frank Harrell) that causes me to question my approach: Data splitting is not very relia... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,910 |
I wanted to see if a neural network could learn the identity function using the MNIST handwritten dataset. Here is the full code import keras from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense from keras.optimizers import RMSprop batch_size = 128 epochs = 20 (x_train,... | I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This question is intentionally general so that other questions a... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,911 |
Suppose in the 2D space we have an array of points, and each point has a weighting factor, which is a float value ranging from 0 to 1. Each point also has a coordinate in the 2D grid. The following pseduo-codes show the property of the point: class Point { public: float weightingFactor_; // [0,1]. float x_; ... | I have four numeric variables. All of them are measures of soil quality. Higher the variable, higher the quality. The range for all of them is different: Var1 from 1 to 10 Var2 from 1000 to 2000 Var3 from 150 to 300 Var4 from 0 to 5 I need to combine four variables into single soil quality score which will success... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,912 |
I am having trouble understanding how one-class SVMs work. They were introduced in a paper by Scholkopf and others (and can be found ). One-class SVMs perform "novelty detection", where a point is classified as either normal or abnormal, but you can only train your model on normal points. In the paper linked above, t... | I was using , implemented in scikit-learn, for my research work. But I have no good understanding of this. Can anyone please give a simple, good explanation of one class SVM? | I want to make it so I always have 50 entities in an area. So when 1 dies/despawns/leaves the area I want it to detect that and summon in a new entity, and yes I do want them to die/despawn/leave the area so preventing those things is not an option. | eng_Latn | 46,913 |
I have 2 drives in my laptop (Samsung NP530U4C), a 120GB SSD and a 25GB mSATA SSD. I have Windows 7 on the 120GB drive and after installing Ubuntu 12.04 on the mSATA I cant access Windows or get into the BIOS anymore. When I select Windows 7 in grub it says "invalid EFI file path" and Windows/Linux USBs/CDs dont show u... | I installed ubuntu 13.04 on my new notebook (that came with windows 8 installed) and now when I try to load windows 8 appear the error: impossible to find command 'drivemap'. (this is in portuguese, I'm not sure if I translated it right invalid EFI file path. ubuntu is working OK. someone knows what can I do to solve... | I'm quite new to neural networks and currently I'm trying to train a non convolutional neural network on the MNIST data set. I'm observing some behaviour I don't quite understand. This is the code written with keras as the library: # the data, split between train and test sets (x_train, y_train), (x_test, y_test) = ... | eng_Latn | 46,914 |
I am trying to build logistic regression that will work with unbalanced data, i.e. I have about 0.33% of data parts that have to be classified as class 1 and others that have to be classified as 0. The question is how should be standard binary crossentropy loss () changed in order to cope with such data? I tried ad... | Okay, so I think I have a decent enough sample, taking into account the 20:1 rule of thumb: a fairly large sample (N=374) for a total of 7 candidate predictor variables. My problem is the following: whatever set of predictor variables I use, the classifications never get better than a specificity of 100% and a sensit... | The speed of light is the same in all inertial frames. Does it change from a non-inertial frame to another? Can it be zero? If it is not constant in non-inertial frames, is it still bounded from above? | eng_Latn | 46,915 |
I have a task, where I want to perform anomaly detection on a 1-dimensional input. The values that the inputs take are by default bounded in the range [0,1], but the distribution is skewed very much towards 0, in the point that almost 95% of the values in my training set are 0. In other words, only few of the features ... | I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This question is intentionally general so that other questions a... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,916 |
I have limited experience with matlab's nn toolbox but I can manage to train a network and get it to generate decent results. However, I have no idea how many hidden layers, hidden nodes, which transfer function for each layer, and which training method to use. I tried searching online for tutorials but all of it seem... | I'm looking for a paper that could help in giving a guideline on how to choose the hyperparameters of a deep architecture, like stacked auto-encoders or deep believe networks. There are a lot of hyperparameters and I'm very confused on how to choose them. Also using cross-validation is not an option since training real... | In .NET, what's the best way to prevent multiple instances of an app from running at the same time? And if there's no "best" technique, what are some of the caveats to consider with each solution? | eng_Latn | 46,917 |
I am trying to build a binary classifier. I have tried deep neural networks with various different structures and parameters and I was not able to get anything better than Train set accuracy : 0.70102 Test set accuracy : 0.70001 Then I tried machine learning algorithms such as KNN and Decision Trees etc. And I found... | Let's say we have two models trained. And let's say we are looking for good accuracy. The first has an accuracy of 100% on training set and 84% on test set. Clearly over-fitted. The second has an accuracy of 83% on training set and 83% on test set. On the one hand, model #1 is over-fitted but on the other hand it st... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,918 |
I am building a simple NN for a regression analysis (0.5 mln rows of data) in Keras. # Define model model = Sequential() model.add(Dense(32, activation = 'relu')) model.add(Dense(32, activation = 'sigmoid')) model.add(Dense(1)) # Define model parameters model.compile(optimizer = 'sgd', loss = 'mse', metrics = [tf.keras... | Is there a standard and accepted method for selecting the number of layers, and the number of nodes in each layer, in a feed-forward neural network? I'm interested in automated ways of building neural networks. | I am looking for an example of a sequence which shows that, $a_{n+1} - a_n \to 0$ as $n \to \infty$ does not imply that sequence $a_n$ converges. I have a feeling that the sequence should be an oscillatory one but I am unable to think of an example. | eng_Latn | 46,919 |
How to calculate the non-linearity of an s-box? I am struggling to understand how to calculate non-linearty of an s-box, could someone show me a detailed example? I found which helped a little, but I still don't really get it. If someone could show me an example I would appreciate it. | How are the AES S-Boxes calculated? I'm trying to understand how the AES S-Boxes are calculated. I understand how the multiplicative inverse is calculated over $GF(2^8)$, but I'm confused by the description of the affine transformation. I haven't been able to Google a good explanation of how the S-Box values are calcul... | What should I do when my neural network doesn't learn? I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This ques... | eng_Latn | 46,920 |
"A NNN REIT" or "an NNN REIT" I would think it's "a NNN REIT" in this case, despite the vowel sound, because this would typically be read as "a triple-net REIT" by those with domain knowledge. The person I consulted with said NNN might be read as the individual letters rather than as "triple-net". What should I go with... | Do you use "a" or "an" before acronyms / initialisms? 99% of the time, I'm clear on when I should use "a" versus "an." There's one case, though, where people & references I respect disagree. Which of the following would you precede with "a" or "an," and why? FAQ FUBAR SCUBA [Note: I've read the questions and ... | How does the Rectified Linear Unit (ReLU) activation function produce non-linear interaction of its inputs? When used as an activation function in deep neural networks The ReLU function outperforms other non-linear functions like tanh or sigmoid . In my understanding the whole purpose of an activation function is to le... | eng_Latn | 46,921 |
Is there any neural network whose output can be probabilistic, just like multi-class logistic regression? I want to add nonlinear character into multi-class logistic regression. I know kernel logistic regression can do it. Is there any kind of neural network which has similar characteristic? | Neural networks output probability estimates? Suppose my training data contains ~100 variables, and each example is tagged as "success" or "failure". I understand how a neural network can be used to try and predict success vs failure based on the variables. However I am interested in the neural network outputting the... | If $n$ vectors are linearly independent, is their span $\mathbb{R}^n$? Have $n$ vectors in $\mathbb{R}^n$. If the $n$ vectors are linearly independent, can we conclude that their span is $\mathbb{R}^n$? | eng_Latn | 46,922 |
Layman's Interpretation of XGBoost Importance I'm trying to come up with a good way to explain the 3 importance metrics to a layman with only a basic understanding of XGBoost and trees in general. How best would you frame this explanation? | How to interpret the output of XGBoost importance? I ran a xgboost model. I don't exactly know how to interpret the output of xgb.importance. What is the meaning of Gain, Cover, and Frequency and how do we interpret them? Also, what does Split, RealCover, and RealCover% mean? I have some extra parameters Are there ... | Can someone explain the layer system? I am really confused with the different uses of the terms "Layers" and "Passes" in Blender. Can someone please explain how they work in Blender. I know about Render Passes like AO, Diffuse and so on, but there seems to be a confusion with layers. Also, how do the layer buttons work... | eng_Latn | 46,923 |
Multiple class prediction with unbalanced data I have 4 different web sites (A/B/C/D) and need to predict whether a user will rather convert on A/B/C or D or not convert at all. My data set has 100000 rows and only 100 of those are converted user (A/B/C), so very unbalanced. My explanatory variables are user session le... | When is unbalanced data really a problem in Machine Learning? We already had multiple questions about unbalanced data when using , , , and a number of other similar questions, what makes it a very popular topic! Unfortunately, each of the questions seems to be algorithm-specific and I didn't find any general guideline... | How small a quantity should be added to x to avoid taking the log of zero? I have analysed my data as they are. Now I want to look at my analyses after taking the log of all variables. Many variables contain many zeros. Therefore I add a small quantity to avoid taking the log of zero. So far I've added 10^-10, withou... | eng_Latn | 46,924 |
Can Simple Multiple Regression be applied when you have a Training Set where the number of features is greater than the number of examples? Suppose we have a Training Set $X$ of size $n\times d$, where $n$ represents the number of examples and $d$ represents the number of features. Assume that $d>n$, so the number ... | Modelling with more variables than data points I'm fairly new to Machine Learning/Modelling and I'd like some background to this problem. I have a dataset where the number of observations is $n<200$ however the number of variables is $p\sim 8000$. Firstly does it even make sense to consider building a model on a dat... | Is R-squared value appropriate for comparing models? I'm trying to identify the best model to predict the prices of automobiles, using the prices and features available on automobile classified advertisement sites. For this I used a couple of models from the scikit-learn library and neural network models from pybrain ... | eng_Latn | 46,925 |
I am fairly new to neural networks. I am trying to empirically show that a neural network can work better than logistic regression when the underlying function is non-linear. In my simulation study, the true probability of assignment to the treatment group is a function of $X_1$, $X_2^2$, $X_3$, and $X_4$ - however, I ... | I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This question is intentionally general so that other questions a... | Can we prove that every entire one-to-one function is linear? | eng_Latn | 46,926 |
I am looking for some suggestions on what methods are appropriate for training a dataset with a high skew in the outcome classes. The ratio of Class 0: Class 1 is about 20:1 and I am looking to maximize the accuracy for identifying Class 1 outcomes. This is similar to oft discussed topics such as cancer detection. I h... | We already had multiple questions about unbalanced data when using , , , and a number of other similar questions, what makes it a very popular topic! Unfortunately, each of the questions seems to be algorithm-specific and I didn't find any general guidelines for dealing with unbalanced data. Quoting , dealing with un... | Why is it dangerous to initialize weights with zeros? Is there any simple example that demonstrates it? | eng_Latn | 46,927 |
I am training a model (Recurrent Neural Network) to classify 4 types of sequences. As I run my training I see the training loss going down until the point where I correctly classify over 90% of the samples in my training batches. However a couple of epochs later I notice that the training loss increases and that my acc... | In it says To make gradient descent work correctly, we need to choose the learning rate η to be small enough that Equation (9) is a good approximation. If we don't, we might end up with $\Delta C>0$, which obviously would not be good! At the same time, we don't want $\eta$ to be too small, since that will make ... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,928 |
Is there is any special meaning for raw pointer? Is normal pointer variable and raw pointer are same? | I am programming with normal pointers, but I have heard about libraries like Boost that implement smart pointers. I have also seen that in Ogre3D rendering engine there is a deep use of shared pointers. What exactly is the difference between the three, and should I stick on using just a type of them? | A common good practice in Machine Learning is to do feature normalization or data standardization of the predictor variables, that's it, center the data substracting the mean and normalize it dividing by the variance (or standard deviation too). For self containment and to my understanding we do this to achieve two mai... | eng_Latn | 46,929 |
I am trying to segment an image by first dividing it into superpixel, and than classifying those superpixel to merge them together. If I am doing it for example with a SVM or a Decision Tree, it works fairly well, but is still doing some mistakes. Now I wanted to use an Neural Network, to do the task, but after a few ... | I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This question is intentionally general so that other questions a... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,930 |
Intuitive understanding of Extreme Learning Machine I have read the description of the ELM in , but a lot of it goes over my head. What is a less mathematical, more intuitive understanding of ELM? | Extreme learning machine: what's it all about? I've been thinking about, implementing and using the Extreme Learning Machine (ELM) paradigm for more than a year now, and the longer I do, the more I doubt that it is really a good thing. My opinion, however, seems to be in contrast with scientific community where -- when... | Why should one use EM vs. say, Gradient Descent with MLE? Mathematically, it's often seen that expressions and algorithms for Expectation Maximization (EM) are often simpler for mixed models, yet it seems that almost everything (if not everything) that can be solved with EM can also be solved with MLE (by, say, the New... | eng_Latn | 46,931 |
Neural network weights explode in linear unit I am currently implementing a simple neural network and the backprop algorithm in Python with numpy. I have already tested my backprop method using central differences and the resulting gradient is equal. However, the network fails to approximate a simple sine curve. The n... | What should I do when my neural network doesn't learn? I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This ques... | Bias and variance in leave-one-out vs K-fold cross validation How do methods compare in terms of model variance and bias? My question is partly motivated by this thread: . The answer there suggests that models learned with leave-one-out cross-validation have higher variance than those learned with regular $K$-fold c... | eng_Latn | 46,932 |
How to do stepwise regression using sklearn? I could not find a way to stepwise regression in scikit learn. I have checked all other posts on Stack Exchange on this topic. Answers to all of them suggests using f_regression. But f_regression does not do stepwise regression but only give F-score and pvalues correspondin... | Does scikit-learn have forward selection/stepwise regression algorithm? I'm working on the problem with too many features and training my models takes way too long. I implemented forward selection algorithm to choose features. However, I was wondering does scikit-learn have forward selection/stepwise regression algori... | Why are the Degrees of Freedom for multiple regression n - k - 1? For linear regression, why is it n - 2? I'm reading a textbook and I see this question: So there are 200 women, and the DF is 196, implying that the equation for DF is $n - k - 1$. There are 3 variables: bp, age, and type so $k == 3$. What's the intui... | eng_Latn | 46,933 |
Why does the Lorentz transformation have to be a linear transformation? In my textbook, they say the following statements before doing a proof for the Lorentz transformation: We know that the Galilean transformation $x' = x - vt$ is incorrect, but what is the correct transformation? We require a linear transform... | Are Lorentz transformations linear transformations? My textbook says that Lorentz transformations are linear transformations and present them as matrices. Lorentz transformations relate different coordinate systems with each other. It seems that coordinate systems are linear spaces, but coordinates are just labels for ... | How does leave-one-out cross-validation work? How to select the final model out of $n$ different models? I have some data and I want to build a model (say a linear regression model) out of this data. In a next step, I want to apply Leave-One-Out Cross-Validation (LOOCV) on the model so see how good it performs. If I u... | eng_Latn | 46,934 |
Can't get a Keras model to overfit (Full disclosure, this is a follow-up to , which wasn't completely answered on StackOverflow) The input dataset is a time series of some stock price movement, but it might as well be random. I am trying to configure a Keras neural network to completely overfit (i.e. memorize the data... | What should I do when my neural network doesn't learn? I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This ques... | How to compare (probability) predictive ability of models developed from logistic regression? I know some well-known measures are $c$ statistic, Kolmogorov-Smirnov $D$ statistic. However, as far as I know, those statistics take into account only of the rank order of the observations, and is invariant under changing the... | eng_Latn | 46,935 |
$\{\ln(p)\}$ where $p$ is prime is linear independent. I’m struggling to prove that the set $\{\ln(p): \text{$p$ is prime}\}$ is a linearly independent system in the Rational vector space of the real numbers. Any help is greatly appreciated. | Prove linear combinations of logarithms of primes over $\mathbb{Q}$ is independent Suppose we have a set of primes $p_1,\dots,p_t$. Prove that $\log p_1,\dots,\log p_t$ is linear independent over $\mathbb{Q}$. Now, this implies $ \sum_{j=1}^{t}x_j\log(p_j)=0 \iff x_1=\dots=x_t=0$. I think I have to use that fact that... | Understanding complete separation for logistic regression Why does logistic regression not converge for a linearly separable data set? For linear separable data sets the model parameters go to infinity when mimizing the error function (according to Bishop2006, Pattern recognition and machine learning, section 4.3.2).... | eng_Latn | 46,936 |
Analysing the entire population I am performing an analysis in which the unit of analysis is a geographical area (more precisely, an ). This is a case when the sample analysed can represent the entire population (all 32000+ LSOAs in England). How do we interpret, in this case, the point and interval estimates of a, say... | Statistical inference when the sample "is" the population Imagine you have to do reporting on the numbers of candidates who yearly take a given test. It seems rather difficult to infer the observed % of success, for instance, on a wider population due to the specifity of the target population. So you may consider that ... | What *is* an Artificial Neural Network? As we delve into literature, we get to identify other methods with neuromorphic topologies ("Neural-Network"-like architectures). And I'm not talking about the . Examples are given below. Then, it makes me wonder: what is the definition of an artificial Neural Network? Its topo... | eng_Latn | 46,937 |
Why do we use "Sum of Squared Errors" as loss function in linear regression? What is a loss function? How can we relate the slope of Linear Regression with Sum of Squared Errors? | What is a loss function in decision theory? My notes define a loss function as the 'cost' incurred when the true value of $\theta$ is estimated by $\hat\theta$. What kind of cost is it talking about? monetary cost? or is it something related to errors? | Is R-squared value appropriate for comparing models? I'm trying to identify the best model to predict the prices of automobiles, using the prices and features available on automobile classified advertisement sites. For this I used a couple of models from the scikit-learn library and neural network models from pybrain ... | eng_Latn | 46,938 |
Variance calculation Can someone explain why: Given a set of n independent observations Z1...Zn, each with variance K. The variance of the mean is K/n? | How does the standard error work? I have been looking into the inner-workings of the standard error recently, and I found myself unable to understand how it works. My understanding of the standard error is that it is the standard deviation of the distribution of sample means. My questions are: • how do we know the sta... | What is batch size in neural network? I'm using Python Keras package for neural network. This is the . Is batch_size equals to number of test samples? From Wikipedia we have information: However, in other cases, evaluating the sum-gradient may require expensive evaluations of the gradients from all summand funct... | eng_Latn | 46,939 |
Power Transformations of a Single Variable for Multivariate Data Sets Let's say I have a dataset with 5 variables and 100 observations. After checking for normality, all but one is normal, let's say the 2nd variable. After using a Box-Cox method I find a suitable lambda that will transform the 2nd variable's data to ma... | Is it feasible to transform each variable differently while doing multiple regression I have a dataset with 10 variables ...is it feasible to transform each variable differently while doing multiple regression... for example new_V1 = log(v1) New_V2= V2^2 New_V3= 1/V3 Likewise differently for different variables and... | L1 & L2 Regularization in Light GBM This question pertains to L1 & L2 regularization parameters in Light GBM. As per official documentation: reg_alpha (float, optional (default=0.)) – L1 regularization term on weights. reg_lambda (float, optional (default=0.)) – L2 regularization term on weights I have seen data... | eng_Latn | 46,940 |
Cross entropy versus Mean of Cross Entropy In many neural network applications, people are prone to define loss = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(labels,logits) [tensorflow functions] as a loss function. Why add tf.reduce_mean (compute the expected value)? | Mean or sum of gradients for weight updates in SGD I am using single observation to compute losses using neural network implementation in PyTorch. I am confused in a small detail of SGD. If I compute loss and do loss.backward(), I am accumulating gradients. If I do this on 100 observations and then run optimizer.step(... | The Fourier transform of a "comb function" is a comb function? Let $f(x) = \sum_{n=-\infty}^{\infty} \delta(x - n)$, where $\delta$ is the Dirac delta function. This function $f$ (a "comb function") is important in signal processing because evenly sampling a function $g$ can be viewed as multiplying $g$ pointwise with ... | eng_Latn | 46,941 |
Difference between epoch and batch size in neural network I am beginner in machine learning and I came across these terms while going through code of cnn, I want to know how to what exactly they mean and other question is that when the weights of network change? after each batch size or after every epoch? Thank you. | What is batch size in neural network? I'm using Python Keras package for neural network. This is the . Is batch_size equals to number of test samples? From Wikipedia we have information: However, in other cases, evaluating the sum-gradient may require expensive evaluations of the gradients from all summand funct... | What is a "hat"? What exactly is a hat? I have seen a lot of people arguing the significance of hats and the limited edition hats. I know the hats are sort of linked to the Winterbash stuff, but what exactly is a hat, what does it do, how do I get one? Is there a full list of hats? | eng_Latn | 46,942 |
What are the pros and cons of logistic regression and SVM (support vector machines)? | Can someone please give me some intuition as to when to choose either SVM or LR? I want to understand the intuition behind what is the difference between the optimization criteria of learning the hyperplane of the two, where the respective aims are as follows: SVM: Try to maximize the margin between the closest sup... | Can someone please give me some intuition as to when to choose either SVM or LR? I want to understand the intuition behind what is the difference between the optimization criteria of learning the hyperplane of the two, where the respective aims are as follows: SVM: Try to maximize the margin between the closest sup... | eng_Latn | 46,943 |
I was just going through Neural-Network tutorials and I have some question regarding Bias neuron :- 1.] Is the act of introducing bias neuron same as introducing the X(index 0)=1 in the logistic regression i.e. [1, X1, X2] 2.] Is bias neuron an additional degree of freedom ? 3.] Can bias neuron be analogous to the c... | I'm curious to know how important the bias node is for the effectiveness of modern neural networks. I can easily understand that it can be important in a shallow network with only a few input variables. However, modern neural nets such as in deep learning often have a large number of input variables to decide whether a... | If $$(1+ \cos A) (1+ \cos B) (1+\cos C)= y = (1- \cos A) (1-\cos B) (1-\cos C)$$ then prove that $$y = \pm \sin A \sin B \sin C$$ | eng_Latn | 46,944 |
Some implementations of decision trees (eg cran/tree) can split on categorical variables where the split separates the variable into 2 groups: > library("tree") > df <- read.csv('https://forge.scilab.org/index.php/p/rdataset/source/file/master/csv/datasets/Titanic.csv') > tree(Survived ~ Class, data=df, w... | I am curious about the practical implementation of a binary split in a decision tree - as it relates to levels of a categorical predictor $X{j}$. Specifically, I often will utilize some sort of sampling scheme (e.g. bagging, oversampling etc) when building a predictive model using a decision tree - in order to improve... | The entire site is blank right now. The header and footer are shown, but no questions. | eng_Latn | 46,945 |
Why does LOOCV have a higher bias than a single validation set? In An Introduction to Statistical Learning, the following statement is made comparing leave-one-out cross validation to using a single validation set: LOOCV has a couple of major advantages over the validation set approach. First, it has far less bias. In... | Bias and variance in leave-one-out vs K-fold cross validation How do methods compare in terms of model variance and bias? My question is partly motivated by this thread: . The answer there suggests that models learned with leave-one-out cross-validation have higher variance than those learned with regular $K$-fold c... | Which variables should I transform, center, and/or standardize in my data for Principal Component Analysis? I have multiple datasets that I am attempting to use principal component analysis (PCA) on in order to infer the underlying structure of the data. I'm attempting to predict growth increment of conifers (the resp... | eng_Latn | 46,946 |
Random Forests interpretability I have been using the sklearn RandomForestClassifier to solve a binary classification problem. For a particular sample prediction, I would like to be able to know how to change the features values to make the prediction change. E.g. let's say I have an entry with [size = 15, width = 8... | Obtaining knowledge from a random forest Random forests are considered to be black boxes, but recently I was thinking what knowledge can be obtained from a random forest? The most obvious thing is the importance of the variables, in the simplest variant it can be done just by calculating the number of occurrences of a... | How to set parameters for Describe() function? I developed one tool in arcgis using python code, in the process i used Describe(feature class) function to know the coordinate system of input feature class. I got success while compiling code, But i couldn't get how to set parameters for this function in tool(arcgis 10.... | eng_Latn | 46,947 |
Can we optimize regression problems that have categorical variables by encoding them if on the other hand we are inserting multicollinearity? Can we optimize regression problems that have categorical variables by encoding them if, on the other hand, we are inserting multicollinearity? | Why do we need to discard one dummy variable? I have learned that, for creating a regression model, we have to take care of categorical variables by converting them into dummy variables. As an example, if, in our data set, there is a variable like location: Location ---------- Californian NY Florida We have to con... | Can't deep learning models now be said to be interpretable? Are nodes features? For statistical and machine learning models, there are multiple levels of interpretability: 1) the algorithm as a whole, 2) parts of the algorithm in general 3) parts of the algorithm on particular inputs, and these three levels split into ... | eng_Latn | 46,948 |
Evaluate collisions in classification problems Short Introduction In a classification problem, the objective is to identify to which of a set of categories a new observation belongs, on the basis of a set of examples whose category membership is known. The bottom-line of any solution to this problem is to find a set ... | On the hardness of data to learn Almost in all texts which are discussing theorems of statistical learning, they assume analyzing arbitrary unknown distribution (the worst case). But in practice different problems (different data) have different levels of hardness, for example linear separable data is easier to learn t... | How to use early stopping properly for training deep neural network? I have a deep neural network model and I need to train it on my dataset which consists of about 100,000 examples, my validation data contains about 1000 examples. Because it takes time to train each example (around 0.5s for each example) and in order ... | eng_Latn | 46,949 |
Add number, then tuple to list as a tuple, but it drops outer tuple I am trying to add a tuple of a (number, (tuple)), but it drops the outer tuple. How do I change the code so that l1 comes out looking like L2? It appears to drop the outer tuple and convert it to list elements? How do I stop that? Better yet, why i... | What is the difference between Python's list methods append and extend? What's the difference between the list methods append() and extend()? | Most common method for deciding when to stop training a neural net on a batch I have created my own neural net which is using batch gradient descent. In other words, it trains on batches of examples all at once. My issue is trying to figure out when to stop the training of the batch. I'll try to make things as underst... | eng_Latn | 46,950 |
Neural Network converges to a constant I'm having a similar problem to the following post . The model is built with Deep Neural Network library in Matlab by Masayuki Tanaka. The library is designed for classification. However, I've managed to change the last layer's transfer function to linear, so that the Deep Belief... | What should I do when my neural network doesn't learn? I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This ques... | Generating a DEM and DSM from correct LiDAR point classification I have downloaded classified LAS data from I am trying to generate accurate DEM and DSM for further analysis. I created a LAS dataset with a projected CRS of NAD_1983_UTM_Zone_19N in meters and the z CRS in meters as well. My question is on which clas... | eng_Latn | 46,951 |
Help Interpreting Residuals vs Fit Graph (multiple regression) Can anyone advise how to interpret this resulting residuals vs fitted graph and what may be wrong with the model? | Diagonal straight lines in residuals vs fitted values plot for multiple regression I am observing strange patterns in residuals for my data: [EDIT] Here are the partial regression plots for the two variables: [EDIT2] Added the PP Plot The distribution seems to be doing fine (see below) but I have no clue wher... | Is R-squared value appropriate for comparing models? I'm trying to identify the best model to predict the prices of automobiles, using the prices and features available on automobile classified advertisement sites. For this I used a couple of models from the scikit-learn library and neural network models from pybrain ... | eng_Latn | 46,952 |
What is meaning of 'up to a global phase'? What is the importance of global phase? How it affect a unit vector if we see it on a Bloch sphere? What is the meaning of 'up to global phase' in exercise 4.3 of Nielsen and Chuang? | What is the difference between a relative phase and a global phase? In particular, what is a phase? I know that $re^{i\theta} = x + iy$ for any complex number $x + iy$ by Euler's formula. How do you calculate relative and global phase? | When is unbalanced data really a problem in Machine Learning? We already had multiple questions about unbalanced data when using , , , and a number of other similar questions, what makes it a very popular topic! Unfortunately, each of the questions seems to be algorithm-specific and I didn't find any general guideline... | eng_Latn | 46,953 |
What are the most common techniqes for preventing overfitting? How is this issue dealt with, in practice? | What should I do when my neural network doesn't generalize well? I'm training a neural network and the training loss decreases, but the validation loss doesn't, or it decreases much less than what I would expect, based on references or experiments with very similar architectures and data. How can I fix this? As for ... | What's wrong if I fit the auto-regression with OLS? I am doing auto-regress by usual linear regression package. e.g. $y_t=φx+ε_t$ with $x =y_{t-1}$ My reason is that, Auto-regression does assumes iid errors, same for linear regression. Linear Regression doesn't have assumption on independent variables. What's differe... | eng_Latn | 46,954 |
When hyperparameter tuning, do we train on the whole dataset after finding optimal parameters? | Training on the full dataset after cross-validation? | Practical hyperparameter optimization: Random vs. grid search | eng_Latn | 46,955 |
Learning Distribution of Data Sometimes it's important to generate data due to data imbalance issues. I heard that data augmentation by leaning distribution of data is a hot topic now. Could you please give me some resources and useful material for data generation by learning data distribution? | When is unbalanced data really a problem in Machine Learning? We already had multiple questions about unbalanced data when using , , , and a number of other similar questions, what makes it a very popular topic! Unfortunately, each of the questions seems to be algorithm-specific and I didn't find any general guideline... | Why use gradient descent with neural networks? When training a neural network using the back-propagation algorithm, the gradient descent method is used to determine the weight updates. My question is: Rather than using gradient descent method to slowly locate the minimum point with respect to a certain weight, why don'... | eng_Latn | 46,956 |
Give me an example of a topological manifold which is not a smooth manifold. I was just wondering whether someone could give me an example of a topological manifold which is not a smooth manifold. In particular, I want an example of a topological manifold where no differentiable structure could be given. I have though... | Manifold that is NOT smooth Could someone provide an example of a manifold that is not smooth? All manifolds that come to mind are smooth! By a manifold, I mean a hausdorff, second countable locally euclidean space. | Can't deep learning models now be said to be interpretable? Are nodes features? For statistical and machine learning models, there are multiple levels of interpretability: 1) the algorithm as a whole, 2) parts of the algorithm in general 3) parts of the algorithm on particular inputs, and these three levels split into ... | eng_Latn | 46,957 |
Keras - text classification, overfitting, and how to improve my model? i am developing a text classification neural network based on this two articles - For the training i am using, text data in Russian language (language essentially doesn't matter,because text contains a lot of special professional terms, and sadly... | What should I do when my neural network doesn't generalize well? I'm training a neural network and the training loss decreases, but the validation loss doesn't, or it decreases much less than what I would expect, based on references or experiments with very similar architectures and data. How can I fix this? As for ... | Working with systems with Perfect Multicollinearity I am working with a time-series dataset that is based on demand-supply dynamics with several variables. THe sample data for one time period is: > data # A tibble: 19 x 6 Pred_error_A Pred_error_B Pred_error_C Pred_error_D Pred_error_E Pred_error_Target ... | eng_Latn | 46,958 |
Why does integration have to be the reverse operation of differentiation? I am in High school and when I was learning calculus, we were taught that integration is nothing but the reverse of differentiation. But I really don't get it why does that needs to be the case. Differentiation relates slope of a function and t... | Why is integration the inverse of differentiation Why is integration the inverse of differentiation, I mean why do I get the same function when I integrate and then differentiate the result? | Intuition behind logistic regression Recently I began studying machine learning, however I failed to grasp the intuition behind . The following are the facts about logistic regression that I understand. As the basis for hypothesis we use . I do understand why it's a correct choice, however why it's the only choice ... | eng_Latn | 46,959 |
What art exists about classification of monoids? For groups, there is a solid foundation to classify them What art exists for monoids? | Semigroup analogue to the classification of finite simple groups? Is there a semigroup analogue to the classification of finite simple groups? If so what are some of the major results? --Edit, reference links--- | Is there a thumb-rule for designing neural-networks? I know that a neural-network architecture is mostly based on the problem itself and the types of input/output, but still - there's always a "square one" when starting to build one. So my question is - given a input dataset of MxN (M is the number of records, N is th... | eng_Latn | 46,960 |
Definition of a private access modifier Is this definition for a private access modifier accurate?: private: Any thing declared as private can’t be seen outside of its class. What about a private nested class? This class can be seen "outside of its own class" by the class that is nesting it. Maybe you could say th... | What does the "private" modifier do? Considering "private" is the default access modifier for class Members, why is the keyword even needed? | What *is* an Artificial Neural Network? As we delve into literature, we get to identify other methods with neuromorphic topologies ("Neural-Network"-like architectures). And I'm not talking about the . Examples are given below. Then, it makes me wonder: what is the definition of an artificial Neural Network? Its topo... | eng_Latn | 46,961 |
Issues with tree based learners for Boosting Machines or RFs I'm wondering if tree based methods are capable of making predictions that are larger in magnitude than the largest training observations? Given my understanding of decision trees and partitioning feature space, I would guess it's not possible for predictions... | Random forest regression not predicting higher than training data I've noticed that when building random forest regression models, at least in R, the predicted value never exceeds the maximum value of the target variable seen in the training data. As an example, see the code below. I'm building a regression model to pr... | Why is polynomial regression considered a special case of multiple linear regression? If polynomial regression models nonlinear relationships, how can it be considered a special case of multiple linear regression? Wikipedia notes that "Although polynomial regression fits a nonlinear model to the data, as a statistical... | eng_Latn | 46,962 |
How to Iterate Across Fields as Inputs for a single tool (Kernel Density) in ArcGIS ModelBuilder I am trying to make Employment Distribution of map of a given area in ArcGIS. All the employment information is in this one point shapefile from Census. Different fields show different number of employment for different ind... | Iterating through columns in table using ModelBuilder? I am unable to find any info on how to use ModelBuilder to run a certain spatial analysis function on each column in a table. I have a table to sample locations and at each location there are a series of measures (e.g. temperature, flow rate, number of certain spe... | What is batch size in neural network? I'm using Python Keras package for neural network. This is the . Is batch_size equals to number of test samples? From Wikipedia we have information: However, in other cases, evaluating the sum-gradient may require expensive evaluations of the gradients from all summand funct... | eng_Latn | 46,963 |
Logistic Regression with Unbalanced Data I have a binary dataset which is 99% in one class and 1% in the other class. I MUST create a logistic regression. I have read literature that says both using this dataset as is, or over/undersampling will do a better job. Given this conflicting information, does anyone have any... | Does an unbalanced sample matter when doing logistic regression? Okay, so I think I have a decent enough sample, taking into account the 20:1 rule of thumb: a fairly large sample (N=374) for a total of 7 candidate predictor variables. My problem is the following: whatever set of predictor variables I use, the classif... | Why is uniform prior on log(x) equal to 1/x prior on x? I'm trying to understand Jeffreys prior. One application is for 'scale' variables like the standard deviation $\sigma$ (or its square, the variance $\sigma^2$) of Gaussian distributions. It is often said that using a uniform prior over $\sigma$ is not really non-i... | eng_Latn | 46,964 |
libSVM for unbalanced data I'm using libSVM for binary classification and my training data is very unbalanced (-1:90%, +1:10%). According to libSVM's documentation, it's better to set different penalties for positive and negative classes. For example, the SVM problem is: $\min\limits_{w,b,\xi} \frac{1}{2}{\bf w^Tw} +... | SVM for unbalanced data I want to attempt to use Support Vector Machines (SVMs) on my dataset. Before I attempt the problem though, I was warned that SVMs dont perform well on extremely unbalanced data. In my case, I can have as much as 95-98% 0's and 2-5% 1's. I tried to find resources which talked about using SVMs ... | How small a quantity should be added to x to avoid taking the log of zero? I have analysed my data as they are. Now I want to look at my analyses after taking the log of all variables. Many variables contain many zeros. Therefore I add a small quantity to avoid taking the log of zero. So far I've added 10^-10, withou... | eng_Latn | 46,965 |
Premise I saw an interesting example of a machine learning logistic classifier for modeling/predicting sentiment for customer reviews. One of the first things in the example was a note on probabilities. Namely, how many reviews were thought to be positive (user liked the product). It was denoted as the following math ... | I have a question regarding classification in general. Let $f$ be a classifier, which outputs a set of probabilities given some data D. Normally, one would say: well, if $P(c|D) > 0.5$, we will assign a class 1, otherwise 0 (let this be a binary classification). My question is, what if I find out, that if I classi... | Are there integral solutions to the equation $x^2+y^2-z^2=1$? | eng_Latn | 46,966 |
Using the model from , I'm training a 3-layers perceptron with log returns over a very large dataset (~55,000 points). The output's layer contains two neurons, one for each of the classes (either the returns are + or -) in which I am trying to cluster my inputs (returns for the past n days). The machine always predic... | I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This question is intentionally general so that other questions a... | The new Top-Bar does not show reputation changes from Area 51. | eng_Latn | 46,967 |
I've trained fitnet network for prediction steel's yield stress with MATLAB ann toolbox. The neural network should predict yield stress. I have about 250 vector inputs. Every input vector has 12 parameters as inputs plus one parameter as target (yield stress). ann should predict yield stress. The inputs are weight p... | I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This question is intentionally general so that other questions a... | Please use UK pre-uni methods only (at least at first). Thank you. | eng_Latn | 46,968 |
How do you treat gradient as a vector? | Creating the Nabla operator (also known as Del operator) as an operator | Gradient Boosting for Linear Regression - why does it not work? | eng_Latn | 46,969 |
Loss is stuck at 67% and wont converge even with large epoch and early stopping criterion | What should I do when my neural network doesn't learn? | Is my model any good, based on the diagnostic metric ($R^2$/ AUC/ accuracy/ RMSE etc.) value? | eng_Latn | 46,970 |
Binary Classification of Numeric Sequences with Keras and LSTMs I'm attempting to use a sequence of numbers (of fixed length) in order to predict a binary output (either 1 or 0) using Keras and a recurrent neural network. Each training example/sequence has 10 timesteps, each containing a vector of 5 numbers, and each ... | What should I do when my neural network doesn't learn? I'm training a neural network but the training loss doesn't decrease. How can I fix this? I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set. This ques... | SQL Server 2012 Page Life Expectancy resets to 0 after about 50 days I've noticed an odd behavior on a 2-server HA cluster and I was hoping someone could confirm my suspicion, or maybe offer some other explanation... Here is my setup: A 2-server SQL 2012 SP1 installation SQL AlwaysOn HA has been enabled for a few dat... | eng_Latn | 46,971 |
Is it possible to define what the last hidden layer represents in a neural net? I am trying to determine how to set up a neural net to use in a recommendation engine I am building to recommend a cheese to the user. I have a clear understanding of what the output layer represents (the probability of whether it should re... | Can't deep learning models now be said to be interpretable? Are nodes features? For statistical and machine learning models, there are multiple levels of interpretability: 1) the algorithm as a whole, 2) parts of the algorithm in general 3) parts of the algorithm on particular inputs, and these three levels split into ... | Random forest regression not predicting higher than training data I've noticed that when building random forest regression models, at least in R, the predicted value never exceeds the maximum value of the target variable seen in the training data. As an example, see the code below. I'm building a regression model to pr... | eng_Latn | 46,972 |
What does "not the least of which" mean? I think "not the least of which" means "one of the biggest" or "one of the important". Is it right? | Usage and example of the word “litotes” I've come across the word litotes, which means a rhetorical understatement. However, I’m having trouble understanding how to use it in colloquial English. Could someone please give an example? | What does the term saturating nonlinearities mean? I was reading the paper and in section 3 were they explain the architecture of their Convolutional Neural Network they explain how they preferred using: non-saturating nonlinearity $f(x) = max(0, x). $ because it was faster to train. In that paper they seem to r... | eng_Latn | 46,973 |
Help to interpret the ACF and PACF plots I just exploring the sequential analysis with ARIMA (2-month data, period = 15 minutes, lags=360) I struggle with understanding the charts I receive after applying acf and pcf operations. My suggestion: As ACF is a measure of the correlation between the timeseries with a lagg... | How to interpret these acf and pacf plots Following are acf and pacf plots of a monthly data series. The second plot is acf with ci.type='ma': The persistence of high values in acf plot probably represent a long term positive trend. The question is if this represent seasonal variation? I tried to see different site... | How to Identify Overfitting in Convolutional Neural network? I understand that dropout is used to reduce over fitting in the network. This is a generalization technique. In convolutional neural network how can I identify overfitting? One situation that I can think of is when I get training accuracy too high compared to... | eng_Latn | 46,974 |
What do I do when my deep learning model in CNN does not learn? I'm training on a skewed image dataset of 5000 images with class weights. The training loss decreases well and swift, but the validation-set loss fixates after around 6 epochs. I have tried using my custom model and also with transfer learning, with multip... | What should I do when my neural network doesn't generalize well? I'm training a neural network and the training loss decreases, but the validation loss doesn't, or it decreases much less than what I would expect, based on references or experiments with very similar architectures and data. How can I fix this? As for ... | Does the cross-entropy cost make sense in the context of regression? Does the cross-entropy cost make sense in the context of regression (as opposed to classification)? If so, could you give a toy example through TensorFlow? If not, why not? I was reading about cross-entropy in by Michael Nielsen and it seems like s... | eng_Latn | 46,975 |
What exactly is an autoencoder? As I take it autoencoders are pretty much fully-connected multi-layer-perceptrons which try to reconstruct the input. So the aim should be to learn "an encoding", a distributed representation for some data set...but I don't really get the benefit? I mean, if I have some MLP with an inpu... | Why do we need autoencoders? Recently, I have been studying autoencoders. If I understood correctly, an autoencoder is a neural network where the input layer is identical to the output layer. So, the neural network tries to predict the output using the input as golden standard. What is the usefulness of this model? Wh... | How to interpret the output of XGBoost importance? I ran a xgboost model. I don't exactly know how to interpret the output of xgb.importance. What is the meaning of Gain, Cover, and Frequency and how do we interpret them? Also, what does Split, RealCover, and RealCover% mean? I have some extra parameters Are there ... | eng_Latn | 46,976 |
How to define loss function for an unbalanced dataset? I use neural network to do classification. But instead of outputing one label, I want to ouput four independent labels such as [-1,1,1,-1]. Each of them is either 1 or -1, indicating a classification for a specific part of my input(image). However, I have about 3/4... | Is there an optimal loss function for dealing with imbalanced classes? I'm aware that there are many ways of dealing with datasets where there is a strong class imbalance in the target variable: downsampling the more prevalent and less important class, over-weighting the valuable minority class, etc. Are there any loss... | Finding domain/range of a specific shader node input/output, inside the Blender UI? Is there anywhere within the Blender UI that displays the dimensionality & bounding sets (e.g., all floats, floats in [0,1], floats in [0,255], etc) of arbitrary shader node inputs & outputs? I consistently find myself digging ... | eng_Latn | 46,977 |
Color a surface according to its slope I want to color a terrain according to how steep the slope is at each point. I've read . If I could generate a new surface that is the gradient of my terrain (such that height of the new surface corresponds to slope in the original), then I could create that height-based material ... | Slope of geometry as `fac` input for cycles material I have a terrain with two materials going into a Mix Shader, I want the fac input to be the slope of the terrain. Steep parts should be one color, flat part another. | What is batch size in neural network? I'm using Python Keras package for neural network. This is the . Is batch_size equals to number of test samples? From Wikipedia we have information: However, in other cases, evaluating the sum-gradient may require expensive evaluations of the gradients from all summand funct... | eng_Latn | 46,978 |
Classification model on a highly unbalanced dataset I’m dealing with a highly unbalanced dataset where 20% of data belongs to class A and 80% belongs to class B. It’s very hard for us to produce synthetic class A data. Just wondering if the below approach is a sensible thing to do: Total data points: 100 Class A :... | When is unbalanced data really a problem in Machine Learning? We already had multiple questions about unbalanced data when using , , , and a number of other similar questions, what makes it a very popular topic! Unfortunately, each of the questions seems to be algorithm-specific and I didn't find any general guideline... | Best way to select a subset of items in a long list One of our clients wants us to build a web application to share information about the magazines he publishes. Each edition of a magazine contains a variable amount of advertisers. These advertisers come from a central pool of advertisers. This pool contains (at the mo... | eng_Latn | 46,979 |
Why MSE of this MATLAB neural network is so high? | What should I do when my neural network doesn't learn? | Featured On Meta section doesn't list MSE posts on meta sites | eng_Latn | 46,980 |
I've read different places that talk about bias terms in neural nets like this But I still have trouble understanding what it is used for and how it affects the neural network. In a neural network, where would you place it? There can be hundreds of neurons, how do you know which one to link it to? And how many bias... | Why are bias nodes used in neural networks? How many you should use? In which layers you should use them: all hidden layers and the output layer? | Are other players able to see you on their map in Pokemon Go? I am concerned that if I use the game, stalkers and other such people would be able to find me. I have searched for an answer for this question on other forums, but have yet to find the answer. | eng_Latn | 46,981 |
keras categorical CNN prediction always output [[ 0. 0. 0. 0. 0. 0. 1. 0.]] No probability for other classes? | Keras - no prediction probability for multiple output models? | Keras - no prediction probability for multiple output models? | eng_Latn | 46,982 |
Is there a fundamental difference between artificial neural networks and "other" supervised machine learning models | What *is* an Artificial Neural Network? | Class imbalance in Supervised Machine Learning | eng_Latn | 46,983 |
In boosting, if the base learner is a linear model, does the final model is just a simple linear model? | Gradient Boosting for Linear Regression - why does it not work? | Gradient Boosting for Linear Regression - why does it not work? | eng_Latn | 46,984 |
Can anyone provide me the mathematical details to why we shouldn't initialize a neural network (single layer ANN) weights to zero? In multi-layer we don't initialize it to zero because of loss of symmetry but why can't we initialize a single layer network weights to zero ? | As far as I understand, one of the main claimed problems with initializing e.g. a feed-forward neural network (with several $\text{tanh}$ or $\text{ReLU}$ layers) with $W=0$ is that it doesn't break "network symmetry", meaning, backpropagation would propagate the same error through all such units (i.e. "nudging all wei... | As far as I understand, one of the main claimed problems with initializing e.g. a feed-forward neural network (with several $\text{tanh}$ or $\text{ReLU}$ layers) with $W=0$ is that it doesn't break "network symmetry", meaning, backpropagation would propagate the same error through all such units (i.e. "nudging all wei... | eng_Latn | 46,985 |
Adversarial Distillation of Bayesian Neural Network Posteriors | Detecting Adversarial Samples from Artifacts | St John's wort for major depression | eng_Latn | 46,986 |
What is your opinion on TensorFlow? | What are your thoughts on Tensorflow? | What is the difference between tensor and tensor product? | eng_Latn | 46,987 |
i'm implementing my first CNN for image classification in a field with very few research. I'm aware i could extract feature and then try SVM, knn... But i want to be sure CNN is not a viable solution. I have already tryied different architecture, hyperparametrisation... Result have increase from 45% to 60%. I still ... | Imagine a standard machine-learning scenario: You are confronted with a large multivariate dataset and you have a pretty blurry understanding of it. What you need to do is to make predictions about some variable based on what you have. As usual, you clean the data, look at descriptive statistics, run some mod... | I tried to log into Minecraft today to find that my password isn't working. I tried to change it, but I can't login to my email because I forgot the answer to my security question. I tried changing the email to a different one, but that didn't work for some reason (it kept saying "invalid email"). I don't have my trans... | eng_Latn | 46,988 |
As I was reading and going through the second course of Andrew Ng's deep learning course, I came across a sentence that said, With a well-turned mini-batch size, usually it outperforms either gradient descent or stochastic gradient descent (particularly when the training set is large). But how is it possible? can min... | I often read that in case of Deep Learning models the usual practice is to apply mini batches (generally a small one, 32/64) over several training epochs. I cannot really fathom the reason behind this. Unless I'm mistaken, the batch size is the number of training instances let seen by the model during a training itera... | I have a directory that contains the following: x.pdf y.zip z.mp3 a.pdf I want to delete all files apart from x.pdf and a.pdf. How do I do this from the terminal? There are no subdirectories so no need for any recursion. | eng_Latn | 46,989 |
Just followed a machine learning example and programmed a gradient decent maximizaation to read in a 64X64X3 image vector to predict whether it was a cat or not. The model had a parameter for every pixel*color so 12288 parameters were optimized. It worked, a vector of parameter estimates were obtained and predictions... | Regularization using methods such as Ridge, Lasso, ElasticNet is quite common for linear regression. I wanted to know the following: Are these methods applicable for logistic regression? If so, are there any differences in the way they need to be used for logistic regression? If these methods are not applicable, how do... | So, I know that $\max(-X_{(1)},X_{(n)})$ is a sufficient statistic for the parameter $\theta$. But can I also say that $(X_{(1)},X_{(n)})$ are jointly sufficient for the parameter $\theta$ ? In other words, can a single parameter have jointly sufficient statistics? | eng_Latn | 46,990 |
Why is it sufficient to minimize expected prediction error (EPE) pointwise? | Expected prediction error - derivation | NRPE unable to read output, but why? | eng_Latn | 46,991 |
Certainty-Driven Consistency Loss for Semi-supervised Learning | Semi-supervised Deep Learning with Memory | Approximate Statistical Tests for Comparing Supervised Classification Learning Algorithms | eng_Latn | 46,992 |
The Toronto Paper Matching System: An automated paper-reviewer assignment system | Learning Algorithms for the Classification Restricted Boltzmann Machine | Traffic Flow Prediction from Loop Counter Sensor Data using Machine Learning Methods | eng_Latn | 46,993 |
A Copula-based Joint Deficit Index for Droughts | Correlation and dependence in risk management: Properties and pitfalls | Inductive Supervised Quantum Learning. | eng_Latn | 46,994 |
Tree-Structured Variational Autoencoder | Improved Techniques for Training GANs | A Multi-criteria neutrosophic group decision making metod based TOPSIS for supplier selection | eng_Latn | 46,995 |
Overtraining Neural Networks? | What should I do when my neural network doesn't learn? | Direct proof that nilpotent matrix has zero trace | eng_Latn | 46,996 |
ANN resulted in less than 0.4 R-squared value. Is my methodology correct? | What should I do when my neural network doesn't generalize well? | Real valued analytic function defined on a connected set is constant | eng_Latn | 46,997 |
What does it mean to "interpret the sigmoid $\sigma(\theta^Tx)$ as a probability"? | Problem understanding the logistic regression link function | A fiber bundle over Euclidean space is trivial. | eng_Latn | 46,998 |
Why applying Linear Regression to a classification problem often isn't a great idea? | Why do we use GLM? | Why does adding more terms into a linear model always increase the r-squared value? | eng_Latn | 46,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.