Answers.Body: <p>Since you have all your data in a table, a relatively simple thing to do is to consider each column independently, and then seeing if the output variable (cost incurred) has a correlation to that.</p>
  
  <p>If the column has no (or very low correlation) with the output variable, then consider it to be not important.  The ones that make the cut are then considered further.</p>
  
  <p>This is obviously not very different from how a decision tree algorithm would work (such as ID3).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-21T21:28:12.207Z
Answers.LastActivityDate: 2018-12-21T21:28:12.207Z
Answers.UserDisplayName: Amrinder Arora
Answers.Body: <p>It is wise to consider not just the correlation of resource engagement with cost, but also the return on the cost of resource engagement.  The typical challenge is that those returns are almost always cumulative or delayed.  A case of accumulation is when the resource is the continuous tuning or improvement of a process the absence of which slows the generation of revenue.  A case of delay is when research resources incur costs without revenue impact for a period of time but the revenue generation that begins if the research delivers productive results may be a substantial factor above the total cost of the results delivered.</p>
  
  <p>The reason expense data by itself can lead to maladaptive network learning is because a network that is trained to reduce, for instance, marketing expenses will zero them.  That would usually cause a decreasing sales lead trend until the business folds.  Without including the returns in the training information, no useful learning may occur.</p>
  
  <p>A basic MLP (multi-layer perceptron) will not learn the temporal characteristics of the data, the accumulation and delay aspects.  You will need a stateful network.  The most consistently successful network type for this kind of learning as of this writing is the LSTM (long short term memory) network type or one of its derivative variants.  Revenue and balance data must be used in conjunction with expense data to train the network to predict business results for any given sequence of proposed resource engagements (fully detailed budgetary plan).</p>
  
  <p>The loss function must properly balance sort term with medium and long term financial objectives.  Negative available cash should produce a pronounced increase in the loss function so that such avoidance of basic risks to reputation and the cost of credit is learned.</p>
  
  <p>Which columns in your data have strong correlations with return on investment is difficult to determine in advance.  You can immediately exclude columns that conform to any one of the following criteria.</p>
  
  <ul>
  <li>Always empty</li>
  <li>Other constants, those that have the same value for every row</li>
  <li>Those that can always be derived from other columns</li>
  </ul>
  
  <p>The data can be reduced in other ways</p>
  
  <ul>
  <li>Fully describing data by characterizing trends in simple ways</li>
  <li>Using indices to specify long strings with 100% accuracy by assigning each string a number</li>
  <li>Compression</li>
  <li>Otherwise reducing redundancy in the data</li>
  </ul>
  
  <p>RBMs (restricted Boltzmann machines) can extract features from the data and PCAs can illuminate the low information content columns, but the significance of the columns in terms of their correlation with revenue will not be identified using these devices in their basic form.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-27T09:04:58.847Z
Answers.LastActivityDate: 2018-11-27T09:04:58.847Z
Answers.UserDisplayName: Douglas Daseeco
Answers.Body: <p>That's a great question and probably one of the most difficult tasks on ML.</p>
  
  <p>You do have a few options: </p>
  
  <ol>
  <li>You can use weighting algorithms (e.g. Chi-squared) to understand which features are contributing most to your output</li>
  <li>You can use other ML algorithms to classify whether a feature is contributing to your predictions or not</li>
  <li>You may use other ML algorithms (other than NN) that inherently provide you with feature weightings (e.g. Random Forest) </li>
  </ol>
  
  <p>Hope that helps </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-26T23:24:25.557Z
Answers.LastActivityDate: 2018-11-26T23:24:25.557Z
Answers.UserDisplayName: Ragy Abraham
Answers.Body: <p>there is no hard-and-fast-rule for feature selection , you have to manually examine the dataset and try different techniques for feature engineering . 
  And there is no rule that you should apply neural networks for this , neural networks are time-consuming to train , instead you can experiment with decision tree based methods(random forests ) since your data is anyway in tabular structure.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-08T03:29:13.780Z
Answers.Text: thanks for the input, 
  1. I agree NN is not the best way to test the hypothesis, but I guess using NN we can achieve more vast relations among features, to get better results(in most cases).
  2. The problem I was facing was to select the features, that actually would define the pattern for my problem, also how to define feature weights.
Answers.UserDisplayName: Karan Chopra
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-29T16:00:07.817Z
Answers.LastActivityDate: 2018-05-29T16:00:07.817Z
Answers.UserDisplayName: thecomplexitytheorist
Body: <p>Recently I was working on a problem to do some cost analysis of my expenditure for some particular resource.
  I usually make some manual decisions from the analysis and plan accordingly.</p>
  
  <p>I have a big data set in excel format and with hundreds of columns, defining the use of the resource in various time frames and types(other various detailed use).
  I also have information about my previous 4 years of data and actual resource usage and cost incurred accordingly.</p>
  
  <p>I was hoping to train a NN to predict my cost beforehand and plan even before I can manually do the cost analysis.</p>
  
  <p>But the biggest problem I'm facing is the need to identify the features for such analysis. I was hoping there is some way to identify the features from the data set.</p>
  
  <p><em>PS - I have idea about PCA and some other feature set reduction techniques, what I'm looking at is the way to identify them in the first place.</em></p>
  
