How can I know the name of the features selected by a Deep Belief Network?How deep should my neural network be?Clustering for multiple variablefeature names in LogisticRegression()Handling a combined dataset of numerical and categorical features for Regressionautoencoder for features selectionTraining of word weights in Word Embedding and Word2VecHow to generate a sample from a generative model like a Restricted Boltzmann Machine?How to deal with Nominal categorical with label encoding?Response variable is nominal.After running K-means on 12 features, I get an array containing clusters for each row. What is the next step after this?

Is it the same airport YUL and YMQ in Canada?

Was Hulk present at this event?

How to scale a verbatim environment on a minipage?

Point of the the Dothraki's attack in GoT S8E3?

Accidentally deleted the "/usr/share" folder

How do you center multiple equations that have multiple steps?

How did Arya manage to disguise herself?

How to reply this mail from potential PhD professor?

Attending a conference where my ex-supervisor and his collaborator are present, should I attend?

Why is the SNP putting so much emphasis on currency plans?

Disabling Resource Governor in SQL Server

How to creep the reader out with what seems like a normal person?

Missed the connecting flight

How do I tell my manager that his code review comment is wrong?

nth number which is divisible by all the numbers from 1 to 10

Packet sniffer for MacOS Mojave and above

Does the Darkness spell dispel the Color Spray and Flaming Sphere spells?

Entropy as a function of temperature: is temperature well defined?

Feels like I am getting dragged into office politics

Why is Arya visibly scared in the library in S8E3?

What happens if I start too many background jobs?

Selecting a secure PIN for building access

Stark VS Thanos

Was Unix ever a single-user OS?



How can I know the name of the features selected by a Deep Belief Network?


How deep should my neural network be?Clustering for multiple variablefeature names in LogisticRegression()Handling a combined dataset of numerical and categorical features for Regressionautoencoder for features selectionTraining of word weights in Word Embedding and Word2VecHow to generate a sample from a generative model like a Restricted Boltzmann Machine?How to deal with Nominal categorical with label encoding?Response variable is nominal.After running K-means on 12 features, I get an array containing clusters for each row. What is the next step after this?













1












$begingroup$


I want to use DBN to reduce the 41 features of nslkdd dataset after transforming nominal data to numeric the number of features increases from 41 to 121 . I used 3 RBMs (121-50-10) now I want to know the 10 selected features i.e know their names to put them as an input to the classifier. how can I do it?










share|improve this question











$endgroup$











  • $begingroup$
    I have edited your question a little to make it easier to read. In general, it is helpful to include a little more information to allow people to understand the context. E.g. I did not know what the NSLKDD dataset was. Links are also good, but your question should contain enough information to get an answer, minimising time users must spend looking at other resources.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 10:44















1












$begingroup$


I want to use DBN to reduce the 41 features of nslkdd dataset after transforming nominal data to numeric the number of features increases from 41 to 121 . I used 3 RBMs (121-50-10) now I want to know the 10 selected features i.e know their names to put them as an input to the classifier. how can I do it?










share|improve this question











$endgroup$











  • $begingroup$
    I have edited your question a little to make it easier to read. In general, it is helpful to include a little more information to allow people to understand the context. E.g. I did not know what the NSLKDD dataset was. Links are also good, but your question should contain enough information to get an answer, minimising time users must spend looking at other resources.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 10:44













1












1








1





$begingroup$


I want to use DBN to reduce the 41 features of nslkdd dataset after transforming nominal data to numeric the number of features increases from 41 to 121 . I used 3 RBMs (121-50-10) now I want to know the 10 selected features i.e know their names to put them as an input to the classifier. how can I do it?










share|improve this question











$endgroup$




I want to use DBN to reduce the 41 features of nslkdd dataset after transforming nominal data to numeric the number of features increases from 41 to 121 . I used 3 RBMs (121-50-10) now I want to know the 10 selected features i.e know their names to put them as an input to the classifier. how can I do it?







python deep-learning keras tensorflow rbm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 12 '18 at 18:56









n1k31t4

6,8412422




6,8412422










asked Jun 12 '18 at 10:21









useruser

4917




