text
stringlengths
83
79.5k
H: To remove Chinese characters as features - I have created document-term matrix using TfIdfVectorizer, but just noticed the feature contains Chinese characters. Is it possible to remove them using Python's regex? I believe these characters are one of reason for lower prediction accuracy of my model. Currently I use...
H: What to do after training a classifier? In terms of application, what happens after we train a classifier? What can we learn from it? For example, if I trained a classifier to predict the success of a Kickstarter campaign with 80% accuracy, how can I apply this information to benefit my own Kickstarter campaign? I...
H: Can this be a case of multi-class skewness? I have been working on an email data set, and trying to predict the owner team for it. But my prediction accuracy is just 58%. I have implemented data cleansing, null value removals, duplicate removal, excluding stopwords, and then calculating tf-idf value to get my final...
H: Derivation of CNN math equations in Matrix format I've gone through jefkine's website and Jae Seo's articles to get a hold of math behind the famous CNN architecture. Although I understand it in theory, I'm unable to implement in matrix format or to put it straight... In numpy format. After digging through interne...
H: SGD vs SGD in mini batches So I recently finished a mini batches algorithm for a library in building in java(artificial neural network lib). I then followed to train my network for an XOR problem in mini batches size of 2 or 3, for both I got worse accuracy to what I got from making it 1(which is basically just SGD...
H: How will Occam's Razor principle work in Machine learning The following question displayed in the image was asked during one of the exams recently. I am not sure if I have correctly understood the Occam's Razor principle or not. According to the distributions and decision boundaries given in the question and follow...
H: How to handle continuous values and a binary target? This is going to be a very beginner's question. I have a datset of continues features like LoanAmount, LoanDuration(multiclass?), ... ClientIncome, ClientFreeSources, etc. and a binary target whether a contract was sued or not. I'm not sure how to approach the pr...
H: Deriving new continuous variable out of logistic regression coefficients I have a set of independent variables X and set of values of dependent variable Y. The task at hand is binary classification, i.e. predict whether debtor will default on his debt (1) or not (0). After filtering out statistically insignificant ...
H: Evaluating the test set Please find attached a part of the code which explains what I'm trying to do. Essentially I'm trying to predict the sales of supermarket stores. Im using RandomForestRegressor for this and have predicted the results on the test set. The cross validation is done on the training set with a mea...
H: how to reshape xtrain array and what about input shape? from keras.datasets import mnist from keras.layers import Activation,Dense,Convolution2D from keras.models import save_model,load_model,Sequential from keras.callbacks import TensorBoard import matplotlib.pyplot as pl (xtrain,ytrain),(xtest,ytest)=mnist.load_...
H: Python & Pandas : (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'localhost' (timed out)") I'm writing a Python Script to store JSON data into MySQL Database. I used pandas to store into MySQL Database. I used two different modules (MySQLdb and sqlalchemy) to connect to MySQL dtaabase. Py...
H: How to Convert a Pandas Column having duration details in string format (ex:1hr 50m) into a integer column with value in minutes Lets say i have the following data like below: import pandas as pd import numpy as np df = pd.DataFrame({'Duration': ['1h 50m', '50m', '3h', '2h 30m', '5h', '60m'] ...
H: Keras exception: Error when checking input: expected dense_input to have shape (2,) but got array with shape (1,) I have an understanding of this error, it means that the input that I'm passing to the model is of a different dimension that what was expected. The error also states that the input that I'm passing is ...
H: How to set hyperparameters in SVM classification I am studying image classification using SVMs and it is generally defined as so... N = number of training examples W = is the weights f(x, W) = dot product λ is explained to be set through cross-validation however no mention is made as to how Δ is set. I understand ...
H: Why do we choose principal components based on maximum variance explained? I've seen many people choose # of principal components for PCA based on maximum variance explained. So my question is do we always have to choose principal components based on maximum variance explained? Is it applicable for all scenarios i....
H: Identify credit card shape using machine learning I have to approach this task: identify credit card from an image. I am attaching example image below: I have to identify and localize the credit card from this image. The real challenge is that the card can be placed on any background and the color of the card can ...
H: Application of Deep Reinforcement Learning I'm new to deep learning, and especially to reinforcement learning. I would like to know if it's possible to predict which combination of hashtags (from a subset of chosen hashtags) would produce the most likes for a certain image. Is it possible to have a convolutional n...
H: Text Generation I want to generate „human like“ text/posts based on a dataset of posts from a forum. The dataset contains roughly 25k words. I currently have the Markoc chain implemented, but i want to improve the text generated by using reccurent neural networks. My problem is that most of the solutions available ...
H: Apache Spark alternatives for local compute I am creating a relatively large hobby project in Scala that needs a few ml algorithms for text classification into topics. My dataset is not huge, it is < 500,000 items with dimensionality 5 (2 dimensions are free form text). From what I've started with on Spark, it is h...
H: Should I connect my two GPUs with SLI or not? (for Keras + TensorFlow) I have two GPUs, NVIDIA GTX 1070 Ti. For using Keras with TensorFlow back-end, should I connect them with SLI or not? If not, then they will be treated separately, and one model will be trained on one card. These are the two options from what I ...
H: Keras : switch backend in Notebook If a script is launched from command line, I use "KERAS_BACKEND" env var to switch between Theano and Tensoflow. What can be done to switch backend if script is running in a notebook ? AI: You can set the environment variable via python's built in os module. import os os.environ...
H: Difference between output of probabilistic and ordinary least squares regressions If I execute the commands my_reg = LinearRegression() lin.reg.fit(X,Y) I train my model. To my understanding training a model is calculating coefficient estimators. I do not really understand the difference between this and e.g. sci...
H: How should I tackle this real-life hypermarket problem? I registered myself in the payback program of the hypermarket I am going to. For every 2$ I get 1 point. I buy the same products every week (Feta 2.19\$, Milk 0.99$, ...). I visit only in weekdays. I would like to maximize the amount of points I gather, whi...
H: How does Naive Bayes classifier work for continuous variables? I know that for categorical features we just calculate the prior and likelihood probability assuming conditional independence between the features. How does it work for continuous variables? How can we calculate likelihood probability for continuous var...
H: understanding linear algebra of a forget gate This blog covers the basics of LSTMs. A forget gate is defined as : $$f_t = \sigma(W_f \cdot [h_{t-1}, x_t]+ b_f)$$ At this point the linear algebra confuses me more than it should. The syntax of $W\cdot [h,x]$ is confusing in this context. I think a vector should go in...
H: How to set limits of Y-axes in countplot? df in my program happens to be a dataframe with these columns : df.columns '''output : Index(['lat', 'lng', 'desc', 'zip', 'title', 'timeStamp', 'twp', 'addr', 'e', 'reason'], dtype='object')''' When I execute this piece of code: sns.countplot(x = df['reason'], data=df) #...
H: Grid search model isn't recognized as fitted for Graphviz I find this really weird, and the code is really straight forward. What am I doing wrong ? from sklearn.model_selection import GridSearchCV scoring_type="accuracy" preprocess_data(X,y,0) p_grid = {'min_samples_split':np.arange(2,10),'min_samples_leaf': np....
H: LDA as a dimensionality reducer I know how to use LDA as a classifier. But how to use Linear Discriminant Analysis as a dimensionality reducer to reduce the number of features and apply logistic regression on top of it. I am using R language. AI: We can do LDA via the lda function from the MASS package. The reduced...
H: Transform an Autoencoder to a Variational Autoencoder? I would like to compare the training by an Autoencoder and a variational autoencoder. I have already run the traing using AE. I would like to know if it's possible to transform this AE into a VAE and maintain the same outputs and inputs. Thank you. AI: Yes. Two...
H: What's the right way to setup an image classifier by multiple params? I'm very new to the data science and machine learning, so apologies for my ignorance. What I'm trying to understand is how to setup an image classifier system (maybe based on CNN) which will classify my image by multiple params. Most of the exam...
H: Do recommendation systems necessarily use machine learning algorithms? I am studying about evaluation of both recommendation systems and machine learning algorithms in recent times, trying to define a scope for my masters research. After some reading time I'm starting to understand several concepts, but one thing w...
H: Sequence extraction in a dataset I am looking for a way to extract sequences/patterns from a dataset such as this one: dataset = ['sample1', 'sample2', 'sample3', 'sample1', 'sample2', 'sample3', 'sample3', 'sample2'...] And my goal is to know that the sequence ['sample1', 'sample2', 'sample3'] occurs 2 times in t...
H: Using pandas get_dummies() on real world unseen data I made a ML model, trained and tested it with my data containing categorical variables. To create dummy variables I used pd.get_dummies() before the split. I now want to use my model on previously unseen data where, of course, I need to re create my dummies. Shou...
H: Proper Understanding of Condensed Nearest Neighbor I have a question regarding the Condensed Nearest Neighbors algorithm: Why am I returning Z, which if I understand correctly, is the array of all of the misclassified points? Wouldn't I want to return the points that were classified correctly? What benefit does t...
H: Is Gradient Descent central to every optimizer? I want to know whether Gradient descent is the main algorithm used in optimizers like Adam, Adagrad, RMSProp and several other optimizers. AI: No. Gradient descent is used in optimization algorithms that use the gradient as the basis of its step movement. Adam, Adagra...
H: How to transform entire pandas data frame in one hot representation? I want all the columns one hot encoded without the need of listing out the columns or apply one hot encode one by one. I know how to do it one column then another. AI: You can use:: pandas.get_dummies get_dummies will only convert string columns a...
H: How do Bayesian methods do automatic feature selection? Someone asked me this question and I do not know I answered it correctly. I answered the question in the following way: One type of Bayesian method is Bayesian inference and feature selection has to do with ${L}^{1}$ regularization because it is used extensiv...
H: How to train more models on 2 GPUs with Keras? I got 2 GPUs of type NVIDIA GTX 1070 Ti. I would like to train more models on them in such a way that half of the models are trained on one GPU only, and half on the other, at the same time. So as training goes, one model goes to GPU1, the next model goes to GPU2, ... ...
H: How to calculate mean and standard deviation of all features in a class identified by k-nearest neighbors? I have classified my data into several neighborhoods using k nearest neighbors. I need to efficiently calculate the mean and standard deviation for all features of data points belonging to a particular neighbo...
H: Doc2vec for text classification task Can I use doc2vec for classification big documents (500-2000 words, 20000 total documents, classication for three classes)? Is it a problem that the documents are large enough and contain many common words? Can I train my data together with Wikipedia articles (using unique tag f...
H: Using SMOTE for Synthetic Data generation to improve performance on unbalanced data I presently have a dataset with 21392 samples, of which, 16948 belong to the majority class (class A) and the remaining 4444 belong to the minority class (class B). I am presently using SMOTE (Synthetic Minority Over-Sampling Techni...
H: Does tensorflow pick samples from a dataset randomly or sequentially when training? I have a dataset which consists of more than 10000 images. But similar images are grouped together. I mean first 50 images are very alike then the next 50 images are different(not as much similar as the first ones. I am talking abou...
H: Do I need to encode the target variable for sklearn logistic regression I'm trying to get familiar with the sklearn library, and now I'm trying to implement logistic regression for a dataframe containing numerical and categorical values to predict a binary target variable. While reading some documentation I found t...
H: Positive semidefinite kernel matrix from Gower distance I have a dataframe with continuous and categorical variables and I want to obtain a kernel matrix for classification. The kernel matrix must be symmetric and positive semidefinite, so that no eigenvalue is negative. I started with Gower distance matrix for mix...
H: Validation vs. test vs. training accuracy. Which one should I compare for claiming overfit? I have read on the several answers here and on the Internet that cross-validation helps to indicate that if the model will generalize well or not and about overfitting. But I am confused that which two accuracies/errors amou...
H: Partial least squares (PLS) I am relatively new to Orange, trying to utilise it for linear regression, in particular partial least squares (PLS). My statistics knowledge is in the moment not good enough to know whether I could compose an equivalent by combinding PCA with ordinary linear regression, but I would anyh...
H: Looking for help calculating a probability formula How do I put this into a calculator or a excel spreadsheet formula. I have never done this math before, but I want to figure it out. AI: Ok, I am not sure if I understood it correctly. But if it is only the right-side figure equation it would be: =1/(1+EXP(3.1058)...
H: Why do I get an OOM error although my model is not that large? I am a newbie in GPU based training and deep learning models. I am running cDCGAN (Conditional DCGAN) in TensorFlow on my 2 Nvidia GTX 1080 GPUs. My data set consists of around 320,000 images with size 64*64 and 2,350 class labels. If I set my batch siz...
H: Stacked barchart, bottom parameter triggers Error: Shape mismatch: objects cannot be broadcast to a single shape I am working in python3 and I want to obtain a stacked barchart plot, showing three different variables on 5 different columns. My code works fine if I do not add the 'bottom parameter' in plt.bar (but I...
H: what is the best approach to detect small objects with similar shape? I'm working a model which detect different products in supermarket shelf. In the training data, there are a lot of objects with similar shape placed very close to or stacked to each others.(eg: milks with different brands are stacked, placed on t...
H: Can I use an array as a model feature? Problem I have data that includes multiple different text inputs as well as floats, categories, etc. Therefore I need to pass several different data types as features, including text which is an int array when tokenized. Question Say I tokenize the several text inputs; can I p...
H: Compile See5 / C50 GPL Edition See5 / C5.0 is Data Mining Tools available from rulequest I want to compile C50 for Linux, preferably for CentOS 6.x, but I am unable to compile. I have also tried on Ubuntu, but not success there as well. I have downloaded C50.tgz from C5.0 Release 2.07 GPL Edition After extracting ...
H: Can we use ReLU activation function as the output layer's non-linearity? I have trained a model with linear activation function for the last dense layer, but I have a constraint that forbids negative values for the target which is a continuous positive value. Can I use ReLU as the activation of the output layer? I ...
H: What models do Create ML and Turi Create use I'm taking a course on Apple's machine learning technologies. I just came across this paragraph: Turi Create and Create ML are task-specific, rather than model-specific. This means that you specify the type of problem you want to solve, rather than choosing the typ...
H: Can I use Linear Regression to model a nonlinear function? I have recently started studying the basics about regression, and as a beginner I started by Linear Regression. I read this article that says that for this particular type of regression the relationship between independent and dependent variables has to be...
H: Manipulating multi-indices for a pandas dataframe I have a pandas dataframe with multi-index. I have couple of questions on this. The indices are week numbers (38 to 42) and for each week, day of the week (DOW). So it looks like The problem is the 2nd level index, that is, DofWeek, is automatically sorted in lex...
H: How does back propagation works through layers like maxpooling and padding? I know back propagation takes derivatives (changing one quantity wrt other). But how this is applied when there is maxpooling layer in between two Conv2D layers? How it gains its original shape when there is padding added? AI: Max pooling w...
H: How to favour a particular class during classification using XGBoost? I am using a simple XGBoost model to classify 2 classes (0 and 1) in a binary context. In case of the original data, the 0 is the majority class and 1 the minority class. The thing which is happening is that in case of classification, most 0s are...
H: Partial derviative of prediction (sigmoid applied) with respect to weight I am very confused as to where a seemingly "extra" term is included in the above mentioned calculation in my Udacity course. The above is taking the derivative of a sigmoid so why isn't it just $$=\sigma(Wx+b)(1-\sigma(Wx+b)$$ but rather ...
H: Google Sheets: how to find max value in column B, corresponding values in column A, and max among these I have two numeric columns, A and B. I want to find the max value in column B, which will return multiple rows. Then I want to find the max value in column A from among these rows. A B 5 315 7 315 10 275 ...
H: does index of my data which is of type "Date time index" plays a part in reggression? I'm new to data science and I'm working on a regression problem. My question is the index of my data which is of type "Date time index" plays a part in regression? I mean is it Okay if i drop the index ? AI: You can take the date...
H: Calculating derivative of error at point x with respects to weight w_j I don't know how the equation below goes from line 2 to 3 after the derivative term is moved inside the brackets. Specifically, how is it calculating the derivative of log(y_hat)? Also, if anyone can point to a good textbook or website to lear...
H: One-Dimensional Convolutional Neural Network Can someone explain how 'One-Dimensional Convolutional Neural Network' works. I do understand the 2-D for image but for 1-D how is the filer created. is it fixed 1-D filter within a specific time interval or the operation is the same as we convolve a signal with a filter...
H: How to write out the definition of the value function for continous action and state space In the book of Sutton and Barto (2018) Reinforcement Learning: An Introduction. The author defines the value function as. $$v_{\pi}(\boldsymbol{s})=\mathbb{E}_{\boldsymbol{a}\,\sim\, \pi}\left[\sum_{k=0}^{\infty}\gamma^kR_{t+...
H: CNN - imbalanced classes, class weights vs data augmentation I have a dataset with a few strongly imbalanced classes, eg. the smallest class is about 54 times smaller than the largest. Therefore, data augmentation in order to equalize the size of classes seems like a bad idea to me (in the example above each image ...
H: Why a Random Reward in One-step Dynamics MDP? I am reading the 2018 book by Sutton & Barto on Reinforcement Learning and I am wondering the benefit of defining the one-step dynamics of an MDP as $$ p(s',r|s,a) = Pr(S_{t+1},R_{t+1}|S_t=s, A_t=a) $$ where $S_t$ is the state and $A_t$ the action at time $t$. $R_t$ i...
H: How could I go about finding the weights or importance of inputs based on outputs? I have a table who's inputs (sfm, fr, and doc) all affect the outputs (mmr and ra). How could I go about finding the input importance on the outputs? Basically, I'd like to be able to have a goal output in mmr and ra and have a good ...
H: matplotlib subplots_adjust - meaning of parameters What are the meaning of values in subplots_adjust ? left = 0.125 # the left side of the subplots of the figure The documentation has number 0.125, etc but there is no explanation. AI: These values represent the distance of your subplot from the boundary of the ...
H: What are features for state-action pairs in RL? I read this answer: What are features in the context of reinforcement learning? But it only describes features for the state only in the context of cartpole, ie. Cart Position, Cart Velocity, Pole Angle, Pole Velocity At Tip On slide 18 here: http://www.cs.cmu.edu...
H: What is the difference between ImageNet and ImageNet1k? How to download it? Some papers mention just ImageNet and some papers mention ImageNet 1k database? What is the difference between these 2? Are they same or is the latter one subset of the former one? I'm working on Generative Adversarial Nets. I wanted to tra...
H: Unnormalized Log Probability - RNN I am going through the deep learning book by Goodfellow. In the RNN section I am stuck with the following: RNN is defined like following: And the equations are : Now the $O^{(t)}$ above is considered as unnormalized log probability. But if this is true, then the value of $O^{(t...
H: Understanding minimizing cost correctly I cannot wrap my head around this simple concept. Suppose we have a linear regression, and there is a single parameter theta to be optimized (for simplicity purposes): $h(x) = \theta \cdot x$ The error cost function could be defined as $J(\theta) = \frac1m \cdot \sum (h(x) - ...
H: Why Gaussian latent variable (noise) for GAN? When I was reading about GAN, the thing I don't understand is why people often choose the input to a GAN (z) to be samples from a Gaussian? - and then are there also potential problems associated with this? AI: Why people often choose the input to a GAN (z) to be samp...
H: Books on time series and sequence classification Though I have been using traditional machine learning algorithms (Regression and Classification) , I have no experience of using Time series and would like to understand what is time series and different approaches(ex:ARIMA,SARIMA,SARIMAX, LSTM etc) used for time ser...
H: tensorflow: is there a way to specify XLA_GPU with tensorflow? following code is used to specify device on which tf node is running on with tf.device('/gpu:0'): a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a') i have already known: this post, tensorflow doc and xla demo what i want to know...
H: Is there any augmentation tool for images and bounding boxes? I don't have a lot of training data and I'm looking for some tools in python or executable program like labelimg that do some heavy augmentation on images, even better if they also change bounding boxes coordinate accordingly. Any help will be appreciate...
H: Feasibility study of machine learning How to know whether machine learning is possible for a given data set. I have been given a data set, I should check whether machine learning is possible or not for that data set. How can I do that. How do you come to conclusion that machine learning can be performed for the giv...
H: What are the cases in which Isomap fails to do a good job? As above, what is a possible scenario/ dataset/ case in which Isomap fails to do a decent dimensionality reduction? AI: Here is the visualization of COIL-20 data set in t-SNE paper: The data-set consists of images of 20 objects (clusters). In all cases pro...
H: neural network to find a very simple linear model (scikit-learn) I'm trying to test different machine learning algorithm to try to find correlation between various data on MRI scans. Since I'm dealing with medical data, I don't have access to many events, but still I'm trying to see what a simple fully connected NN...
H: What kind of data visualization should I use? I'm going to program a customized phone keyboard where some letters are larger than others, depending on how often I misstype them. For example, if I often pressed "w" instead of "e", I'd make the "e" button take up some of the space of the "w" button: (screenshot from...
H: Train, test and submission files - what am I supposed to do with all of them? this might be very beginner's question. I'm working on Kaggle's HomeCredit Default Risk problem which has among others dataset train, test and submission files as can be seen in the link provided. The test dataset does not contain TARGET ...
H: How to reach continue training in xgboost I read the paper but found nothing talking about how to implement incremental learning. Can someone share some basic or deep knowledge? not in coding way. I know how to write code snippet to train incrementally. When new data comes in, how to train incrementally if I use XG...
H: Logitic Regression cost function - what if ln(0)? I am building logistic regression from scrap. The simplified cost function I am using is (from machine learning course on coursera): in specific case during learning, one observation in training set y is 0 - but the specific choice of betas in: makes g(z) = h(x) ...
H: How to install XGBoost or LightGBM on Windows? I'm a Windows user and would like to use those mentioned algorithms in the title with my Jupyter notebook which is a part of Anaconda installation. I've tried in anaconda promt window: pip install xgboost which retuned: Could not find a version that satisfies the req...
H: Is it wrong if I cluster numerical attributes and categorical attributes separately? I have a dataset of credit customers containing mixed data types (numerical and categorical with several levels). I am trying to perform segmentation so that I can end up with k groups and then build definitions (based on attribute...
H: Can a Neural Network Measure the Random Error in a Linear Series? I have been trying to develop a neural network to measure the error in a linear series. What I would like the model to do is infer a linear regression line and then measure the mean absolute error around that line. I have tried a number of neural net...
H: How important is the input data for a ML model? Last 4-6 weeks, I have been learning and working for the first time on ML. Reading blogs, articles, documentations, etc. and practising. Have asked lot of questions here on Stack Overflow as well. While I have got some amount of hands-on experience, but still got a v...
H: In calculating policy gradients, wouldn't longer trajectories have more weight according to the policy gradient formula? In Sergey Levine's lecture on policy gradients (berkeley deep rl course), he show that policy gradient can be evaluated according to the formula In this formula, wouldn't longer trajectories get...
H: Using the Stanford Named Entity Tagger in R I am experimenting with the Stanford Named Entity Tagger here http://nlp.stanford.edu:8080/ner/process and I feel it would be useful in my research. Does anyone know of a example that I could follow so that I could do the analysis in R? Ideally I'd want to provide a stri...
H: Manual feature engineering based on the output So, I'm working on a ML model that would have as potential predictors : age , a code for his city , his social status ( married / single and so on ) , number of his children and the output signed which is binary ( 0 or 1 ). Thats the initial dataset I have. My predicti...
H: Clustering based on distance between points I am trying to cluster geographical locations in such a way that all the locations inside each cluster are at max within 25 miles of each other. For this, I am using Agglomerative clustering. I am using a custom distance function to calculate the distances between each lo...
H: How to visualise GIST features of an image I am currently working on a image classification application using deep learning algorithms (either by using GIST features or CNN). I need help in understanding the below queries. I have extracted the GIST features of an image (Reference Link). These extracted features wi...
H: Meaning of this notion in 0-1 loss? I am reading a paper and encountered this notion: $$1_{\{Y=1\}}$$ To me it seems to be the expression as below, but I am not entirely sure and I don't think the author explictly explained it: if Y==1: return 1 else: return 0 Can someone help me to clarify this notion? Much ...
H: How to Build Mobile Application for Image Recognition? I want to write an application on (Android) phone for image recognition. The (Keras) model itself is written and trained on a desktop machine and works satisfactorily with standard images. However, I have no experience with app programing so I have no clue how ...
H: Newton method and Vanishing Gradient I read the article on Vanishing Gradient problem, which states that the problem can be rectified by using ReLu based activation function. Now I am not able to understand that if using ReLu based activation function solves the problem, then why there are so many research papers s...
H: Can you apply PCA to part of your dataset? I am working with kaggle dataset that has over 130 features composed of 116 categorical and 14 continuous features. I plotted the heatmap for the 14 continuous variables and found that most of them are weakly correlated with the response variable but highly correlated with...
H: How to get probability of classification I have the binary classification, I tried several models KNN, SVM, decision tree, and random forest. I have 50 000 samples, X_train has 50 000 rows and 2300 columns. Everything works well, but I want to build some semi-supervised model because I have some unlabeled samples. ...
H: Why does my minimal CNN example show strongly fluctuating validation loss? I'm fairly new at working with neural networks and think I am making some basic mistake. I am trying to assign simulated images to 5 classes to test, what (if any) networks are helpful for a large data problem we have in our group. I am trai...
H: What's the difference between feature importance from Random Forest and Pearson correlation coefficient I have following business domain. I have a product with three outputs/labels. The outputs are impacted by 1000 procedures, each procedure is digitized and measured. The customer wants to know what is the most inf...
H: What activation function should I use for a specific regression problem? Which is better for regression problems create a neural net with tanh/sigmoid and exp(like) activations or ReLU and linear? Standard is to use ReLU but it's brute force solution that requires certain net size and I would like to avoid creating...