Tags: <neural-networks><machine-learning><datasets><feature-selection>
Title: How do I select the relevant features of the data?
UserDisplayName: Karan Chopra
ThreadText: # How do I select the relevant features of the data?
  
  (Asked by: username_0 on 2017-09-04)
  
  Recently I was working on a problem to do some cost analysis of my expenditure for some particular resource.
  I usually make some manual decisions from the analysis and plan accordingly.
  
  I have a big data set in excel format and with hundreds of columns, defining the use of the resource in various time frames and types(other various detailed use).
  I also have information about my previous 4 years of data and actual resource usage and cost incurred accordingly.
  
  I was hoping to train a NN to predict my cost beforehand and plan even before I can manually do the cost analysis.
  
  But the biggest problem I'm facing is the need to identify the features for such analysis. I was hoping there is some way to identify the features from the data set.
  
  *PS - I have idea about PCA and some other feature set reduction techniques, what I'm looking at is the way to identify them in the first place.*
  
  **Tags:** neural-networks, machine-learning, datasets, feature-selection
  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_1 on 2018-12-21. Score: 1
  
  Since you have all your data in a table, a relatively simple thing to do is to consider each column independently, and then seeing if the output variable (cost incurred) has a correlation to that.
  
  If the column has no (or very low correlation) with the output variable, then consider it to be not important. The ones that make the cut are then considered further.
  
  This is obviously not very different from how a decision tree algorithm would work (such as ID3).
  
  
  ---
  
  ### Answer by username_2 on 2018-11-27. Score: 0
  
  It is wise to consider not just the correlation of resource engagement with cost, but also the return on the cost of resource engagement. The typical challenge is that those returns are almost always cumulative or delayed. A case of accumulation is when the resource is the continuous tuning or improvement of a process the absence of which slows the generation of revenue. A case of delay is when research resources incur costs without revenue impact for a period of time but the revenue generation that begins if the research delivers productive results may be a substantial factor above the total cost of the results delivered.
  
  The reason expense data by itself can lead to maladaptive network learning is because a network that is trained to reduce, for instance, marketing expenses will zero them. That would usually cause a decreasing sales lead trend until the business folds. Without including the returns in the training information, no useful learning may occur.
  
  A basic MLP (multi-layer perceptron) will not learn the temporal characteristics of the data, the accumulation and delay aspects. You will need a stateful network. The most consistently successful network type for this kind of learning as of this writing is the LSTM (long short term memory) network type or one of its derivative variants. Revenue and balance data must be used in conjunction with expense data to train the network to predict business results for any given sequence of proposed resource engagements (fully detailed budgetary plan).
  
  The loss function must properly balance sort term with medium and long term financial objectives. Negative available cash should produce a pronounced increase in the loss function so that such avoidance of basic risks to reputation and the cost of credit is learned.
  
  Which columns in your data have strong correlations with return on investment is difficult to determine in advance. You can immediately exclude columns that conform to any one of the following criteria.
  
  * Always empty
  * Other constants, those that have the same value for every row
  * Those that can always be derived from other columns
  
  The data can be reduced in other ways
  
  * Fully describing data by characterizing trends in simple ways
  * Using indices to specify long strings with 100% accuracy by assigning each string a number
  * Compression
  * Otherwise reducing redundancy in the data
  
  RBMs (restricted Boltzmann machines) can extract features from the data and PCAs can illuminate the low information content columns, but the significance of the columns in terms of their correlation with revenue will not be identified using these devices in their basic form.
  
  
  ---
  
  ### Answer by username_3 on 2018-11-26. Score: 0
  
  That's a great question and probably one of the most difficult tasks on ML.
  
  You do have a few options:
  
  1. You can use weighting algorithms (e.g. Chi-squared) to understand which features are contributing most to your output
  2. You can use other ML algorithms to classify whether a feature is contributing to your predictions or not
  3. You may use other ML algorithms (other than NN) that inherently provide you with feature weightings (e.g. Random Forest)
  
  Hope that helps
  
  
  ---
  
  ### Answer by username_4 on 2018-05-29. Score: 0
  
  there is no hard-and-fast-rule for feature selection , you have to manually examine the dataset and try different techniques for feature engineering .
  And there is no rule that you should apply neural networks for this , neural networks are time-consuming to train , instead you can experiment with decision tree based methods(random forests ) since your data is anyway in tabular structure.
  
  > **Comments:**
  > **username_0**: thanks for the input,  1. I agree NN is not the best way to test the hypothesis, but I guess using NN we can achieve more vast relations among features, to get better results(in most cases). 2. The problem I was facing was to select the features, that actually would define the pattern for my problem, also how to define feature weights.  
  
  ---
  
  