Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Artificial Intelligence
  3. Which technique to apply if function Y changes with values of X variables other than linear regression

Which technique to apply if function Y changes with values of X variables other than linear regression

Scheduled Pinned Locked Moved Artificial Intelligence
pythonregexlearning
12 Posts 8 Posters 30 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 10606583
    wrote on last edited by
    #1

    I have data in two columns, X and Y where the function Y changes for increasing values of the X variable. If Y shows variations with X, the simplest way to do this is by fitting the data with a linear function.(In python), but I am looking for some "advanced" strategy (other than linear regression, i.e., using Neural Networks or other machine learning techniques) to elaborate on these data because i also want to find pattern in it. Need guidance .

    D A J 3 Replies Last reply
    0
    • U User 10606583

      I have data in two columns, X and Y where the function Y changes for increasing values of the X variable. If Y shows variations with X, the simplest way to do this is by fitting the data with a linear function.(In python), but I am looking for some "advanced" strategy (other than linear regression, i.e., using Neural Networks or other machine learning techniques) to elaborate on these data because i also want to find pattern in it. Need guidance .

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Stop reposting the same question all over the site. ONCE in QA is enough.

      Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
      Dave Kreskowiak

      Richard DeemingR 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Stop reposting the same question all over the site. ONCE in QA is enough.

        Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
        Dave Kreskowiak

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #3

        To be fair, Andre did tell him to repost it here. :)


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        A 1 Reply Last reply
        0
        • Richard DeemingR Richard Deeming

          To be fair, Andre did tell him to repost it here. :)


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          A Offline
          A Offline
          Andre Oosthuizen
          wrote on last edited by
          #4

          Thanks, I made the suggestion as it is an AI related question.

          L 1 Reply Last reply
          0
          • U User 10606583

            I have data in two columns, X and Y where the function Y changes for increasing values of the X variable. If Y shows variations with X, the simplest way to do this is by fitting the data with a linear function.(In python), but I am looking for some "advanced" strategy (other than linear regression, i.e., using Neural Networks or other machine learning techniques) to elaborate on these data because i also want to find pattern in it. Need guidance .

            A Offline
            A Offline
            Andre Oosthuizen
            wrote on last edited by
            #5

            This is not remotely in my field of expertise, I decided to ask AI about an AI question. Please check and confirm each suggestion as it is commonly known that false values are given by ChatGPT in certain scenarios. Suggestions given by ChatGPT - You can explore more advanced techniques like polynomial regression, decision trees, random forests, support vector machines, and neural networks. Polynomial Regression: This involves fitting a polynomial equation to the data, allowing for curved relationships between X and Y. You can experiment with different polynomial degrees to capture varying degrees of complexity. Decision Trees and Random Forests: Decision trees split the data based on different conditions and can handle both linear and non-linear relationships. Random forests are an ensemble of decision trees that can handle complex relationships more effectively. Support Vector Machines (SVM): SVMs are good for both linear and non-linear patterns. They aim to find a hyperplane that best separates the data while considering a "kernel trick" to map the data into a higher-dimensional space for better separation. Neural Networks: Neural networks are capable of capturing complex patterns and relationships in data. You can design a network with multiple layers and nodes to model intricate non-linear connections between X and Y. Gradient Boosting: This ensemble technique combines multiple weak learners (usually decision trees) to create a strong predictive model. It's powerful for capturing complex relationships. K-Nearest Neighbors (KNN): This instance-based learning algorithm uses nearby data points to predict the value of a new point. It can capture local patterns that may not be apparent with global models. Clustering Algorithms: If you're interested in discovering inherent patterns in your data without a specific Y variable, clustering techniques like k-means or hierarchical clustering might be useful. Feature Engineering: Transform your features (X variables) to create new ones that might capture complex relationships more effectively. This might involve interactions, logarithmic transformations, or other functions. Time Series Analysis: If your data has a temporal component, time series techniques like ARIMA (AutoRegressive Integrated Moving Average) or LSTM (Long Short-Term Memory) networks could be useful. Dimensionality Reduction: Techniques like Principal Component Analysis (PCA) or t-SNE (t-Distributed Stochastic Neighbor Embedding) can help you visualize and analyze high-dimen

            B 1 Reply Last reply
            0
            • A Andre Oosthuizen

              Thanks, I made the suggestion as it is an AI related question.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              I wasn't aware that Q&A was "non-AI" related. It's a poor "AI question" to start with, and the whole concept of "moving the question" has made this painful.

              "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

              A 1 Reply Last reply
              0
              • L Lost User

                I wasn't aware that Q&A was "non-AI" related. It's a poor "AI question" to start with, and the whole concept of "moving the question" has made this painful.

                "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                A Offline
                A Offline
                Andre Oosthuizen
                wrote on last edited by
                #7

                Hi Gerry, I followed suit as the more experienced posters tend to send al AI questions to the AI forum because, like I do, we tend to think that a better answer or response will be achieved there than in the Q&A. I will refrain from making the suggestion again.

                L 1 Reply Last reply
                0
                • A Andre Oosthuizen

                  Hi Gerry, I followed suit as the more experienced posters tend to send al AI questions to the AI forum because, like I do, we tend to think that a better answer or response will be achieved there than in the Q&A. I will refrain from making the suggestion again.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  The redirects are usually to people who post questions relating to the CodeProject AI, and we point them to the [CodeProject.AI Discussions](https: //www.codeproject.com/Feature/CodeProjectAI-Discussions.aspx)[^] forum, rather than the general AI one here. And yes, I agree it can be confusing.

                  M 1 Reply Last reply
                  0
                  • U User 10606583

                    I have data in two columns, X and Y where the function Y changes for increasing values of the X variable. If Y shows variations with X, the simplest way to do this is by fitting the data with a linear function.(In python), but I am looking for some "advanced" strategy (other than linear regression, i.e., using Neural Networks or other machine learning techniques) to elaborate on these data because i also want to find pattern in it. Need guidance .

                    J Offline
                    J Offline
                    Jane Butt
                    wrote on last edited by
                    #9

                    If the relationship between Y and X variables in a function changes and it's not suited for linear regression like Pin, for an eighth-grade understanding, you might want to explore other methods like graphing, data clustering, or curve fitting to better understand the pattern. These techniques can help you see how Y responds to different X values in a way that goes beyond a straight line.

                    1 Reply Last reply
                    0
                    • A Andre Oosthuizen

                      This is not remotely in my field of expertise, I decided to ask AI about an AI question. Please check and confirm each suggestion as it is commonly known that false values are given by ChatGPT in certain scenarios. Suggestions given by ChatGPT - You can explore more advanced techniques like polynomial regression, decision trees, random forests, support vector machines, and neural networks. Polynomial Regression: This involves fitting a polynomial equation to the data, allowing for curved relationships between X and Y. You can experiment with different polynomial degrees to capture varying degrees of complexity. Decision Trees and Random Forests: Decision trees split the data based on different conditions and can handle both linear and non-linear relationships. Random forests are an ensemble of decision trees that can handle complex relationships more effectively. Support Vector Machines (SVM): SVMs are good for both linear and non-linear patterns. They aim to find a hyperplane that best separates the data while considering a "kernel trick" to map the data into a higher-dimensional space for better separation. Neural Networks: Neural networks are capable of capturing complex patterns and relationships in data. You can design a network with multiple layers and nodes to model intricate non-linear connections between X and Y. Gradient Boosting: This ensemble technique combines multiple weak learners (usually decision trees) to create a strong predictive model. It's powerful for capturing complex relationships. K-Nearest Neighbors (KNN): This instance-based learning algorithm uses nearby data points to predict the value of a new point. It can capture local patterns that may not be apparent with global models. Clustering Algorithms: If you're interested in discovering inherent patterns in your data without a specific Y variable, clustering techniques like k-means or hierarchical clustering might be useful. Feature Engineering: Transform your features (X variables) to create new ones that might capture complex relationships more effectively. This might involve interactions, logarithmic transformations, or other functions. Time Series Analysis: If your data has a temporal component, time series techniques like ARIMA (AutoRegressive Integrated Moving Average) or LSTM (Long Short-Term Memory) networks could be useful. Dimensionality Reduction: Techniques like Principal Component Analysis (PCA) or t-SNE (t-Distributed Stochastic Neighbor Embedding) can help you visualize and analyze high-dimen

                      B Offline
                      B Offline
                      BillWoodruff
                      wrote on last edited by
                      #10

                      great answer, thanks ! when can i enroll in your classes ? :) cheers, Bill

                      «The mind is not a vessel to be filled but a fire to be kindled» Plutarch

                      A 1 Reply Last reply
                      0
                      • B BillWoodruff

                        great answer, thanks ! when can i enroll in your classes ? :) cheers, Bill

                        «The mind is not a vessel to be filled but a fire to be kindled» Plutarch

                        A Offline
                        A Offline
                        Andre Oosthuizen
                        wrote on last edited by
                        #11

                        Thanks Bill, had a good chuckle just now. :-D

                        1 Reply Last reply
                        0
                        • L Lost User

                          The redirects are usually to people who post questions relating to the CodeProject AI, and we point them to the [CodeProject.AI Discussions](https: //www.codeproject.com/Feature/CodeProjectAI-Discussions.aspx)[^] forum, rather than the general AI one here. And yes, I agree it can be confusing.

                          M Offline
                          M Offline
                          Member_16093990
                          wrote on last edited by
                          #12

                          Thanks,, I made the suggestion as it is an AI related question.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups