Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [machine-learning]

Methods and principles of building "computer systems that automatically improve with experience."

0
votes
0answers
7 views

Optimization Error for Logistic Regression using Scipy.opt [migrated]

I've been trying to write Andrew NG's Logistic Regression Problem Using python and Scipy.opt for optimizing the function. However, I get a VALUE ERROR that says I have mismatching dimensions. I've ...
2
votes
1answer
26 views

Can I use a GAN to increase my Dataset used for Image detection?

I am currently working on a machine learning project where I use the YOLO Algorithm to detect an object inside of a picture or video. The problem I face is that the specific image set (side-scan sonar)...
0
votes
0answers
33 views

Reinforcement learning using Restricted Boltzmann Machine(RBM)

I am very new to the field of machine learning, AI and related things. I am right now, in particular looking for some references where RBMs can be used to achieve Reinforcement learning, something ...
0
votes
1answer
35 views

Why xgboost can not deal with this simple sentence case?

There is only 1 feature dim. But the result is unreasonable. The code and data is below. The purpose of the code is to judge whether the two sentences are the same. In fact, the final input to the ...
1
vote
1answer
14 views

The mix of leaky Relu at the first layers of CNN along with conventional Relu for object detection

First of all, I know the usage of leaky RELUs and some other relevant leaky activation functions as well. However I have seen in a lot of papers on object detection tasks (e.g YOLO) to use this type ...
6
votes
1answer
137 views

On a multi lingual sentiment corpus

I am looking to compile a sentiment corpus for news articles in multiple languages (~100k per lang. for a machine learning experiment) where each article is labeled positive, neutral, or negative. I ...
0
votes
0answers
11 views

Practical examples/tutorials of using One-Class Support Vector Machines

I am a newbie in machine learning, and hope to solve an anomaly detection task using One-Class Support Vector Machines (OCSVM). ...
1
vote
0answers
17 views

Rain radar image noise reduction and cleanup

An application that I am building is plotting rain radar images on map. The images are transparent PNGs that are sourced straight from the local meteorological service. As can be seen in the example, ...
2
votes
0answers
10 views

word based learning similar to what is done in mnist [closed]

I am fairly new to this field and I have a use case where I would like to classify the type of a cloth by its attribute information(like descriptions of its length, width, height, cloth type etc etc). ...
2
votes
0answers
21 views

Non-linear Support Vector Regression issue - Sklearn Python 3.6

I am fairly new to Sklearn and machine learning and have encountered an issue when using SVR with an RBF kernel. Below is my predicted data compared directly with my real data: I do not know what I ...
1
vote
1answer
15 views

Boostrap parameter in random forest regressor?

There's one parameter in RandomForestRegressor which is bootstrap. By default bootstrap=True bootstrap : boolean, optional (...
1
vote
0answers
5 views

Test Loss plateau fast in Convolutional Neural Net

I have a 10k dataset of 1 channel 100X100pixels images with 31 classes. I set up a CNN with 3 convolution layers each followed by a batchnorm and a 2d pooling. I tried out several combinations of ...
0
votes
0answers
18 views

Snake AI seems to be very biased

I've been working on a snake AI in Java, and so far it seems pretty good except for one hitch. The AI always seems to develop a bias and only turn in one direction (it is given inputs for data ...
3
votes
1answer
31 views

Hyperparameter tuning for stacked models

I'm reading the following kaggle post for learning how to incorporate model stacking http://blog.kaggle.com/2016/12/27/a-kagglers-guide-to-model-stacking-in-practice/ in ML models. The structure ...
3
votes
2answers
28 views

Multiple formulas for r squared eval metric for regression

I was came across different formulas for R squared on different articles. R Squared = 1 - RSS/TSS R Squared = ESS/TSS RSS -Residual sum of squares. TSS - Total sum of squares. ESS - Explained ...
0
votes
0answers
14 views

Clusterise 2 variables in 3 groups

I have thousands points for 2 different variables i would like to clusterise in 3 groups : -1, 0, 1. If i drop the group 0 in my dataframe and scatter plot for -1 and 1 i have the following : It's ...
1
vote
0answers
34 views

