When we use polynomial features in case of polynomial regression, logistic regression, svm , does the loss function becomes non convex ?
Does loss function becomes non convex when we add polynomial features?
781 views Asked by arjun pukale At
1
There are 1 answers
Related Questions in MACHINE-LEARNING
- Trained ML model with the camera module is not giving predictions
- Keras similarity calculation. Enumerating distance between two tensors, which indicates as lists
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- How to predict input parameters from target parameter in a machine learning model?
- The training accuracy and the validation accuracy curves are almost parallel to each other. Is the model overfitting?
- ImportError: cannot import name 'HuggingFaceInferenceAPI' from 'llama_index.llms' (unknown location)
- Which library can replace causal_conv1d in machine learning programming?
- Fine-Tuning Large Language Model on PDFs containing Text and Images
- Sketch Guided Text to Image Generation
- My ICNN doesn't seem to work for any n_hidden
- Optuna Hyperband Algorithm Not Following Expected Model Training Scheme
- How can I resolve this error and work smoothly in deep learning?
- ModuleNotFoundError: No module named 'llama_index.node_parser'
- Difference between model.evaluate and metrics.accuracy_score
- Give Bert an input and ask him to predict. In this input, can Bert apply the first word prediction result to all subsequent predictions?
Related Questions in REGRESSION
- My MSE and MAE are low, but my R2 is not good, how to improve it?
- The regression problem of predicting multiple outputs from two-dimensional inputs
- "wrong model type for regression" when attempting multinomial model with caret
- Regression equation of a stacked difference-in-difference analysis in R
- Plotting multiple grouped scatter graphs with regression lines on the same axes
- Calculate RMSE for RF regression hyperparameter tuning in GEE encountering issue with error "(...)List<FeatureCollection>."
- Error in eval(predvars, data, env) : object 'Juice_practice' not found when running binary logistic regression in r
- GMMAT model fit and AIC
- Fitting a curve using Linear regression - CLS and NMF
- Specific Dataset causes the glm.nb fucntion to crash for no apparent reason when attempting to perform regression
- names of data do not match with tip labels Error in R phylolm with Missing Data
- Fixed effect panel regression gives coefficients for each year
- Time series model specification
- Inlier subset is incoherent with is_data_valid in RANSAC
- ANN Loss not reducing for Boston house price Data Set
Related Questions in CLASSIFICATION
- While working on binary image classification, the class mode set to binary incorrectly labels the images, but does it correct on categorical
- Decision tree using rpart for factor returns only the first node
- Can someone interpret my Binary Cross Entropy Loss Curve?
- The KNN model I am using is always coming back at 100% accuracy but it shouldn't be
- Normal Bayes Classification
- Outlier removing based on spectral signal in Google Earth Engine (GEE)
- Questions of handling imbalance dataset classification
- How to quantify the consistency of a sequence of predictions, incl. prediction confidence, using standard function from sklearn or a similar library
- Audio data preprocessing in Machine Learning
- Why is my validation accuracy not as smooth as my validation loss?
- sklearn ComplementNB: only class 0 predictions for perfectly seperable data
- Stacking Ensamble Learning for MultilabelClassification
- How to convert frame features and frame mask as a single variable data?
- Input size and sequence length of lstm pytorch
- Classification techniques for continuous arrays as inputs and scalar categorical variable as output
Related Questions in LOSS-FUNCTION
- Loss is not changing. Its remaining constant
- Formula for Cross-Entropy Loss for Vector Inputs
- Why is my keras custom loss function not working properly when training my model?
- R package tabnet, how to change the loss to balanced accuracy?
- Trying to train a denoising autoencoder for inpainting missing information
- Locally blocking gradient update for nested neural network
- Why is learning rate optimization to pure NumPy implementation of Linear Regression so ineffective?
- Why these two loss function are not the same?
- Designing Loss Function for Multi-Label Classification Problem with Fixed Number of Labels
- Multivariate Regression task where some variables are easy, some hard and some impossible to predict
- Custom Loss Function with Principal Component Angle Calculation in PyTorch Not Differentiable?
- Gradient Difference Loss of two images in TensorFlow
- XGBoost custom & default objective and evaluation functions
- Weigh the losses for Supervised VAE Classifier
- Calculating loss in VAE model with Multiple Input Single Output scenario
Related Questions in NON-CONVEX
- Has the Convergence of Mini-Batch SGD on L-Smooth Non-Convex Functions Been Studied?
- Wrong convergence of a complex MINLP
- SDP Problem: No Correct Solutions Obtained using cvxpy in Python
- What is the best way to store multiple sets 2D coordinates (R2 x n) in sorted format in python?
- Problem with constraint tolerance when using MPCC formulation in GEKKO
- My largest bound violation is CPLEX showing in e^6 range. What does it indicates? But the solutions are within my expectations
- Solving optimization with norm constraints (non-convex QCQP)
- How to address Non Convex optimization in deep learning?
- How to set NonConvex = 2 in Gurobi in R?
- Algorithm for convex hull of overlapping rectangles
- Python packages for multi-objective optimization using Successive Quadratic Programming (SQP)
- Python package for implementing branch-and-bound technique for solving a non-convex non-linear integer multi-objective optimization problem?
- does CPLEX really bound the global solution of a nonconvex MIQP?
- how to convert or transform a norm square equation to a concave form?
- Non-convex optimization with linear constraints
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?
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)
If a loss function is convex for any choice of
X -> yyou're trying to estimate then adding a fixed set of polynomial features won't change that. You're simply trading your initial problem with the estimation problemX' -> y, whereX'has the additional features.If you're additionally trying to estimate the parameters for the new feature(s) then it's pretty easy to get a non-convex loss in those dimensions (assuming there are parameters to choose -- if you're just talking about adding a polynomial basis then this doesn't apply).
As some measure of proof, take the example of a 1D estimation problem and choose the feature
f(x) = (x-a)^3. Assume your dataset has the single point(0, 0). With a little work you can show that the loss even for linear regression over the new feature is non-convex in places with respect to the parametera. Note that the loss IS still convex with respect to the new features -- standard linear regression always satisfies that property -- it's the fact that we used linear regression along with a choice of polynomial to build a new non-convex regressor that causes this behavior.