4917











  • $begingroup$
    I have edited your question a little to make it easier to read. In general, it is helpful to include a little more information to allow people to understand the context. E.g. I did not know what the NSLKDD dataset was. Links are also good, but your question should contain enough information to get an answer, minimising time users must spend looking at other resources.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 10:44
















  • $begingroup$
    I have edited your question a little to make it easier to read. In general, it is helpful to include a little more information to allow people to understand the context. E.g. I did not know what the NSLKDD dataset was. Links are also good, but your question should contain enough information to get an answer, minimising time users must spend looking at other resources.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 10:44















$begingroup$
I have edited your question a little to make it easier to read. In general, it is helpful to include a little more information to allow people to understand the context. E.g. I did not know what the NSLKDD dataset was. Links are also good, but your question should contain enough information to get an answer, minimising time users must spend looking at other resources.
$endgroup$
– n1k31t4
Jun 12 '18 at 10:44




$begingroup$
I have edited your question a little to make it easier to read. In general, it is helpful to include a little more information to allow people to understand the context. E.g. I did not know what the NSLKDD dataset was. Links are also good, but your question should contain enough information to get an answer, minimising time users must spend looking at other resources.
$endgroup$
– n1k31t4
Jun 12 '18 at 10:44










1 Answer
1






active

oldest

votes


















0












$begingroup$

In general you are extracting/creating 10 features that scan theoretically recreate the input i.e. the 41 features. The features on their own may not necessarily make a lot of sense and (depending on the dataset) may not be easily interpretable. One could draw a comparison to Principal Component Analysis and the result components as features.



One benefit of using Deep Belief Nets to pre-train your model and encode features is that the data must not be labelled. This leads to the final point, which is that your 10 features must not necessarily have names. You can just call them e.g. feature1, feature2, ..., feature10.



If you are having problems with the actual code and the way to push the 10 features further into the classifier, I would suggest you provide the code that you have so far and add more detail regarding your exact problem.






share|improve this answer









$endgroup$












  • $begingroup$
    I want to know the names of the 10 selected feature to remove the rest from my dataset
    $endgroup$
    – user
    Jun 12 '18 at 12:25






  • 1




    $begingroup$
    The features are not those selected from the original 41, they are combinations of them! You cannot just remove them from the original input.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:34










  • $begingroup$
    ah ok and I must change the nominal features to numeric before putting them to the DBN?
    $endgroup$
    – user
    Jun 12 '18 at 12:40










  • $begingroup$
    Inputs need to be numeric, yes. But that doesn't strictly have anything to do with the actual names themselves - the data itself must be numeric.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:43










  • $begingroup$
    the data must be unlabelled this mean I shoud remove the colomn 'class' from my dataset, how can I add it again to make the classification and the prediction.
    $endgroup$
    – user
    Jun 12 '18 at 13:00











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f33011%2fhow-can-i-know-the-name-of-the-features-selected-by-a-deep-belief-network%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0












$begingroup$

In general you are extracting/creating 10 features that scan theoretically recreate the input i.e. the 41 features. The features on their own may not necessarily make a lot of sense and (depending on the dataset) may not be easily interpretable. One could draw a comparison to Principal Component Analysis and the result components as features.



One benefit of using Deep Belief Nets to pre-train your model and encode features is that the data must not be labelled. This leads to the final point, which is that your 10 features must not necessarily have names. You can just call them e.g. feature1, feature2, ..., feature10.



If you are having problems with the actual code and the way to push the 10 features further into the classifier, I would suggest you provide the code that you have so far and add more detail regarding your exact problem.






share|improve this answer









$endgroup$












  • $begingroup$
    I want to know the names of the 10 selected feature to remove the rest from my dataset
    $endgroup$
    – user
    Jun 12 '18 at 12:25






  • 1




    $begingroup$
    The features are not those selected from the original 41, they are combinations of them! You cannot just remove them from the original input.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:34










  • $begingroup$
    ah ok and I must change the nominal features to numeric before putting them to the DBN?
    $endgroup$
    – user
    Jun 12 '18 at 12:40










  • $begingroup$
    Inputs need to be numeric, yes. But that doesn't strictly have anything to do with the actual names themselves - the data itself must be numeric.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:43










  • $begingroup$
    the data must be unlabelled this mean I shoud remove the colomn 'class' from my dataset, how can I add it again to make the classification and the prediction.
    $endgroup$
    – user
    Jun 12 '18 at 13:00















