Questions tagged [numerical]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 views

partial numerical array - pattern matching

I have a linear numerical array source and I want to find/match test array as pattern : ...
2
votes
1answer
25 views

5 digit number mis-reads analysis

Nothing to do with number recognition in the classical 'hand-written' sense Disclaimer above to avoid this being counted as a repeat. I have a selection of 96 serial numbers, and a separate ...
2
votes
3answers
607 views

Purpose of converting continuous data to categorical data

I was reading through a notebook tutorial working with the Titanic dataset, linked here, and noticed that they highly favored ordinal data to continuous data. For example, they converted both the Age ...
0
votes
0answers
18 views

When to create ranges for numeric feature?

For example, in the Titanic Dataset, I'm trying to deal with the numeric datasets, FamilySize and Ticket (Ticket Price). From the many solutions I've seen, a lot of people create ranges for ...
0
votes
0answers
67 views

Cluster method with binary variable

I need to do a cluster analysis for the following variables: ...
1
vote
1answer
28 views

What is the intuition behind using Monte Carlo to solve a differential equation

Conceptually, I understand how a numerical method like Monte Carlo is used to solve a definite integral. Because integral of a function is the area bounded by the curve, the ratio of random points ...
1
vote
0answers
16 views

How to do non arithmetic operation in python 3 [closed]

lets say a=3 b=4 and c is an unknown constant. a=3 b=4 F=0 F=a*b*c print(F) Its an error. I want 12*c or 12c
0
votes
1answer
2k views

MinMaxScaler returned values greater than one

Basically I was looking for a normalization function part of sklearn, which is useful later for logistic regression. Since I have negative values, I chose MinMaxScaler with: ...
0
votes
1answer
388 views

Convert nominal to numeric variables?

I am trying to develeop an algorithm with sklearn and Tensorflow to predict which car can be offer to each customer. To do that I have a database with the answers of one survey to 1000 customers. An ...
1
vote
1answer
7k views

Replacing words by numbers in multiple columns of a data frame in R

I want to replace the values in a data set (sample in the picture) using numbers instead of words, e.g., 1 instead of D, ...
1
vote
2answers
88 views

Homemade deep learning library: numerical issue with relu activation

For the sake of learning the finer details of a deep learning neural network, I have coded my own library with everything (optimizer, layers, activations, cost function) homemade. It seems to work ...
-1
votes
1answer
424 views

What are the advantages or disadvantages of Owl?

Owl is the numerical library for OCaml: https://github.com/ryanrhymes/owl It is supposed to be an equivalent of numpy and also have capabilities of tensorflow. Any insights on why it should be used ...
2
votes
0answers
962 views

How to choose the optimal k in k-protoypes?

To analyze a dataset from banking I have both numerical and categorical values. I transform them to analyze with k-prototypes. The original dataset: The modified dataset: E.g.: Job (for 1 to 12 '...
4
votes
1answer
1k views

Do numerical inaccuracies play any role in training neural networks?

Are there publications which mention numerical problems in neural network optimization? (Blog posts, articles, workshop notes, lecture notes, books - anything?) Background of the question I've ...
25
votes
6answers
14k views

Encoding features like month and hour as categorial or numeric?

Is it better to encode features like month and hour as factor or numeric in a machine learning model? On the one hand, I feel numeric encoding might be reasonable, because time is a forward ...
3
votes
1answer
1k views

How to estimate the mutual information numerically?

Suppose I have a sample {$z_i$}$_{i\in[0,N]}$ = {($x_i,y_i$)}$_{i\in[0,N]}$ which commes from a probability distribution $p_z(z)$. How can I use it to estimate the mutual information between X and Y ? ...
1
vote
0answers
122 views

Association Categorical Variables

We Perform data Analysis and build Models say for example I have builted Linear Regression Model having More than one Predictor ( Multiple Regression). We check so many things Normality ...
12
votes
3answers
5k views

How can I dynamically distinguish between categorical data and numerical data?

I know someone who is working on a project that involves ingesting files of data without regard to the columns or data types. The task is to take a file with any number of columns and various data ...
3
votes
1answer
177 views

Steps in exploratory methods for mild-sized data with mixed categorical and numerical values?

Experienced in signal/image analysis, and new to data science, I recently was challenged with a relatively simple dataset: 100 to 200 items, about 10-20 numerical variables (in the [0-1] or percentage ...