ruptures icon indicating copy to clipboard operation
ruptures copied to clipboard

BadSegmentationParameters:

Open antara-c opened this issue 1 year ago • 5 comments

I am trying out the very basic form of ruptures through this code -

algo = rpt.Pelt(model="rbf").fit(df1_train['HPT_eff_mod'].values) result = algo.predict(pen=200)

I need this resolved urgently and any help would be greatly appreciated.

antara-c avatar May 15 '24 03:05 antara-c

You really need to provide more detail. I suggest your data needs cleaning, What does the input look like?

tg12 avatar May 15 '24 06:05 tg12

The input is float values from the High pressure turbine of a simulated aircraft engine

antara-c avatar May 15 '24 06:05 antara-c

Can you share it or not? Have you sanitized it? How big is the dataset?

tg12 avatar May 15 '24 06:05 tg12

Hi, what is the error?

deepcharles avatar May 15 '24 09:05 deepcharles

What is the shape of df1_train['HPT_eff_mod'].value ?

deepcharles avatar May 15 '24 09:05 deepcharles

I am trying out the very basic form of ruptures through this code -

algo = rpt.Pelt(model="rbf").fit(df1_train['HPT_eff_mod'].values) result = algo.predict(pen=200)

I need this resolved urgently and any help would be greatly appreciated.

"You might be giving wrong number of columns or rows using iloc[]"

Vasuaggarwal0509 avatar Jul 04 '25 18:07 Vasuaggarwal0509

I am trying out the very basic form of ruptures through this code - algo = rpt.Pelt(model="rbf").fit(df1_train['HPT_eff_mod'].values) result = algo.predict(pen=200) I need this resolved urgently and any help would be greatly appreciated.

"You might be giving wrong number of columns or rows using iloc[]"

The problem is most certainly with your code there. Press Return. CRLF...

tg12 avatar Jul 04 '25 19:07 tg12

@Vasuaggarwal0509 What is the shape of your array?

Edit: I'm not sure if you're answering to the issue or raising an issue. I'll close the issue for now, but feel free to reopen it

deepcharles avatar Jul 08 '25 07:07 deepcharles