[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAX-VSM suboptimal optimization #38

Open
snvv opened this issue Mar 14, 2023 · 0 comments
Open

SAX-VSM suboptimal optimization #38

snvv opened this issue Mar 14, 2023 · 0 comments

Comments

@snvv
Copy link
snvv commented Mar 14, 2023

Hello
In the webpage example 5.0 SAX-VSM classifier, the un-optimized parameters:

w <- 60 # the sliding window size
p <- 6 # the PAA size
a <- 6 # the SAX alphabet size
are optimal, since the error term is 0 (zero miss-classifications rate)

However in the example 6.0 SAX-VSM parameters optimization the optimal parameters are "65 12 4 -> 0":

w <- 65 # the sliding window size
p <- 12 # the PAA size
a <- 4 # the SAX alphabet size
and the miss-classification error is [1] 0.004444444 with 4 misclassified series ([1] 187 589 766 860)

What I am missing?

Also, I tried the optimization with my own data set and I get the following error

Error in bags[[unique(train_labels)[j]]] <- manyseries_to_wordbag((train_data[set_train, :
attempt to select less than one element in OneIndex

Thank you in advance for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant