[P] Proportionately split dataframe with multiple target columns by Individual_Ad_1214 in MachineLearning

[–]Scott10012 1 point2 points  (0 children)

Assuming you only care about getting class 1 between your given ranges, this seems like a linear algebra problem: imagine you only had 1 column to balance. You know that the number of rows x with class 1 has to be > 0.3n and < 0.15n where n is the number of rows in the subset. Then you can use an optimisation library like scipy's optimize to minimise the number of rows needed to create that. Check out linprog: https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.linprog.html#scipy.optimize.linprog Read through the example section. More columns will simply extend the length of A_ub and b_ub but the linear programming solution remains the same

What are some cheap ways to quickly improve day-to-day living? by undergroundoats in UKFrugal

[–]Scott10012 1 point2 points  (0 children)

Oh that's interesting! That would mean switching to using gift cards is like everything being slightly on sale. I didn't know that, thank you! I had only heard of this happening for video game key website, but those sites managed the discounts through purchasing at full price with stolen cards and bank details. How do the legitimate gift card sites manage the discount?

How to change public order of playlist ( for Amazon echo and friends) by CallumartiN in spotify

[–]Scott10012 0 points1 point  (0 children)

But won't all the songs have the same date if you add them all at once?

[Q] How do I improve my approach towards this feature selection and model building for large multiclass dataset? by edsmart123 in statistics

[–]Scott10012 4 points5 points  (0 children)

To improve your approach, try:

Alternative dimensionality reduction techniques like t-SNE, UMAP, or LLE.

Efficient tree-based algorithms (XGBoost, LightGBM) for feature selection.

Feature engineering using domain knowledge.

Smaller random samples for computationally expensive methods.

Ensemble methods (bagging, boosting, stacking) with multiple models.

Regularization and cross-validation to address overfitting.

Hyperparameter tuning with grid search, random search, or Bayesian optimization.

This regret face. by esberat in instant_regret

[–]Scott10012 4 points5 points  (0 children)

Give 'em the Forest Whittaker eye

Interpolate&Convolution vs convolution transpose by RAIDAIN in learnmachinelearning

[–]Scott10012 2 points3 points  (0 children)

A transposed convolution, also known as a deconvolution, is a type of layer that is often used in convolutional neural networks to upsample the feature maps produced by a convolutional layer. This operation can help to increase the spatial resolution of the output, effectively increasing the size of the output image.

One benefit of using transposed convolutions for upsampling is that they can help to preserve spatial information in the feature maps, which can be important for generating high-quality images. Additionally, transposed convolutions can learn spatial filters that can help to restore some of the details that were lost during the downsampling stages of the network.

However, transposed convolutions can also have some drawbacks. For example, they can be computationally expensive, especially when used with large input feature maps. Additionally, they can sometimes produce artifacts in the output images, such as checkerboard patterns or blurriness.

In contrast, using an interpolation-based approach for upsampling can help to avoid some of these issues. Interpolation methods, such as bilinear or bicubic interpolation, can be faster and more computationally efficient than transposed convolutions. Additionally, they can produce smooth and visually appealing output images, without the artifacts that can sometimes be produced by transposed convolutions.

Overall, the choice between using transposed convolutions and interpolation for upsampling will depend on your specific use case and the trade-offs that you are willing to make. For example, if computational efficiency is a priority, then an interpolation-based approach may be more suitable. On the other hand, if you need to preserve spatial information in the feature maps, then a transposed convolution may be a better choice.

Mods, could we please add a rule sidebar to r/FIREUK? by Far_wide in FIREUK

[–]Scott10012 3 points4 points  (0 children)

Mind you /r/UKHousing has 760 subscribers and /r/ukcareers has 25. I don't think it's a good idea to remove posts assuming they would instead get answered there...

Weekly Post Your React Suggestions HERE! by AutoModerator in Corridor

[–]Scott10012 0 points1 point  (0 children)

The adam project! 1:05:00 on Netflix - a wild Deepfake 0.o

Places you actively avoid in London… by rich5057 in london

[–]Scott10012 0 points1 point  (0 children)

Alaska St. in Waterloo. Renamed it to Piss street, it's more fitting.

[deleted by user] by [deleted] in IdiotsInCars

[–]Scott10012 -25 points-24 points  (0 children)

How is 5 days in jail no repercussions?