0












$begingroup$

In general you are extracting/creating 10 features that scan theoretically recreate the input i.e. the 41 features. The features on their own may not necessarily make a lot of sense and (depending on the dataset) may not be easily interpretable. One could draw a comparison to Principal Component Analysis and the result components as features.



One benefit of using Deep Belief Nets to pre-train your model and encode features is that the data must not be labelled. This leads to the final point, which is that your 10 features must not necessarily have names. You can just call them e.g. feature1, feature2, ..., feature10.



If you are having problems with the actual code and the way to push the 10 features further into the classifier, I would suggest you provide the code that you have so far and add more detail regarding your exact problem.






share|improve this answer









$endgroup$












  • $begingroup$
    I want to know the names of the 10 selected feature to remove the rest from my dataset
    $endgroup$
    – user
    Jun 12 '18 at 12:25






  • 1




    $begingroup$
    The features are not those selected from the original 41, they are combinations of them! You cannot just remove them from the original input.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:34










  • $begingroup$
    ah ok and I must change the nominal features to numeric before putting them to the DBN?
    $endgroup$
    – user
    Jun 12 '18 at 12:40










  • $begingroup$
    Inputs need to be numeric, yes. But that doesn't strictly have anything to do with the actual names themselves - the data itself must be numeric.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:43










  • $begingroup$
    the data must be unlabelled this mean I shoud remove the colomn 'class' from my dataset, how can I add it again to make the classification and the prediction.
    $endgroup$
    – user
    Jun 12 '18 at 13:00













0












0








0





$begingroup$

In general you are extracting/creating 10 features that scan theoretically recreate the input i.e. the 41 features. The features on their own may not necessarily make a lot of sense and (depending on the dataset) may not be easily interpretable. One could draw a comparison to Principal Component Analysis and the result components as features.



One benefit of using Deep Belief Nets to pre-train your model and encode features is that the data must not be labelled. This leads to the final point, which is that your 10 features must not necessarily have names. You can just call them e.g. feature1, feature2, ..., feature10.



If you are having problems with the actual code and the way to push the 10 features further into the classifier, I would suggest you provide the code that you have so far and add more detail regarding your exact problem.






share|improve this answer









$endgroup$



In general you are extracting/creating 10 features that scan theoretically recreate the input i.e. the 41 features. The features on their own may not necessarily make a lot of sense and (depending on the dataset) may not be easily interpretable. One could draw a comparison to Principal Component Analysis and the result components as features.



One benefit of using Deep Belief Nets to pre-train your model and encode features is that the data must not be labelled. This leads to the final point, which is that your 10 features must not necessarily have names. You can just call them e.g. feature1, feature2, ..., feature10.



If you are having problems with the actual code and the way to push the 10 features further into the classifier, I would suggest you provide the code that you have so far and add more detail regarding your exact problem.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 12 '18 at 10:55









n1k31t4n1k31t4

6,8412422




6,8412422











  • $begingroup$
    I want to know the names of the 10 selected feature to remove the rest from my dataset
    $endgroup$
    – user
    Jun 12 '18 at 12:25






  • 1




    $begingroup$
    The features are not those selected from the original 41, they are combinations of them! You cannot just remove them from the original input.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:34










  • $begingroup$
    ah ok and I must change the nominal features to numeric before putting them to the DBN?
    $endgroup$
    – user
    Jun 12 '18 at 12:40










  • $begingroup$
    Inputs need to be numeric, yes. But that doesn't strictly have anything to do with the actual names themselves - the data itself must be numeric.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:43










  • $begingroup$
    the data must be unlabelled this mean I shoud remove the colomn 'class' from my dataset, how can I add it again to make the classification and the prediction.
    $endgroup$
    – user
    Jun 12 '18 at 13:00
















  • $begingroup$
    I want to know the names of the 10 selected feature to remove the rest from my dataset
    $endgroup$
    – user
    Jun 12 '18 at 12:25






  • 1




    $begingroup$
    The features are not those selected from the original 41, they are combinations of them! You cannot just remove them from the original input.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:34










  • $begingroup$
    ah ok and I must change the nominal features to numeric before putting them to the DBN?
    $endgroup$
    – user
    Jun 12 '18 at 12:40










  • $begingroup$
    Inputs need to be numeric, yes. But that doesn't strictly have anything to do with the actual names themselves - the data itself must be numeric.
    $endgroup$
    – n1k31t4
    Jun 12 '18 at 12:43










  • $begingroup$
    the data must be unlabelled this mean I shoud remove the colomn 'class' from my dataset, how can I add it again to make the classification and the prediction.
    $endgroup$
    – user
    Jun 12 '18 at 13:00















