Questions tagged [discretization]

Discretization concerns the process of transferring continuous models and equations into discrete counterparts. This process is usually carried out as a first step toward making them suitable for numerical evaluation and implementation on digital computers.

Discretization is used everywhere in DSP (digital signal processing) to represent analog data, e.g. sound, in binary format to allow computer processing and editing.

131 questions
0
votes
1 answer

implementation of fayad and irani discretization

IS there a java code to implement Fayad and Irani's Entropy based discretization? I have tried reading the file and then calculating the Entropy and Info gain. How to get the bounday points? I have to implement Fayad and Irani’s discretization…
0
votes
1 answer

Discretization of data in R -crazy values

Hello again stackoverflow-ers ! hope you are well I am working on a project and am essentially trying to create a decision tree. The data is a for a bank's campaign concerning how well the campaign incentivized the customers to open up a term…
Freewill
  • 413
  • 2
  • 6
  • 18
0
votes
1 answer

Parsing numeric data from text file using Python

I am attempting build a database from a numeric model output text file. The text file has four (4) rows of title block data followed by many rows (41,149) of data blocks which are each seperated by the word 'INTERNAL' followed by some numeric data…
user2793356
  • 23
  • 1
  • 4
0
votes
1 answer

Discretization and aliasing in R

So, I have an array of value from 1 to 100, and I need to make it discrete while applying an alias to each discrete value. For example: A 10 15 55 15 70 Now, let's say I want to make it discrete over 2 bins (so that 0-50 is one bin and…
Edgar Derby
  • 2,543
  • 4
  • 29
  • 48
0
votes
2 answers

Coloring the points of an excel chart based on another cell

I would like to graphically represent how some real valued data has been discretized/binned. I have an array of real numbers ranging from 1 to 35. For each value, I have a corresponding natural number in the range of -2 to 19. I would like to show…
rhombidodecahedron
  • 7,693
  • 11
  • 58
  • 91
-1
votes
2 answers

Can't make the discretization of data in python because of column name?

I have this dataset with many categorical columns and I have to make the discretization of the data. First I upload the data using Pandas and it gives me this: X = pd.read_excel("/content/drive/MyDrive/APR NÃO SUP_Tarefa_Trilha 4 (2)…
-1
votes
2 answers

List between 2 ranges and n elements in python

How can i create a list of numbers that it will be a serie? for example function(0, 2, 5) from 0 to 2 with 5 elements --> [0, 0.5, 1, 1.5, 2] Is there any function in python which can do it?
-1
votes
1 answer

How to Obtain Coordinates for a Hemisphere in Python

Currently, I have some Python code to obtain equidistant points on the surface of a sphere. Now, I want to edit this code to obtain equidistant points on the surface of a hemisphere. I assume that there is some simple parameter I need to change, but…
Matthew
  • 21
  • 4
-1
votes
1 answer

Binning Imbalanced Data

I have an imbalanced numeric data set that looks like this: . I need to bin the data into 8 bins, however if I set the bins to have equal size, I would get all my data only into two bins and the rest in the middle would be empty. Is there a…
-3
votes
1 answer

I need help mapping in R coding

Here is my R code to plot the RR: # Display posterior means of RR(relative risks) va$RRmean <- end4$summary.fitted.values[, 1] library(classInt) breaks.qt2 <-classIntervals(va$RRmean, n=7, style="quantile",…
-4
votes
2 answers

Round to the nearest number in an interval centered around 100

I want to round a number (up or down) in an inputted interval centered around 100 (not exactly on the multiples of the internal length). Here are some examples: Ex 1: Length=3, Center=100, Input=99.76, Round Down=True => The discrete interval is…
John Doe
  • 185
  • 1
  • 8
1 2 3
8
9