Combine multiple features for text classification

Recently I started reading more about NLP and following tutorials in Python in order to learn more about the subject. I'm trying to make my own classification algorithm (the text sends a positive/...
0
votes
0answers
4 views

Writing slice by slice to a new .nii file in Python

I am using python 2.7. I am writing code that reads from an initial nii file, modifies each slice of it, and then creates a new nii file and writes to it slice by slice. My main issues are I do not ...
0
votes
0answers
9 views

Why GP (Gaussian Process) works?

Actually I read through some papers about GP(google the stanford university and oxford university lecture pdf and read) I knew the procedure to do it with detail to choose the kernel and test and the ...
0
votes
0answers
6 views

Theoretical underpinning behind Hardmax operator

In the tensor flow Github repository, in the file attentionwrapper.py, hardmax operator has been defined. On the docs, it has been mentioned tf.contrib.seq2seq.hardmax I want to know what's the ...
1
vote
1answer
20 views

How to find similarity of two series over time containing periodic trends?

Considering the data is received from a streaming source each second.How to distinguish if both the line graphs 'look' same/different in real time, statically, like the picture given below Edit: 1....
0
votes
0answers
5 views

Cannot read .7z file in Google Colab [migrated]

I am using Google Colab to create a deep learning model, and I face an issue when I run this code at the first time. !p7zip -d filename.7z I get the following ...
2
votes
1answer
21 views

Adding recommendations to the output of a classification model

I have built a binary classification model using: logit decision trees random forest bagging classifier gradientboost xgboost adaboost I have evaluated the above models and chose xgboost based on ...
3
votes
0answers
25 views

How to extract characteristics from text using machine learning?

