No, there isn’t. Somebody’s working on this and the patch might be merged into mainline some day, but right now there’s no support for categorical variables in scikit-learn except dummy (one-hot) encoding.
Related Posts:
- Got continuous is not supported error in RandomForestRegressor
- No module named ‘sklearn.cross_validation’
- ValueError: Unknown label type: ‘continuous’
- Converting list to numpy array
- sklearn error ValueError: Input contains NaN, infinity or a value too large for dtype(‘float64’)
- sklearn error ValueError: Input contains NaN, infinity or a value too large for dtype(‘float64’)
- TypeError: cannot perform reduce with flexible type
- sklearn error ValueError: Input contains NaN, infinity or a value too large for dtype(‘float64’)
- How to normalize a NumPy array to a unit vector?
- ModuleNotFoundError: No module named ‘sklearn’
- Arrays used as indices must be of integer (or boolean) type
- How can I plot a confusion matrix? [duplicate]
- ModuleNotFoundError: No module named ‘sklearn’
- How to normalize a NumPy array to a unit vector?
- Arrays used as indices must be of integer (or boolean) type
- sklearn Logistic Regression “ValueError: Found array with dim 3. Estimator expected <= 2."
- RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility
- Difference between scikit-learn and sklearn
- Get Confusion Matrix From a Keras Multiclass Model
- What’s the difference between scikit-learn and tensorflow? Is it possible to use them together?
- Scikit-learn GridSearch giving “ValueError: multiclass format is not supported” error
- ImportError in importing from sklearn: cannot import name check_build
- ImportError: No module named model_selection
- how to check which version of nltk, scikit learn installed?
- Python/Scikit-Learn – Can’t handle mix of multiclass and continuous
- ValueError: multiclass format is not supported
- Create a file if it doesn’t exist
- Python datetime to string without microsecond component
- ImportError: No module named pandas
- How to change the order of DataFrame columns?
- How to move a file in Python?
- RuntimeWarning: invalid value encountered in divide
- IndentationError: unexpected indent error
- Numpy ValueError: setting an array element with a sequence. This message may appear without the existing of a sequence?
- Python SyntaxError :’return’ outside function
- Python error “ImportError: No module named”
- How do I append one string to another in Python?
- What do these operators mean (** , ^ , %, //)? [closed]
- Is there a simple, elegant way to define singletons? [duplicate]
- How can I use the apply() function for a single column?
- positional argument follows keyword argument
- Error: ” ‘dict’ object has no attribute ‘iteritems’ “
- pandas DataFrame “no numeric data to plot” error
- How to upgrade pip3?
- SyntaxError: multiple statements found while compiling a single statement
- Getting key with maximum value in dictionary?
- Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?
- How do I parallelize a simple Python loop?
- TypeError: ‘str’ object cannot be interpreted as an integer [duplicate]
- Updating matplotlib in virtualenv with pip
- Is the standard Python implementation considered as a programming language or a scripting language?
- Python – from . import
- SystemError: Parent module ” not loaded, cannot perform relative import
- How to remove anaconda from windows completely?
- SyntaxError: non-default argument follows default argument
- How to do while loops with multiple conditions
- What is a mixin, and why are they useful?
- Python equivalent to ‘hold on’ in Matlab
- What does __contains__ do, what can call __contains__ function
- Python: find position of element in array
- How to get pip to work behind a proxy server
- How to POST JSON data with Python Requests?
- Determine the type of an object?
- enumerate() for dictionary in python
- How to convert a PIL Image into a numpy array?
- How to get autocomplete in jupyter notebook without using tab?
- No Module Named ‘_pywrap_tensorflow_internal’
- Pop index out of range
- Is it possible to ignore one single specific line with Pylint?
- Print list without brackets in a single row
- Get first row value of a given column
- AttributeError: ‘module’ object has no attribute
- In Python How can I declare a Dynamic Array
- Python module for converting PDF to text
- from sys import argv – what is the function of “script”
- How can I check if character in a string is a letter? (Python)
- OSError: Initializing from file failed on csv in Pandas
- What does the Ellipsis object do?
- How to concatenate items in a list to a single string?
- python pip on Windows – command ‘cl.exe’ failed
- pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
- How do I run pip on python for windows?
- How to get the text cursor position in Windows?
- python NameError: global name ‘__file__’ is not defined
- Rename specific column(s) in pandas
- How to create a numpy array of lists?
- Could not install packages due to an EnvironmentError: [Errno 13]
- No module named django but it is installed
- What is the purpose of dollar sign in this Python3 string formatting expression?
- Superscript in Python plots
- threshold in 2D numpy array
- What is the difference between ‘SAME’ and ‘VALID’ padding in tf.nn.max_pool of tensorflow?
- How to install NumPy for Python 3.6
- Hashing arrays in Python
- TypeError: fit() missing 1 required positional argument: ‘y’
- Mutable strings in Python
- Inserting image into IPython notebook markdown
- Writing Python lists to columns in csv
- python’s re: return True if string contains regex pattern
- How to import a csv-file into a data array?