text stringlengths 83 79.5k |
|---|
H: When to use GloVe vocabulary vs. building a vocabulary from the training data?
While studying some (pytorch) examples that use pretrained GloVe vectors I came across two variants:
Use the vocabulary of the GloVe vectors and thus initialize the embedding layer with the pretrained GloVe vectors.
Build a vocabulary f... |
H: Why do I get an ValueError for an SVR model with RFE, but only when using pipeline?
I am running five different regression models to find the best predicting model for one variable. I am using a Leave-One-Out approach and using RFE to find the best predicting features.
Four of the five models are running fine, but ... |
H: How can I measure time and memory complexity for a deep learning model?
How can I measure or find the time complexity and memory complexity for a model like VGG16 or Resnet50? Also, will it be different from one machine to another like using GTX GPU or RTX GPU?
AI: Talking of Deep Learning specifically, you will se... |
H: AUC-PR but there is no recall or precision
Is it possible to have a Precision-Recall curve like this if your recall is zero and your precision is not defined? How do I interpret this?
I have checked that all the scores are right and I still don't understand the appearance of the curve.
AI: The recall is 1 when the... |
H: Date and Time to only date
I have the following date format
2018-02-06T16:50:36Z
I am trying to change it to only date format in R using the following however it is not working:
date_1 <- data %>% mutate(date_time_submitted = as.Date(date_time_submitted, format = "%Y-%m-%d:%H:%M:%S:%Z"))
Any ideas?
Thanks
AI: You... |
H: Applying standardization using ImageDataGenerator
I have a multiclass image dataset ( 8 classes) that is divided as follows, the main folder is called training and I have 8 subfolders with each subfolder for one class. I know how to perform data standardization using ImageDataGenerator :
train_datagen = ImageDataGe... |
H: Reasons for a model predicting probability of being class 1 at x value
All,
This is a general question. I have a binary classification which predicts if someone is rich or not. I had a question from someone asking that if the probability someone is rich is 0.6 and another person is also given this probability are t... |
H: Training a Fuzzy Distance for Clustering later
I have a set of strings $ s_i \in S $ and associated labels $ y_i $, where $ y_i $ could possibly be null.
There are many labels, but the cardinality is much smaller than the strings.
$$
1 << |\{ y_i \}| << |\{ s_i \}|
$$
Given 2 strings $ (s_i, s_j) $, I want to train... |
H: Dataset and why use evaluate()?
I am starting in Machine Learning, and I have doubts about some concepts. I've read we need to split our dataset into training, validation and test sets. I'll ask four questions related to them.
1 - Training set: It is used in .fit() for our model to learn parameteres such as weights... |
H: Anomaly Detection Techniques
Often the hardest part of solving an Anomaly Detection problem can be finding the right technique for the job.
Different Anomaly techniques are better suited for different types of data and different problems.
Are there any flowchart/tree diagrams that are designed to give users a bit o... |
H: Using precision as a metric - how to gauge if more TP's
So precision is calculated as tp/(tp+fp)
But this doesn't seem to be a good way to assess a model as both of the below would give a result of 1?
Binary Classification
[0,0,0,0,0,0,0,0,1] or [0,1,1,0,1,1,1,0,1]
Am I missing something here? Or is there a b... |
H: Help starting ML project in pythin(novice)
I am starting a machine learning project (for fun!), but I am not sure where to start from... I am fairly new to ML so any hints are appreciated.
I have a relatively large data-set where each input is a list of roughly 300 integers (mainly zeros). The output is a list of 2... |
H: Is it normal for exhaustive feature selector to run for three days?
I'm trying to optimize my features in a dataset to get a better predictive model. I used Exhaustive feature selector from mlxtend. This checks all possible combinations of features. I have a dataset with 80+ features, and I set the maximum of featu... |
H: How to determine if my data split is appropriate for my data size?
I currently have a model that has a pretty large dataset (50ishMB) and was performing pretty well with a 80:20 split. However, when I tried changing it up to a 50:50 split, the model performed 28% better than the 80:20 split. Note this is a time-ser... |
H: Not in index Error
xtrain is a numpy array
from sklearn.linear_model import LogisticRegression
outer_kfold = KFold(n_splits=5, random_state=27, shuffle=True)
final_scores = list()
for train, test in outer_kfold.split(xtrain):
x_train, x_test = xtrain[train], xtrain[test]
y_train, y_test = ytrain[train], yt... |
H: Select one best model according to accuracy, precision, recall, f1 score and roc score
I have two classifiers that classify the same dataset with these results:
Model | Accuracy| Precision| Recall | F1 Score| ROC Score
--------------| --------| ---------|--------|---------|---------
Random Forest| 90% ... |
H: Some questions about supervised learning, model evaluation and preprocessing
I've been trying to employ some basic techniques of supervised learning on a dataset that I have and I have several questions about the overall procedure (i.e. data preprocessing, model evaluation etc).
Before I start posing the questions ... |
H: What is the best way to limit number of features in TF-IDF?
I am using the tf-idf to build representations. It is large dataset and it quickly becomes too much for my RAM if I convert the matrix to a Data-Frame.
What is the best way to reduce the number of features/columns and retain the highest possible level of i... |
H: Activation and Loss Function not chosen correctly when use Neural Network
I have three classes for my text dataset before.
These are my classes:
0 = Cat
1 = Not Both
2 = Dog
Then I use this code:
df_result = df[df["class"] != 1]
So, now my classes are 0 and 2.
When I use neural networks, what can I choose for t... |
H: Error with decision tree prediction
I write this script in R about decision tree.
library(class)
library(ggplot2)
library(gmodels)
library(scales)
library(caret)
library(tidyverse)
db_data <- iris
row_train <- sample(nrow(iris), nrow(iris)*0.8)
db_train <- iris[row_train,]
db_test <- iris[-row_train,]
unique(db_... |
H: SMOTE for multi-class balance changes the shape of my dataset
So I have a dataset of shape (430,17), that consists of 13 classes (imbalanced) and 17 features.
The end goal is to create a NN which btw works when I import the imblanced dataset, however when i try to over-sample the minority classes using SMOTE in jup... |
H: Not sure how I can get class labels from Neural Network predictions. Would this be an acceptable alternative to the old method
I am currently working with a dataset that has over 300 variables and a target variable with 10 different classes. My goal is to use said variables and produce a prediction for the target v... |
H: Smoothing target variable
I am training a regression model (using quantile regression forest) to forecast crop yield deviations from trend (residuals) using weather variables with different lag times. Trying to improve the accuracy and confidence of my results, I recently tested replacing the target variable with a... |
H: Is binary classification the right choice in this case?
I am somewhat new to text classification and I have some questions if you folks can help:
I have some text I need to be able to classify as belonging to a single class or not (usually 1-10 sentences long each). For the examples of the class, I have around 500... |
H: I want to do sub groups in pandas data frame
I have a dataframe as below I want to do first group by trip_number and then subgroup by mode.
trip_number mode Km time
1 0 10 2021-10-01 01:44:50+00:00
1 0 10 2021-10-01 01:44:51+00:00
... |
H: How important is real analysis/measure theory to this field?
I am a college student, struggling to decide whether or not to take pure maths electives on topics such as real analysis and measure theory. If I were to take them then I would definitely have to invest a lot of time into them in order to understand them ... |
H: Has bloom filters a higher probability of collide when strings are similar
Because if it is the case, this really suits my need.
I'm trying to discover popular searches on a website. For this, I'm using TopK algorithm which is based on Bloom Filter hashing.
I don't want "Hello world" and "hello world" to be count t... |
H: Why is my training loss not changing?
I'm trying to train a semantic segmentation model based on this architecture, using this one as a base.
The base model uses about 10 ReLU activations, and when implemented according to the first paper, the number jumps up to 14.
The input images are of dimensions 216 x 64, and ... |
H: What is the problem that causes overfitting in the code?
**
from sklearn.datasets import make_classification
from sklearn.model_selection import train_test_split
from keras import models
from keras.layers import Dense
from keras.regularizers import l1
from keras.layers import Activation
from keras.layers import Dro... |
H: Factor Analysis vs PCA
Could someone please explain when FA is used or when PCA is used, as I understood FA do dimensionality reduction, however PCA - the main goal is the same. Then which one should I use and in which cases?
AI: Principal component analysis (PCA) is a technique for reducing the dimensionality of s... |
H: How to give feedback if it's uncertain whether or not a choice was correct?
Suppose you have a machine learning system, which aims to predict whether or not the recipient of a parcel will be at home, before delivery is attempted. For example, Alice is working from home, so the likelihood of her being at home at the... |
H: Finding global optimum of unknown and expensive function
I would like to find optimal combination of parameters for the algorithm affecting the disk space used by some storage. Therefore, several algorithm parameters (x1, x2, x3, where 0 < x1 < 1, 10 < x2 < 100, 0.1 < x3 < 0.5) are used as an input for the model, a... |
H: Correlating & Combining categorical and numerical features for classification problem
I just started with my first Machine Learning project (Jupyter Notebook, Python, Scikit-learn, pandas) and I am working on a Palmer Penguin Dataset. I have been doing some data analysis and I got stuck when trying to correlate and... |
H: Which Keras metric for multiclass classification
I have a multiclass classification data where the target has 11 classes. I am trying to build a Neural Net using Keras. I am using softmax as activation function and categorical_crossentropy as the loss function. I have one hot encoded the target before passing it in... |
H: How to evaluate triple extraction in NLP?
I am current NLP work, I am extracting triples using triple extraction function in Stanford NLP and Spacy libraries. I am looking for a good method to evaluate how good the extraction has been? Any suggestions
AI: The standard evaluation method works for this kind of task: ... |
H: Get Hidden Layers in PyTorch TransformerEncoder
I am trying to access the hidden layers when using TransformerEncoder and TransformerEncoderLayer. I could not find anything like that in the source code for these classes.
I am not using hugging face but I know one can get hidden_states and last_hidden_state. I am lo... |
H: How to find median/average values between data frames with slightly different columns?
I am trying to combat run-to-run variance of the data I collect by combining the data from different runs and finding the mean/average. The problem is that in each run there is a chance that some of the features may not appear:
... |
H: Why tfidf of one document is not zero?
I'm new to nlp. Recently I wanted to do little nlp tasks, and faced strange thing.
That is I have run the following code
from sklearn.feature_extraction.text import TfidfVectorizer
docs = ["strange event"]
tfIdf_vectorizer = TfidfVectorizer(analyzer='word', tokenizer=word_tok... |
H: How Can I Process SageMaker Ground Truth NER JSON Output into DataFrame?
So, I've recently created a job using AWS SageMaker Ground Truth for NER purposes, and have received an output in the form a manifest file. I'm now trying to process the manifest file into a dataframe, and I'm failing greatly.
The JSON file is... |
H: Suggestions on how to visualization this data
I was hoping to pick people's brain on better way visualize data that appears like this:
Two categorical variables
One continuous variable
I'm trying to visualize this data in way that is more appropriate than heat map. Does anyone have any suggestions?
Here's the cod... |
H: What kind of model is this?
Can anyone help me identify what kind of Architecture is behind this Application? Is it a "simple" Classification Network? If so how are the heatmaps generated?
https://www.youtube.com/watch?v=c_giaOUzB_8
Thanks
AI: This technique is called saliency maps [1][2].
From the documentation of... |
H: File format where column names are repeated on each row
I have received a dataset in text file with the following format
col1=datac1r1,col2=datac2r1,col3=datac3r1
col1=datac1r2,col2=datac2r2,col3=datac3r2
col1=datac1r3,col2=datac2r3,col3=datac3r3
col1=datac1r4,col2=datac2r4,col3=datac3r4
Each row is a unique entry... |
H: Getting stock data in a discipline manner from Yahoo finance
I used the below code for downloading stock data from yahoo finance:-
import yfinance as yf
import datetime
stocks = ["AXISBANK.NS", "HDFCBANK.NS", "ICICIBANK.NS" ,"INDUSINDBK.NS",
"KOTAKBANK.NS",
"SBIN.NS",
"YESBANK.NS"]
start = date... |
H: Repeated training and testing in Weka?
I am using one file for training (e.g train.arff) and another for testing (e.g test.atff) with the 70-30 ratio in Weka. I want to ask how can I use the repeated training/testing in Weka when I have separate train and test data files and the second part of the question is what ... |
H: speed up the fit of model
What are the ways to speed up the fit of the model on large files (more than 200 mb)? I tried to divide into pieces (chunks) or use dask but the effect is unsatisfactory. I use 16GB RAM and i7 2.2GHz processor 4 core. It remains to buy a cloud service or use a better computer?
My clasiffie... |
H: Pytorch doing a cross entropy loss when the predictions already have probabilities
So, normally categorical cross-entropy could be applied using a cross-entropy loss function in PyTorch or by combing a logsoftmax with the negative log likelyhood function such as follows:
m = nn.LogSoftmax(dim=1)
loss = nn.NLLLoss(... |
H: What does this symbol means, what operator is it?
I am confused about the $E_{x\sim P_{data}(x)}$, what does $E$ means here. I cannot find an appropriate answer on the internet, and hence I am trying data science stack exchange. Please help.
AI: $\mathbb{E}$ means expected value.
The subscript is there to clarify ... |
H: Feature selection method explanation
In the context of feature relevance, I am trying to understand the meaning of the correlation method for feature selection. Can somebody please explain if the following results of the correlation coefficients arise, then should I take that feature? The rule is to select the feat... |
H: Getting a ValueError from train_test_split
I'm working on this dataset. I'm trying to select features using Random Forest. This is the relevant code:
x_train, y_train, x_test, y_test = train_test_split(train, test_size = 0.3)
sel = SelectFromModel(RandomForestClassifier(n_estimators=100))
sel.fit(x_train, y_trai... |
H: In the context of Deep Learning, what is training warmup steps
I found the term "training warmup steps" in some of the papers. What exactly does this term mean? Has it got anything to do with "learning rate"? If so, how does it affect it?
AI: This usually means that you use a very low learning rate for a set number... |
H: Data driven project for a self-catering accommodation business
I want to apologise in advance for my ignorance but I'm hitting my head in a wall here as I'm not sure how to proceed with my project and I've got no experience in that field even though I'm doing a masters in Data Science (don't slag me too much pls)
... |
H: How does Decision Tree with Gini Impurity Calculate Root Node?
I couldn't figure out how it selected the root node with with <=7.5 and it's gini impurity is 0.45 but I tried to manually calculate it but the weighted gini impurity I got for it was 0.27.
Can anyone explain me how the calculation is done here just fo... |
H: Why could my DDQN get significantly worse after beating the game repeatedly?
I've been trying to train a DDQN to play OpenAI Gym's CartPole-v1, but found that although it starts off well and starts getting full score (500) repeatedly (at around 600 episodes in the pic below), it then seems to go off the rails and d... |
H: Algorithm or function or model that encourages clustered classfication?
I have a soft classfication problem, i.e., the correct label for a certain instance is not just one class with 100% probability, but rather bunch of classes with probabilities that sum up to one.
What I know as apriori information (I know it be... |
H: Depending samples in ad ranking and click rate prediction
I am struggling with the following problem:
Suppose we fit a machine learning model to model advertisers click rates. I used a Logistic Regression approach using a one-hot/dummy encoding.
We have two advertisers A and B with a click rate of 10% and 9% respe... |
H: One hot encoding with too many features (~ 10,000)
I am building a model to predict time off and sick leave for a specific employee.
Each of the employees has one row per day from 01/01/2013 to 31/12/2018 in the dataset flagged with 0 or 1 (if that day was taken as a time off or sick day). I am using information li... |
H: DQN - target values vs action values?
I'm trying to understand the difference between target-values and action-values in Deep Q Networks.
From what I understand, action-value tries to approximate the reward of a given action (at some state). The target-value is also an approximate of the reward. How are they differ... |
H: Is it okay to use training data for validifying the trained model?
Currently, I have trained my model through 5-fold cross validation with very small amount of the sample (n=100).
I used whole data set to train and got quite low performance in terms of accuracy, which is bit higher than 70%.
However, if I put my da... |
H: Using strong predictor in Model training?
I am trying to build a Disease predictor based on symptoms. I am using data scraped from Symcat website. After sampling the data we have symptoms to disease mapped for training purpose.Data looks like these: X --> S1,S2,S4... Y --> D1,D2,D5. The problem is some symptoms are... |
H: What is the difference between multiply and dot functions that is used to merge layer in Keras?
I want to merge two CNN deep learning model using Keras and would like to know what is the difference multiply and dot functions that is used to merge layer?
keras.layers.multiply(inputs)
keras.layers.dot(inputs, axes,... |
H: what do we actually study in machine learning?
I just started learning machine learning and learned a few basic algorithms and there is one stupid doubt in my mind and I am unable to find the answer of it. What do we actually study in machine learning algorithms that solves kinds of problems based on the data given... |
H: Understanding LSTM Training and Validation Graph and their metrics (LSTM Keras)
I have trained a RNN/LSTM model. I would like to interpret my model results, after plotting the graph for Loss and accuracy (b/w training and Validation data set).
My objective is to classify the labels (either 0 or 1) if i provide only... |
H: Clustering with geolocation (lat/long pairs) attributes
I am trying to cluster customer behavior based on where they shop given by lat/long pairs. I also have other numeric attributes such as volume, average amount spent, etc. I am considering using HDBSCAN to create clusters. However, I'm not sure whether to feed ... |
H: How to merge two CNN deep learning model using weighted sum and weighted product in Keras?
I am using Keras to create a deep learning model and I want to merge two CNNs by using weighted sum or weighted product.
How can I merge two CNNs using weighted sum and weighted product?
AI: I think the most elegant way is t... |
H: Machine Learning: Balanced training set but highly unbalanced prediction set? How to adjust?
I am trying to train a model to detect gender in a dataset of CEO speeches. Here are the datasets that I have:
Final Dataset: 20K CEO voices analyzed (around 95% male)
Testing dataset (?): 1K CEO voices analyzed from the ... |
H: What is the use of @ between two matrices
I was looking into a repo, where I came across this snippet of code:
priors = x[None, :, :, None, :] @ self.route_weights[:, None, :, :, :]
It basically tried to incorporate weights of an input image matrix.
I am really not sure what is the use of @ out here and what are th... |
H: Which method of NLP is this?
I have been searching for 2 weeks and I got no where so far.
There is a list of diseases
Diabetes
Heart Transplant
Fingertip amputation
Injury by sharp tools
.
.
.
and My dataset is a list of medical text reports.
the training dataset has diseases that can be generated from each reco... |
H: Why does discriminiator accuracy falls to 0%, and is there a fix around this?
I am training a Vanilla-GAN(or original GAN 2016) on a pokemon dataset https://www.kaggle.com/kvpratama/pokemon-images-dataset, for few epochs the discriminator has 100% accuracy over the real examples, but as the epochs pass it falls to ... |
H: What it means for a neural network to memorize data
I've seen at many places that sometimes neural networks simply memorizes training data. What that means actually ?
Neural network consists of bunch of weights which gets trained and outputs based on input data. It'll output different thing for different input. Whe... |
H: Do we need to tune same model differently for different window sizes in time series data classification?
I am currently working on the time series data classification problem using deep learning. As we all know that in time series, we process the time-series data sequentially for some time steps at a time through t... |
H: In the context of natural language processing, can anyone give a concrete example of True Positive, True Negative, False Positive, False Negative?
Google post gives a interesting explanation about True Positive, True Negative, False Positive, False Negative
True Positive (TP): Reality: A wolf threatened. Shepherd ... |
H: How does class_weight work in Decision Tree
The scikit-learn implementation of DecisionTreeClassifier has a parameter as class_weight.
As per documentation:
Weights associated with classes in the form {class_label: weight}. If not given, all classes are supposed to have weight one.
and
The “balanced” mode uses t... |
H: What is sample and feature
I'm reading Scikit-learn and I can't understand sample and feature. (n_samples, n_features)
Can anybody describe those by example?
AI: [x[1,2,3,4], x2[1,2,2,3], x[2,3,2,1]]
The data above has 4 features. We can gives those features labels with a header. We'll just call them feature 1, f... |
H: Uneven dataset, how I should train the model if I can't load all pictures at once
I have a dataset of multiple classes (About 50). The dataset doesn't have the same number of pictures per class, some have 300, some have 1000, and some more, and I've seen that this ruined my accuracy on my model
First of all, the da... |
H: Do RL agents learn the optimal "degree" of an action to take?
I have a game environment I want to train an RL model on. This environment has 2 fundamental actions that the agent can take; "Left" or "Right" (say, 0 or 1).
However, the actions "Left" or "Right" can be taken in a discrete number of "degrees". For exam... |
H: Why do trained RL agents still display stochastic "exploratory" behavior on testing data?
I am training a PPO2 RL model using stable baselines. One thing I found is that a trained agent will still display some stochastic behavior on test data, as shown by the predict method of PPO2; the deterministic flag should be... |
H: Statistical comparison of model performance when training and validation data is always the same
I have a labelled dataset of text in 4 languages (1000 samples per languages makes a total of 4000 samples). In one experiment I would like to assess the performance of a classification algorithm (neural network) on an ... |
H: Mapping one embedding to another using Deep Learning
I am trying to write a model that has the input vector of one embedding (say $E_1$) and predicts the corresponding vector in the second embedding $E_2$. Both are n-dimensional real dense vectors $\mathbb{R}^n$.
Concretely one is a skipgram word embedding, and the... |
H: What is the right way to keep track of the different things we try?
In Machine Learning we usually try many combinations of different features, filters we apply to the data, transformations on the features or the target variables and different versions of hyperparameters.
This fact makes it difficult to keep track ... |
H: Does a larger action space take longer to train an RL agent?
I am playing around with the openai gym to try and better understand reinforcement learning. One agent parameter you can modify is the action space i.e. the specific actions an agent can take in an environment at each state e.g. "Left", "Right", "Up" or "... |
H: How to read specific column with specific row in x_test using python
I have a dataset with four input. here I am trying to predict X1 input in next time period using lstm model.
Here I put x_train 80% and x_test 20% .
In x_test first input some of rows are with 0 values.
What I want is I want to read that 0 value ... |
H: My NN has less than 1% accuracy rate, what's wrong with my model/dataset?
Data info
X_train.shape
(20160, 44)
y_train.shape
(20160,)
#first row of the dataset
X_train.values[0]
array([93., 87., 85., 79., 78., 74., 64., 60., 60., 56., 51., 41., 37.,
36., 0., 36., 0., 31., 0., 0., 32., 0., 0., 31., 0... |
H: Interpretability of RMSE and R squared scores on cross validation
I'm working on a regression problem with 30k rows in my dataset, decided to use XGBoost mainly to avoid processing data for a quick primitive model. And i noticed upon doing cross-validation that there's a noticeable difference between R² for train a... |
H: Keras: Misunderstanding the Conv2D's param "filters"?
From https://keras.io/layers/convolutional/ (Conv2D):
keras.layers.Conv2D(filters, kernel_size, strides=(1, 1), padding='valid',
data_format=None, dilation_rate=(1, 1), activation=None,
use_bias=True, kernel_initializer='g... |
H: An exhaustive, representative test database in phrase search algorithm
For a phrase searching algorithm, imagine the goal is to search for a name phrase and return matched results based on a pre-defined threshold. For example, searching for "Jon Smith" could return "Jon Smith", "Jonathan Smith", "Jonathan David Smi... |
H: How to make this intersection chart?
I want to prepare the following chart. Say, I have three datasets of different lengths, for example:
A = [c,d,e,g,h,o,m,n,o,x,y,z]
B = [d,e,f,g,h,i,j,k,l]
C = [a,b,c,d,e]
Any dataset might contain items already there in other 2 datasets. Now I want to show the size of each data... |
H: How does R-CNN and AlexNet compare?
I know AlexNet does object classification in images [categories] and R-CNN does object localization [category and bounding box].
How does R-CNN and AlexNet compare?
Are they used for the same purpose or R-CNN does more? Does R-CNN use Alexnet as a sub-module?
AI: I think you got ... |
H: Why is it necessary to overfit a yolov2 on a subset of images before model training?
I am using yolov2 for passport details detection with 8 classes? My object detectiion bounding boxes has errors though recognition being fine.
I want to know if object_detection by overfitting with a sample subset of training data,... |
H: Training vs test data set for supervised learning in real life scenario
In the tutorials, I have noticed only similar data has been used with models training and prediction.
I was wondering how cases where you can't find training data that is similar to your final use case(test data)?
What happens if I am buildin... |
H: Poor performance of regression model for imbalanced data
I am trying to train a neural network model to solve a regression problem. The specificity of my dataset is that it has something like an exponential distribution of target values (imbalanced). Therefor, the model seems to output just values less than 2 (if t... |
H: Keras: Misunderstanding what Keras does when invoking a Model, providing an Input?
In a class named Generator, I have defined a model with the below method define_model:
def define_model(self):
conv2d = Generator.__last_block()
output = Activation('tanh')(conv2d)
model = Model(self.input_layer, output)
... |
H: User Location Prediction
I am trying to predict the user location for a mobile app for a certain timestamp. So far I've gathered training data throughout different days. The data contains the latitude, longitude and the timestamp.
What would be the best algorithm/best way in order to train a model that takes a tim... |
H: What are named entity advantages over strings?
I am unclear about the practical benefit of named entity recognition. Specifically, I don't get how this entity is any better than a string representation of the same object. Let's take the popular example of movies. I can create a model where each row is a movie. Any ... |
H: Why Generator error increases after some epoch
I'm training Realtivistic GAN on dog images. I don't understand why my generator loss increased after 100 epoch.
This is the generator loss graph.
AI: In your question, it's pretty hard to answer specifically what is going on as you don't share any details of what you'... |
H: Difference between from nltk import word_tokenize and from nltk.tokenize import word_tokenize?
What is the difference between the word_tokenize, one imported directly from nltk and the other being imported from tokenize package of nltk?
AI: So basically
from nltk import word_tokenize
and
from nltk.tokenize import w... |
H: Comparing models using P-value
I have 2 different ML architectures for a translation task, I evaluate them using BLEU score (higher is better)
I've run them 9 times each, yielding the following scores
Architecture 1 | 36.52 |
36.27 |
35.9 |
35.22 |
37.13 |
35.53 |
35.3 |
34.14 |
35
Architecture 2 | 36.85 |
35.64 |... |
H: How to optimize hyperparameters in stacked model?
I was wondering whether somebody could explain how to optimize hyperparameters for the base learners and meta algorithm when stacking? In many tutorials they seem to be plucked out of thin air!
Thanks,
Jack
AI: I believe the most common way involves some slight data... |
H: Intuition behind the entropy definition
The definition of information entropy is defined below:
This looks fine but I got no intuition why it is defined this way. Could any one share their ideas on this? Thanks!
AI: Pls. refer Pattern recognition and Machine Learning for details - section 1.6: Information Theory.
... |
H: Do CNN convolution and pooling layers get backpropogated?
I can't find a simple answer to this by Googling which leads me to think the answer is no, but I want to be sure...
In a feed forward network, all of the layers of weights get backpropogated, but what happens in a convolutional neural network on the backprop... |
H: Does an RL agent still learn if its actions are "blocked"?
Say we have a game that is a maze environment where there is a character to be controlled through the maze. When the agent (the character) approaches a wall, it may try to execute an action that would lead it into the wall, which is not permitted. Instead o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.