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

Feature value constrained in a spatial aplication #26

Closed
orlandombaa opened this issue Jul 7, 2022 · 3 comments
Closed

Feature value constrained in a spatial aplication #26

orlandombaa opened this issue Jul 7, 2022 · 3 comments

Comments

@orlandombaa
Copy link

Hello everyone !

Is it possible to add a second constrained related with the sum of attributes of each features?

Best regards,
Orlando

@joshlk
Copy link
Owner

joshlk commented Jul 7, 2022 via email

@orlandombaa
Copy link
Author

orlandombaa commented Jul 7, 2022

Thank you @joshlk I start to modify the library now. The aplication that I want to do is a spatial clustring constrained. I want to modifed the code of "k means constrained.py" to give values of travel distance to the variable "D" generated by a routing machine (OSRM).

At the same time I am using Latitud and Longitude as input to my variable "X".

I see that there is a standardization process that modify X and the centers generated are not readable to OSRM (the centers does not have values of coordeniates any more)

My question is: Where this process of standardization happen or where can I stop it?

I have been watching the file of "data" in the folder of preprocesing in sklearn but it continuos to change the magnitude of the centers.

Best regards,
Orlando

@orlandombaa orlandombaa changed the title Feature value constrained Feature value constrained in a spatial aplication Jul 7, 2022
@joshlk
Copy link
Owner

joshlk commented Sep 9, 2022

I'm closing this for now. Re-open the ticket and leave a comment if you are still looking at this and wasnt more assistance.

@joshlk joshlk closed this as completed Sep 9, 2022
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

2 participants