GithubHelp home page GithubHelp logo

Comments (3)

EdwardRaff avatar EdwardRaff commented on May 18, 2024

That plot does not help explain. What is being plotted?

Are you referring to down weighting/removing certain features?

Are you asking to down weight / ignore certain data points at test time?

from jsat.

kalebmmm avatar kalebmmm commented on May 18, 2024

Here's a snippet of the CSV where c is my class.

Vx, vy, and vz have no relationship with each other, but they do with y and p so I can't remove those completely. Take Iris for example, the sepal and petal's length and width don't have any mixups when plotted while vx,vy, and vz in my screenshot are just jumbled garbage (That's what I had circled in black). I need those features for y and p's sake, but they don't work when compared together.

Here's vx compared to vy (This is bad - No clear categories)
Here's vx compared to y (This is good - 2 clear categories)

y,p,vx,vy,vz,c
172.6308,24.489506,0.037431074933626206,72.1707870772188,224.8595430808245,VANILLA

Since vx,vy, and vz don't show any clear categories among each other, is there a way to weight or handle them differently? I'm only looking to downweight if that will solve the problem, and I don't want to remove those features as they give y and p categories.

I apologize for being so vague, it's just stuff I have to try not to share.

from jsat.

EdwardRaff avatar EdwardRaff commented on May 18, 2024

Ok, so you are talking about weighting / removing features.

Under jsat.datatransform you will find a number of methods that can perform automatic feature selection (particularly, jsat.datatransform.featureselection), or you can manually specify the features to remove.

Since you are using a distance metric, you can also just multiply the features you are using by some constant to change their weights. Distance metrics are scale sensitive. If you for some reason really just want to manually specify the weights, but not change the data, you can use the WeightedEuclideanDistance class to give in a weight vector to apply to each dimension.

from jsat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.