scikit-learn tag

21 questions


1 answers
439 views
0
Error on scikit-learn: ValueError: Expected 2D array, got1D array installed:

An error occurred when sklearn tried to fit the decision tree algorithm by separating the training data from the test data.I don't know how to solve it, so please point it out if you like.import numpy...


1 answers
416 views
0
Error in train_test_split on scikit-learn: ValueError: not enough values to unpack (expected 5, got 4)

I'm a beginner at Python and I'm doing epidemiological research using machine learning, but I don't know if it's the right way to proceed.Currently, I am having trouble adjusting hyperparameters.If yo...


1 answers
367 views
0
Please tell me how to resolve the error message "cannot import name 'plot_confusion_matrix 'from 'sklearn.metrics' in scikit-learn.

Using SVM's regressoar, we are trying to conduct an assessment analysis of financial markets.After coding with reference to the text, the last line plot_confusion_matrix, plot_roc_curve failed to proc...

1 years ago

1 answers
296 views
0
Please tell me how to resolve the error message "cannot import name 'plot_confusion_matrix 'from 'sklearn.metrics' in scikit-learn.

Using SVM's regressoar, we are trying to conduct an assessment analysis of financial markets.After coding with reference to the text, the last line plot_confusion_matrix, plot_roc_curve failed to proc...

1 years ago

1 answers
380 views
0
What is the difference between libraries and frameworks?

What is the difference between a library and a framework?When I was studying for the G test NumPyscikit-learnappeared in both the library description and the framework description.Do both happen to sp...

1 years ago

2 answers
158 views
0
Differences in evaluation between training and test data

I'm doing a competition problem with Python that predicts a certain number.We took only the available feature quantities from the given training data and similarly took the same feature quantities fro...


1 answers
118 views
0
a method of finding data that can be used as a feature by means of differences

I'm thinking of using the average difference when I select feature quantities for clustering.I believe that if we select the characteristic amount of the attributes with the larger average difference ...


1 answers
109 views
0
P value when logistic regression is performed using Python

Python, I'm a beginner in machine learning in about a week.I'm sorry it's a very rudimentary question, but I'd appreciate it if you could help me.I'm thinking of doing logistic regression analysis usi...


2 answers
60 views
0
About n_jobs in sklearn

I tried to use grid search code for sklearn's random forest as below. If n_jobs is -1, it will be calculated in parallel with the best number of cores, so I did so. If n_jobs=1, it will take a few sec...

1 years ago

1 answers
111 views
0
Error in clustering images using scikit-learn/k-means

There is a program that uses SURF to extract feature quantities from jpg image files in a directory, group all SURFs using the k-means method to find visual word, and use it to make a list of local fe...

1 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.