I would like to develop some kind of model/algorithm that allows me to extract the characteristics of a given product name. (let's say the brand, model and color). I am looking for a solution similar ...
1
vote
0answers
17 views

Forecasting/Predicition for a specific date [closed]

First of all data science is not my experties so apologies if this sounds stupid. I have a data X that is either 1 or 0 and (possibly) dependent on some other variables. I have the values for these ...
2
votes
0answers
23 views

Detect Missing Records in Dataset

I have a dataset that contains several measures from various widgets on a daily basis. While the widgets remain relatively stable over time, sometimes there are legitimate reasons for one to disappear ...
0
votes
2answers
21 views

Does fine-tuning of transferred layers perform better than frozen transferred layers?

I recently learned concepts of transfer learning. Is it necessarily true that fine-tuning of transferred layers perform better than frozen transferred layer? why?
1
vote
0answers
29 views

Forecasting/predicting techniques for qualitative data?

I have a food alert dataset composed of nominal qualitative variables, such as type of alert, country of origin, action taken, etc. as well as the date on which the alert was recorded. What ...
1
vote
1answer
28 views

Do we need to add the sigmoid derivative term in the final layer's error value?

I have been studying professor Andrew Ng's Machine Learning course on Coursera. Currently, I am trying to prove the formulas for backpropagation, which is mentioned in Week 5 (in this document). ...
1
vote
0answers
42 views

How to weight loss in regression

I've got a regression problem where a model is required to predict a value in the range [0, 1]. I've tried to look at the distribution of the data and and it seems that there are more examples with ...
1
vote
3answers
52 views

What kind of “vector” is a feature vector in machine learning?

I'm having trouble understanding the use of Vector in machine learning to represent a group of features. If one looks up the definition of a Vector, then, according to wikipedia, a Vector is an ...
2
votes
1answer
24 views

Which data mining or machine learning algorithm would be appropriate for learning ordered frequent patterns?

I have a dataset as (var1, var2, out), where the ordered pair <var1, var2> gives out. ...
1
vote
1answer
39 views

Is a neural network able to learn to map a completely different feature vector to the same class

Is a neural network (for example a MLPClassifier in Python) able to learn to map a completely (or very) different input feature set to the same output class? Or is it better to work in this case with ...
1
vote
1answer
29 views

Does image resizing lower the prediction accuracy of MLP?

I am implementing a vanilla neural network (MLP) to do image classification in python using tensorflow on images of honey bees to detect their health status. The images in my dataset are of different ...
0
votes
0answers
8 views

Regression based on series of depth (similar to time series)

I have a data with set of independent variables and a target variable. The target variable is exponentially distributed based on the depth. Is there a way to identify a general depth function for my ...
0
votes
1answer
20 views

Data Augmentation for Regression ANN with low Sample Size

There is a Dataset of 65 tuples. I want to Augment new Data from this set and validate my ANN on the original Data. Is there a possibility, that my ANN already overfits on the augmentet Data. For ...
0
votes
0answers
8 views

Encoder Decoder networks with varying image sizes

Encoder Decoder Network - Computerphile : At the very beginning of this video, Michael Pound goes on to say: So it (encoder decoder network) makes no assumptions about the size of the input the ...
1
vote
0answers
16 views

Training detector without bounding box data

From what I can see most object detection NNs (Fast(er) R-CNN, YOLO etc) are trained on data including bounding boxes indicating where in the picture the objects are localized. Is there any model ...
0
votes
0answers
26 views

Relationship between mean average precision (mAP) and f1 score for object detection

So I'm evaluating two models on an object detection task. For evaluation, I compute the precision and recall for several detection thresholds, find the best threshold for the two models and compare ...
0
votes
2answers
38 views

Using multiple machine learning algorithms together [closed]

I'm kinda new to machine learning and wanted to know if we could use multiple machine learning algorithms, for example, SVM and backpropagation together to solve a particular problem.
1
vote
0answers
15 views

How to predict a None (not in the categories)?

Im using tensorflow.keras I made a model that can predict cat and a dog but when I try to predict image without dog or a cat I still get an answer of a cat/dog. I tried find the % value of the ...
0
votes
3answers
51 views

Using deep learning or random forest [closed]

I am very new to machine learning, and I am trying to build a model to classify this data set (UCI heart disease). I have built a simple model using random forest and got an 80% accuracy. The size of ...
0
votes
0answers
12 views

Opencv kmeans predict equivalent

I'm moving my project from Python's libraries to opencv, and I have one big problem. In Python skylearn, I have kmeans object, which has two useful methods: fit_predict and fit, which both are ...
0
votes
0answers
13 views

Does anyone know a good python implementation of specific-sentiment word embedding (SSWE) for Twitter messages?

folks! I'm looking for a good implementation in python (ready to use) related to specif-sentiment word embedding (sswe). If you know, please send me the GitHub link. Thanks in advance.
0
votes
1answer
224 views

DeprecationWarning: The 'categorical_features' keyword is deprecated in version 0.20

I was watching Machine Learning A- Z from SuperDataScience but when I was doing below code sample: ...
0
votes
3answers
32 views

Downsampling and class ratios

My target variable is whether an application is accepted or not. It is a highly imbalanced target with 98.5% of applications accepted. I am unclear about the concept of downsampling. If I were to ...
0
votes
1answer
14 views

Composing phrases into a grammatically correct sentence?

I'm wondering if there exist any models which could take in an ordered list of phrases without punctuation and generate a grammatically correct sentence from it. For example, for the input: ["My dog"...
1
vote
1answer
64 views

Dealing with Overfitting

Hello and thank you in advance for any answer. I am building a NN for a multi class classification problem. I have pretrained my data through a Word2vec and generated a 300 dimension vector with ...
1
vote
0answers
14 views

Trainable parameters explode in CNN , how to control them and yet get desired accuracy

I am building a CNN mode using CSV of size (79999, 11) Here is my model below. When I do a model summary it gives me close to two billion trainable parameters , which my laptop or even AWS Ec2 is not ...
0
votes
0answers
11 views

Implementing lookahead convolution - Tensorflow

I am trying to implement this research paper in python using Tensorflow. I am stuck at the lookahead convolution part. I have defied a weight matrix of shape ...