$begingroup$
I want to know the names of the 10 selected feature to remove the rest from my dataset
$endgroup$
– user
Jun 12 '18 at 12:25




$begingroup$
I want to know the names of the 10 selected feature to remove the rest from my dataset
$endgroup$
– user
Jun 12 '18 at 12:25




1




1




$begingroup$
The features are not those selected from the original 41, they are combinations of them! You cannot just remove them from the original input.
$endgroup$
– n1k31t4
Jun 12 '18 at 12:34




$begingroup$
The features are not those selected from the original 41, they are combinations of them! You cannot just remove them from the original input.
$endgroup$
– n1k31t4
Jun 12 '18 at 12:34












$begingroup$
ah ok and I must change the nominal features to numeric before putting them to the DBN?
$endgroup$
– user
Jun 12 '18 at 12:40




$begingroup$
ah ok and I must change the nominal features to numeric before putting them to the DBN?
$endgroup$
– user
Jun 12 '18 at 12:40












$begingroup$
Inputs need to be numeric, yes. But that doesn't strictly have anything to do with the actual names themselves - the data itself must be numeric.
$endgroup$
– n1k31t4
Jun 12 '18 at 12:43




$begingroup$
Inputs need to be numeric, yes. But that doesn't strictly have anything to do with the actual names themselves - the data itself must be numeric.
$endgroup$
– n1k31t4
Jun 12 '18 at 12:43












$begingroup$
the data must be unlabelled this mean I shoud remove the colomn 'class' from my dataset, how can I add it again to make the classification and the prediction.
$endgroup$
– user
Jun 12 '18 at 13:00




$begingroup$
the data must be unlabelled this mean I shoud remove the colomn 'class' from my dataset, how can I add it again to make the classification and the prediction.
$endgroup$
– user
Jun 12 '18 at 13:00

















draft saved

draft discarded
















































Thanks for contributing an answer to Data Science Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f33011%2fhow-can-i-know-the-name-of-the-features-selected-by-a-deep-belief-network%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Quoting Keynes in a lectureIs differentiated instruction permitted by universities?How to make students learn prerequisitesUnsatisfactory Instructor Evaluations: balancing of expectations of engineering studentsWhat is the difference between a “statistician”, “applied statistician”, and an academic applying advanced stats within their field?Listing in reference section, but not quotingHow to efficiently use time while preparing for a class?Graduate Admissions: Teaching Emphasisstrategies for sharing teaching information with universities I don't personally have contacts withIs there an efficient way to give a large class of students feedback about their assignments?Is it unreasonable to expect students to read the lecture notes before attending the first class?

Rank groups within a grouped sequence of TRUE/FALSE and NAGrouping functions (tapply, by, aggregate) and the *apply familyCharacters counting and subletting specific patternsWhat is the purpose of setting a key in data.table?data.table vs dplyr: can one do something well the other can't or does poorly?how to make a bar plot for a list of dataframes?How to group by unique values in a list in RPandas - Alternative to rank() function that gives unique ordinal ranks for a columnRank within group in for loop in RData transformation: from dyadic to observational data in RGetting map from purrr to work with paste0

Are all passive ability checks floors for active ability checks?Does passive perception supersede active perception?Which skills can be used passively?Active Opposition with Free-Form Professions in Fate5E Trap/Ambush/Stealth Mechanics VS Passive Perception ConfusionInteraction between perception and stealth in obscured conditionsHow does Keen Sight affect Passive Perception?Are all d20 rolls either attacks, saves or ability checks?Can players declare that they are making a specific ability check?Can I see a Hidden creature that is not obscured at all?Can a Stealth check ever be made passively?Is this alternate version of the Observant feat balanced?What is the minimum amount of skill points per HD?