GithubHelp home page GithubHelp logo

Comments (8)

mfbalin avatar mfbalin commented on August 29, 2024

K is the number of features you want to select, and so after you transform, what you get is the input with only the selected features.

from concrete-autoencoders.

FarshidShekari avatar FarshidShekari commented on August 29, 2024

this is my code:

selector.fit(X_tr, Y_tr, X_va, Y_va)
X_tr = selector.transform(X_tr)
print(X_tr.shape)

My trainning data has 20000 sample and 250 features, but after transform I get X_tr with shape (k,250) and not (20000,k), what's the problem?

from concrete-autoencoders.

mfbalin avatar mfbalin commented on August 29, 2024

Can you confirm that X_tr has the shape (20000, 250)?

from concrete-autoencoders.

mfbalin avatar mfbalin commented on August 29, 2024

Actually, I looked at the code and there is a bug, you can use this instead:
X_tr[:, selector.get_support(indices=true)]

from concrete-autoencoders.

FarshidShekari avatar FarshidShekari commented on August 29, 2024

Can you confirm that X_tr has the shape (20000, 250)?

Yes

from concrete-autoencoders.

FarshidShekari avatar FarshidShekari commented on August 29, 2024

Actually, I looked at the code and there is a bug, you can use this instead:
X_tr[:, selector.get_support(indices=true)]

I want to transform my data to new feature space because I want to feed it to my DNN.

from concrete-autoencoders.

nasimulhasan avatar nasimulhasan commented on August 29, 2024

@FarshidShekari could you find a solution to transform your data into a new feature space?

from concrete-autoencoders.

dcorr039 avatar dcorr039 commented on August 29, 2024

Hello I have a question about figure 1 from your paper. How is reconstruction supposed to be done? I only understand up to
part c where k=20 can be used to mask the original image. How is it you can reconstruct image as in part d.

from concrete-autoencoders.

Related Issues (16)

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.