Skip to main content
Tooling
0 votes
0 replies
48 views

I'm looking for a good package to train a linear quantile regression model, i.e. $\hat y = \sum_{i=1}^n w_i \cdot X_i$. With $x_i$ are the input features, and $w_i$ are the bounded trainable weights. ...
student13's user avatar
0 votes
0 answers
19 views

Problem: In sklearn Random Forest classifier, the class labelling influences the gini importance of features. I would expect the labelling of classes should not influence the importance values and ...
Micha's user avatar
  • 1
-1 votes
1 answer
60 views

In order to investigate whether the decisions of a CNN for image classification are predominantly driven by image regions related to relatively fine object features, I am looking for an image ...
Adrian Straker's user avatar
0 votes
1 answer
39 views

I'm trying to create a PMML from a model, using this way : from sklearn.preprocessing import LabelEncoder y_h_train = LabelEncoder().fit_transform(y_train.copy(deep=True)) modele_label_encoded = ...
Adept's user avatar
  • 564
0 votes
1 answer
63 views

I am trying to save the output from sklearn.smv.SVC training when verbose=True to a log-file. However, since it uses LibSVM in the back-end, I cannot figure out how this works. Copilot hasn't helped. ...
Geoff Klein's user avatar
Advice
1 vote
2 replies
127 views

I am struggling to get my ML model to accept the input and outputs that I need. My aim is to have it accept this as the input: input_x = [ ((4.11, 8.58, -2.2), (-1.27, -8.76, 2.23)), ((0.43, -...
Nefariis's user avatar
  • 3,599
3 votes
0 answers
107 views

I’m working on a machine learning project using MLflow for experiment tracking (on macOS, Python 3.12, scikit-learn, and DagsHub as the tracking server). The experiment runs successfully — I see the ...
shahar cohen's user avatar
0 votes
0 answers
95 views

Code: import numpy as np import sklearn as skl data = np.genfromtxt("water_potability.csv", delimiter = ",", names = True) print(data) print(data.shape) print(type(data[0])) ...
Alison's user avatar
  • 77
0 votes
0 answers
123 views

According to the sklearn docs the shape of tree_.value is [n_nodes, n_classes, n_outputs]. I just wanted to ask if this is still correct. I think the correct shape is [n_nodes, n_outputs, n_classes] ...
cockatiel's user avatar
  • 104
2 votes
1 answer
126 views

I have recently noticed that when I change the order of the observations in a sparse array, scikit-learn PCA with svd_solver="arpack" returns different floating point numbers. Is this an ...
Osman Merdan's user avatar
2 votes
0 answers
59 views

I'm doing a small program that is supposed to classify the data of the Wisconsin Breast Cancer database contained in sklearn.datasets using Quantum Neural Networks (specifically EstimatorQNN). I think ...
Andrea Bianchi's user avatar
0 votes
0 answers
80 views

I'm trying to document a variety of classes that use scikit-learn bases BaseEstimator and TransformerMixin. Sphinx builds with a warning that, /home/jake/github/proj/pkg/__init__.py:docstring of ...
Jake Stevens-Haas's user avatar
0 votes
3 answers
201 views

I am facing a problem in maintaining the reproducibility in the ML project. I believe the core snippet of my issue is clf = Clf(random_state=cfg.seed) # instantiate the K-fold cross-validation ...
Rubem Pacelli's user avatar
0 votes
0 answers
78 views

I'm deploying a Flask ML application with book recommendations to Render, but I'm experiencing a persistent issue where my health endpoint always returns "model_loaded": false, "status&...
Alu's user avatar
  • 45
0 votes
1 answer
68 views

I’m trying to evaluate classification models on a highly imbalanced fraud dataset using the Brier Skill Score (BSS) as the evaluation metric. The dataset has ~2133 rows and the target Fraud_Flag is ...
Br0k3nS0u1's user avatar

15 30 50 per page
1
2 3 4 5
1881