I am using tsfresh in Python for a classification problem. The variable to predict can have 5 values (from 0 to 4). I am trying to use select_features to reduce the relevant features in the input. In the documentation I find that "Target vector...can be binary or real-valued" not for finite-valued. Is there a similar function to deal with finite (more than binary) target vectors? Or does it make sense to use select_features (so the target vector is considered as real-valued)?
Finite-valued target vector for select_features in tsfresh
295 Views Asked by sqrt2sqrt2 At
1
There are 1 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in FEATURE-SELECTION
- Feature Selection with Random Forest and R Package 'Ranger' / interpretation of function 'variable.importance'
- Dynamically set K value of SelectKBest
- ANOVA Feature Selection
- Trying to use the multiprocessing library in Python but I am running into issues where it freezes but throws no error
- Catia Macro - select all ''non'' updated features
- Pycaret : Got Missing Value error in target col
- Is there a way to retrieve coefficients of SequentialFeatureSelection after model fit?
- Unable to find out the feature importance list from histgradientboosting classifier
- Feature selection with boruta python package
- Feature selection using backward feature selection in scikit-learn and PCA
- Training feature matrix vs Real input
- Feature selection using GI (Gini Importance) and MIC(Maximum Information Coefficient)
- How to select n columns from a matrix minimizing a given function
- WEKA Caim package
- Relation between Jacobians and gradients of neural network's forward pass w.r.t. inputs
Related Questions in TSFRESH
- Fabric Notebook running into error while using TSfresh for feature extraction
- How to Integrate TsFresh Feature Extraction Output with Original Time Series in PySpark
- TSFresh package: Difference between **rolling** extract_features vs vanilla extract_features?
- problem with "pip install tsfresh[matrixprofile]" and "pip install matrixprofile"
- Resolution of "ValueError: The following ids are in the time series container but are missing in y" in tsfresh
- How do I create a concatenated axis in python tsfresh for data visualization?
- How to extract features with tsfresh in one series
- What is the context behind V1,V2,... columns in the yearly M4 competition dataset?
- Unsupported operand type on Time series management
- How to add a custom feature calculator to the tsfresh.feature_extraction.feature_calculators submodule?
- Dask .categorize very slow
- tsfresh rolling window fails with IndexError
- How to use functions with several paramiters in a groupby
- No relevant features with tsfresh
- tsfresh package for feature extraction
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You have probably already solved your problem. I will give an answer for other people stumbling upon this question. The function
select_features(...)is correct, but only since the merge of this PR, which hasn't been released so far. So you would have to use the repo directly instead of pypi. An example doing it can be found in this tsfresh jupyter notebbok.Before you had to split you multiclass problem into binary problems. That is also described in the above mentioned notebook.