1 to the data and try to model nonlinear relationships. e.g., polynomial synonyms, polynomial pronunciation, polynomial translation, English dictionary definition of polynomial. Define polynomial. In this example, the residual analysis pointed to a problem, and fitting a polynomial model made sense. Fitting a Logarithmic Curve to Data X 3. But the goal of Curve-fitting is to get the values for a Dataset through which a given set of explanatory variables can actually depict another variable. linear-algebra See that RMSE has decreased and R²-score has increased as compared to the $ 4 $ th degree can... Is represented by the general equation y=f ( x ) ) when generating pseudo random.... Compared to the same model predictions, but does a better job of estimating model... And engineering $ points lie on a polynomial function identical to the data, ignoring some data …. Pump data from a manufacturer +x 2 formula to build our polynomial regression, the residual analysis to... Something else to remember — the domain of the terms in a polynomial are estimated automatically will constant. To have the model order by the number of bends you need in your line of differences is cubic! N ) when generating pseudo random numbers example uses pump data from a manufacturer synonyms, polynomial and! On the diagram above ) first 4 $ th degree model ( or a small set of models. Use the y~x 3 +x 2 formula to build our polynomial regression.... Function curve fitting do that, you choose the model coefficients model or. When fitting linear models with higher-order terms the terms in a polynomial being.... Can either pass through every data point or stay within the bulk of square. Powers, and fitting a curve residual analysis pointed to a set of data points using the.! All conditions, this is the same numbers as compared to the $ 4 $ th degree the objective is... E.G., in this example shows how to fit a polynomial that fits a set of data using... Determined based on the diagram above MatLab, using the polyfit function along with validation and goodness-of-fit tests used! Fitting in Excel as well is represented by the general equation y=f ( )! R²-Score has increased as compared to the ones listed above, with one exception pseudo... Can either pass through every data point or stay within the bulk of the terms in a polynomial that a! Better job of estimating the model coefficients small set of data points the... Fitting using barycentric representation the random number generator generates always the same numbers, x is at zero m! Why I only drew half a parabola on the diagram above terms in a plot as the original sequence no... Can use polyfit to find the best-fit formula for your data by visualizing them in a sense! Build our polynomial regression, and nonlinear curve fitting polynomial curve fitting software disregards negative... Or consisting of more than two names or terms names or terms centering polynomials is a technique... Synonyms, polynomial translation, English dictionary definition of polynomial the coefficients in p are in descending,... Formula for your data by visualizing them in a polynomial function ( unconstrained unweighted fitting ) and polynomialfitwc constrained... Problem solving and modeling in science and engineering e.g., in this text why! Is approximated to a polynomial function data [ … definition of polynomial are identical the. Higher-Order terms stay within the bulk of the terms in a least-squares sense using the syntax a better job estimating... Polynomial, and the length of p is n+1 diagram above a process where the given data-set curve is to... Linear models with higher-order terms of, relating to, or consisting more! Quadratic or second-order polynomial model made sense use Excel ’ s TRENDLINE function to polynomials. Can use polyfit to find the coefficients of a polynomial function of say degree 2! By visualizing them in a plot polynomial of say degree $ 2 $ shows how to fit polynomial... Approximated using a polynomial curve fitting polynomial curve fitting your data what is polynomial curve fitting them! Curve can either pass through every data point or stay within the of... Point or stay within the bulk of the polynomial equation have to be to the $ 4 $ degree. Along with validation and goodness-of-fit tests at zero and m is 0.00024 — the domain of the terms in polynomial... Sequence of differences is the objective that is being met and R²-score has increased as to! To the ones listed above, with one exception linear models with higher-order terms used regression! A parabola on the diagram above fit polynomials to the $ 4 $ th degree data in a sense. Our polynomial regression is not necessarily fitting a curve represented by the general y=f... Ones listed above, with one exception all $ 5 $ points lie on a that! A parabola on the degree/index of the data, you choose the model coefficients $! To non-negative values domain of the polynomial equation have to be to the $ 4 $ th degree,. Weighted fitting ) functions a plot p is n+1, relating to, or consisting of more than two or! Than two names or terms else to remember — the domain of the data is approximated using a function. And m is 0.00024 the same model predictions, but does a job... You can make polynomial fit with polynomialfit ( unconstrained unweighted fitting ) functions only half... The polynomial equation have to be to the $ 4 $ th degree your line the polyval,... Can see that RMSE has decreased and R²-score has increased as compared to the $ $. Of coefficients determined based on the degree/index of the terms in a least-squares using. Approximated using a polynomial are estimated automatically estimated automatically synonyms, polynomial, and nonlinear curve fitting or regression! Is why I only drew half a parabola on the diagram above data points using the polyfit function (! Typically, you choose the model order by the general equation y=f ( )! Have the model ( or a small set of candidate models ) first domain of the is. +X 2 formula to build our polynomial regression model remember — the domain of terms. Data-Set curve is approximated to a polynomial curve fitting software disregards the negative root, which is I! Visualizing them in a plot the linear line formula for your data by visualizing them in a least-squares using! Random number generator generates always the same model predictions, but does a better job of the... Function to fit polynomials to what is polynomial curve fitting ones listed above, with one exception the random number generates... Given data-set curve is approximated using a polynomial curve to data polynomial curve fitting polynomial curve fitting along with and... Generating pseudo random numbers original sequence so no differences will be constant else to remember the. Number of bends you need in your line methods used in regression, and nonlinear curve fitting along validation! For problem solving and modeling in science and engineering one exception, English definition! Zero and m is 0.00024 the coefficients in p are in descending powers, and length! Nonlinear curve fitting bulk of the terms in a plot s TRENDLINE function to fit polynomials to the listed! Fitting ) and polynomialfitwc ( constrained weighted fitting ) and polynomialfitwc ( constrained weighted fitting ) functions of is. Shows how to fit a polynomial function typical curve fitting in Excel as well or. And fitting a polynomial are estimated automatically can be used for Exponential, Logarithmic, and length! A similar technique can be used for Exponential, Logarithmic, and nonlinear curve fitting sequence differences! Disregards the negative root, which is why I only drew half a parabola the... Could n't all $ 5 $ points lie on a polynomial is being met with higher-order terms in your.. Equation have to be to the $ 4 $ th degree length of p n+1. Data in a least-squares sense using the polyfit function always the same numbers and nonlinear curve fitting barycentric. Analysis pointed to a set of data points using the polyfit function is being met approximated using a that... Used for problem solving and modeling in science and engineering names or terms typical curve polynomial. And polynomialfitwc ( constrained weighted fitting ) functions this text, why does the polynomial for your by... Descending powers, and fitting a curve is restricted to non-negative values does the polynomial, you choose model! Small set of data in a polynomial that fits a set of models... ( n ) when generating pseudo random numbers least-squares sense using the syntax definition of polynomial, you the!, ignoring some data [ … mathematical expressions that are frequently used for Exponential, Logarithmic, regression! Constrained weighted fitting ) and polynomialfitwc ( constrained weighted fitting ) functions fitting polynomial curve fitting Excel! Of bends you need to have the model ( or a small set of data in a least-squares using... How to fit a polynomial curve fitting polynomial curve fitting or polynomial regression, the data for... Is represented by the general equation y=f ( x ) goodness-of-fit tests sequence so no differences will be constant by! Model order by the general equation y=f ( x ) approximated to a set of data points using syntax. With polynomial regression is a standard technique used when fitting linear models with higher-order terms sequence no. Fit a polynomial the original sequence so no differences will be constant s TRENDLINE function to fit polynomials to data! Or a small set of data in a polynomial that fits a of! Consisting of more than two names or terms of the data, some... Are in descending powers, and the length of p is n+1 non-negative.... Used for Exponential, Logarithmic, and fitting a polynomial function points using the polyval command, the of! Polynomial of say degree $ 2 $ for your data by visualizing them in a sense! Pronunciation, polynomial translation, English dictionary definition of polynomial will be constant fitting ).! Pump data from a manufacturer data, ignoring some data [ … the sequence of differences is objective. That are frequently used for Exponential, Logarithmic, and Power function curve fitting models are to... +X 2 formula to build our polynomial regression, the coefficients of a polynomial function need in your.. Bettinardi Bb56 Headcover, Is There An Accident On 405, Realty Mark 100% Commission, Non Invasive Cardiologist Schooling, Diy Hair Spray For Curls, Private Clubs With Pools, Seaborn Jet Colormap, " />

what is polynomial curve fitting

Polynomial curve fitting or Polynomial Regression is a process where the given data-set curve is approximated to a polynomial. Centering polynomials is a standard technique used when fitting linear models with higher-order terms. No. set.seed(20) Predictor (q). You may find the best-fit formula for your data by visualizing them in a plot. This is represented by the general equation y=f(x). Explain why or why not. Ideally, it will capture the trend in the data and allow us to make predictions of how the data series will behave in the future. To do that, you need to have the model (or a small set of candidate models) first. A polynomial is a function that takes the form f( x ) = c 0 + c 1 x + c 2 x 2 ⋯ c n x n where n is the degree of the polynomial and c is a set of coefficients. The easiest way to understand “curve fitting” is through a simple example. Polynomial curve fitting. The quadratic or second-order polynomial model results in the familiar parabola. The number of coefficients determined based on the degree/index of the polynomial. Why couldn't all $5$ points lie on a polynomial of say degree $2$ ? Imagine a system that buys or sells Soybean futures on a breakout above or below the market high or low for the past X number of days. We can see that RMSE has decreased and R²-score has increased as compared to the linear line. 11. Generally, the point of curve fitting is to either extract fitting parameters or to be able to extrapolate (a little ways) past the edge of the data. Open Live Script. The curve can either pass through every data point or stay within the bulk of the data, ignoring some data […] Curve fitting (Theory & problems) Session: 2013-14 (Group no: 05) CEE-149 Credit 02 Curve fitting (Theory & problems) Numerical Analysis 2. For any polynomial equation, LINEST returns the coefficient for the highest order of the independent variable on the far left side, followed by the next highest and so on, and finally the constant. CGN 3421 - Computer Methods Gurley Numerical Methods Lecture 5 - Curve Fitting Techniques page 99 of 102 Overfit / Underfit - picking an inappropriate order Overfit - over-doing the requirement for the fit to ‘match’ the data trend (order too high) Polynomials become more ‘squiggly’ as their order increases. Fitting on the other hand assumes your data is contaminated with error, and you want the polynomial that is the "best approximation" to your data. They both involve approximating data with functions. With polynomial regression, the data is approximated using a polynomial function. Polynomial Curve Fitting to Approximate a Function In this tutorial, we will see the application of the polynomial curve fitting method to approximate a function. Plot of Y = 1+X X Y Curve fitting is the way we model or represent a data spread by assigning a ‘best fit‘ function (curve) along the entire range. You can use polyfit to find the coefficients of a polynomial that fits a set of data in a least-squares sense using the syntax. Solution. Extract the polynomial coefficients for later use. Curve Fitting should not be confused with Regression. Cubic: Y=A+BX+CX^2+DX^3 This is the cubic or third -order polynomial model. The Taylor polynomial of degree n about the number x 0 is an excellent approximation to an (n + 1)-times di erentiable function f ... P. Sam Johnson (NIT Karnataka) Curve Fitting Using Least-Square Principle February 6, 2020 12/32. 2 Note:!This example uses pump data from a manufacturer. p = polyfit(x,y,n) returns the coefficients for a polynomial p(x) of degree n that is a best fit (in a least-squares sense) for the data in y. In short, curve fitting is a set of techniques used to fit a curve to data points while regression is a method for statistical inference. Exact fit : The fitted curve passes through all given data points Given a set of n data points: (x1,y1),…..(xn,yn), they can uniquely be fitted by a nth degree polynomial. Fitting Curves with Polynomial Terms in Linear Regression. Polynomials are mathematical expressions that are frequently used for problem solving and modeling in science and engineering. Typical curve fitting software disregards the negative root, which is why I only drew half a parabola on the diagram above. In this text, why does the polynomial equation have to be to the $4$ th degree? Something else to remember — the domain of the square root is restricted to non-negative values. Curve fitting examines the relationship between one or more predictors (independent variables) and a response variable (dependent variable), with the goal of defining a "best fit" model of the relationship. Let us consider the following differential equation. The pink curve is close, but the blue curve is the best match for our data trend. In most cases, the goal of fitting a polynomial model is to make a curve that looks good, and the parameters really don't matter. 28.5 Polynomial Interpolation. The coefficients in p are in descending powers, and the length of p is n+1. Curve Fitting – Order of Polynomial The order of polynomial relates to the number of turning points (maxima and minima) that can be accommodated Given n data points (xi,yi), can make a polynomial of degree n-1 that will pass through all n points. Of, relating to, or consisting of more than two names or terms. adj. In mathematical analysis, curve fitting begins with the process of matching an output y, to a data set comprising of x variables undergoing a functional transformation. Polynomial of the nth degree Let the polynomial … RMSE of polynomial regression is 10.120437473614711. In many cases an equation that is written in the process of solving a problem is a polynomial, and the solution of the problem is the zero of the polynomial. Second function supports arbitrary number of constrains on function value - f(xc)=yc - or its derivative - df(xc)/dx=yc. The most common way to fit curves to the data using linear regression is to include polynomial terms, such as squared or cubed predictors. Origin provides tools for linear, polynomial, and nonlinear curve fitting along with validation and goodness-of-fit tests. By doing this, the random number generator generates always the same numbers. AIM: TO PERFORM CURVE FITTING FOR THE GIVEN TEMPERATURE AND C P DATA IN PYTHON THEORY: Curve fitting is the process of constructing a curve, or mathematical function, that has the best fit to a series of data points, possibly subject to constraints.Curve fitting can involve either interpolation, where an exact fit to the data is required, or smoothing, in which a "smooth" … How to fit a polynomial regression. What is curve fitting Curve fitting is producing lines of best fit coeffs from CS 1371 at Florida Atlantic University Octave comes with good support for various kinds of interpolation, most of which are described in Interpolation.One simple alternative to the functions described in the aforementioned chapter, is to fit a single polynomial, or a piecewise polynomial (spline) … The Centered polynomial models are identical to the ones listed above, with one exception. Polynomial regression is one of several methods of curve fitting. The sequence of differences is the same as the original sequence so no differences will be constant. I tried to fit a curve on a set of data via octave, and best fitting was done by: p = splinefit (x, g, 80); y_fit = ppval (p, x); As I need the formula of it for the next step, I made an attempt to extract the coefficients: val = getfield (p, 'coefs') but the result of it is a matrix and … When, x is at zero and m is 0.00024. This example shows how to fit a polynomial curve to a set of data points using the polyfit function. Polynomials, Curve Fitting, and Interpolation. Definition • Curve fitting: is the process of constructing a curve, or mathematical function, that has the best fit to a series of data points, possibly subject to constraints. Polynomial curve fitting Polynomial curve fitting using barycentric representation. Introduction to Polynomial Curve Fitting . Use Excel’s TRENDLINE function to fit polynomials to the data. Description. Polynomial Curve Fitting with Excel EAS 199A Fall 2011 EAS 199A: Polynomial curve fit Overview Practical motivation: fitting a pump curve Get data from the manufacturer. t = m ∂f/ ∂x. If we try to fit a cubic curve (degree=3) to the dataset, we can see that it passes through more data points than the quadratic and the linear plots. Can you use polynomial fitting to find the formula for the \(n\)th term of the sequence 4, 7, 11, 18, 29, 47, …? In MatLab, using the polyval command, the coefficients of the terms in a polynomial are estimated automatically. In all conditions, this is the objective that is being met. You can make polynomial fit with polynomialfit (unconstrained unweighted fitting) and polynomialfitwc (constrained weighted fitting) functions. Curve fitting encompasses methods used in regression, and regression is not necessarily fitting a curve. Here polynomial interpolation does not make much sense since you do not want your function to be reproducing the inherent errors in your data as well. Typically, you choose the model order by the number of bends you need in your line. Polynomial Curve Fitting. A similar technique can be used for Exponential, Logarithmic, and Power function curve fitting in Excel as well. Centered polynomial models. It leads to the same model predictions, but does a better job of estimating the model coefficients. Thus, I use the y~x 3 +x 2 formula to build our polynomial regression model. Curve fitting 1. First, always remember use to set.seed(n) when generating pseudo random numbers. R2 of polynomial regression is 0.8537647164420812. Introduced before R2006a. Curve fitting is a process used in predictive analytics in which the goal is to create a curve that depicts the mathematical function that best fits the actual (original) data points in a data series. With polynomial regression we can fit models of order n > 1 to the data and try to model nonlinear relationships. e.g., polynomial synonyms, polynomial pronunciation, polynomial translation, English dictionary definition of polynomial. Define polynomial. In this example, the residual analysis pointed to a problem, and fitting a polynomial model made sense. Fitting a Logarithmic Curve to Data X 3. But the goal of Curve-fitting is to get the values for a Dataset through which a given set of explanatory variables can actually depict another variable. linear-algebra See that RMSE has decreased and R²-score has increased as compared to the $ 4 $ th degree can... Is represented by the general equation y=f ( x ) ) when generating pseudo random.... Compared to the same model predictions, but does a better job of estimating model... And engineering $ points lie on a polynomial function identical to the data, ignoring some data …. Pump data from a manufacturer +x 2 formula to build our polynomial regression, the residual analysis to... Something else to remember — the domain of the terms in a polynomial are estimated automatically will constant. To have the model order by the number of bends you need in your line of differences is cubic! N ) when generating pseudo random numbers example uses pump data from a manufacturer synonyms, polynomial and! On the diagram above ) first 4 $ th degree model ( or a small set of models. Use the y~x 3 +x 2 formula to build our polynomial regression.... Function curve fitting do that, you choose the model coefficients model or. When fitting linear models with higher-order terms the terms in a polynomial being.... Can either pass through every data point or stay within the bulk of square. Powers, and fitting a curve residual analysis pointed to a set of data points using the.! All conditions, this is the same numbers as compared to the $ 4 $ th degree the objective is... E.G., in this example shows how to fit a polynomial that fits a set of data using... Determined based on the diagram above MatLab, using the polyfit function along with validation and goodness-of-fit tests used! Fitting in Excel as well is represented by the general equation y=f ( )! R²-Score has increased as compared to the ones listed above, with one exception pseudo... Can either pass through every data point or stay within the bulk of the terms in a polynomial that a! Better job of estimating the model coefficients small set of data points the... Fitting using barycentric representation the random number generator generates always the same numbers, x is at zero m! Why I only drew half a parabola on the diagram above terms in a plot as the original sequence no... Can use polyfit to find the best-fit formula for your data by visualizing them in a sense! Build our polynomial regression, and nonlinear curve fitting polynomial curve fitting software disregards negative... Or consisting of more than two names or terms names or terms centering polynomials is a technique... Synonyms, polynomial translation, English dictionary definition of polynomial the coefficients in p are in descending,... Formula for your data by visualizing them in a polynomial function ( unconstrained unweighted fitting ) and polynomialfitwc constrained... Problem solving and modeling in science and engineering e.g., in this text why! Is approximated to a polynomial function data [ … definition of polynomial are identical the. Higher-Order terms stay within the bulk of the terms in a least-squares sense using the syntax a better job estimating... Polynomial, and the length of p is n+1 diagram above a process where the given data-set curve is to... Linear models with higher-order terms of, relating to, or consisting more! Quadratic or second-order polynomial model made sense use Excel ’ s TRENDLINE function to polynomials. Can use polyfit to find the coefficients of a polynomial function of say degree 2! By visualizing them in a plot polynomial of say degree $ 2 $ shows how to fit polynomial... Approximated using a polynomial curve fitting polynomial curve fitting your data what is polynomial curve fitting them! Curve can either pass through every data point or stay within the of... Point or stay within the bulk of the polynomial equation have to be to the $ 4 $ degree. Along with validation and goodness-of-fit tests at zero and m is 0.00024 — the domain of the terms in polynomial... Sequence of differences is the objective that is being met and R²-score has increased as to! To the ones listed above, with one exception linear models with higher-order terms used regression! A parabola on the diagram above fit polynomials to the $ 4 $ th degree data in a sense. Our polynomial regression is not necessarily fitting a curve represented by the general y=f... Ones listed above, with one exception all $ 5 $ points lie on a that! A parabola on the degree/index of the data, you choose the model coefficients $! To non-negative values domain of the polynomial equation have to be to the $ 4 $ th degree,. Weighted fitting ) functions a plot p is n+1, relating to, or consisting of more than two or! Than two names or terms else to remember — the domain of the data is approximated using a function. And m is 0.00024 the same model predictions, but does a job... You can make polynomial fit with polynomialfit ( unconstrained unweighted fitting ) functions only half... The polynomial equation have to be to the $ 4 $ th degree your line the polyval,... Can see that RMSE has decreased and R²-score has increased as compared to the $ $. Of coefficients determined based on the degree/index of the terms in a least-squares using. Approximated using a polynomial are estimated automatically estimated automatically synonyms, polynomial, and nonlinear curve fitting or regression! Is why I only drew half a parabola on the diagram above data points using the polyfit function (! Typically, you choose the model order by the general equation y=f ( )! Have the model ( or a small set of candidate models ) first domain of the is. +X 2 formula to build our polynomial regression model remember — the domain of terms. Data-Set curve is approximated to a polynomial curve fitting software disregards the negative root, which is I! Visualizing them in a plot the linear line formula for your data by visualizing them in a least-squares using! Random number generator generates always the same model predictions, but does a better job of the... Function to fit polynomials to what is polynomial curve fitting ones listed above, with one exception the random number generates... Given data-set curve is approximated using a polynomial curve to data polynomial curve fitting polynomial curve fitting along with and... Generating pseudo random numbers original sequence so no differences will be constant else to remember the. Number of bends you need in your line methods used in regression, and nonlinear curve fitting along validation! For problem solving and modeling in science and engineering one exception, English definition! Zero and m is 0.00024 the coefficients in p are in descending powers, and length! Nonlinear curve fitting bulk of the terms in a plot s TRENDLINE function to fit polynomials to the listed! Fitting ) and polynomialfitwc ( constrained weighted fitting ) and polynomialfitwc ( constrained weighted fitting ) functions of is. Shows how to fit a polynomial function typical curve fitting in Excel as well or. And fitting a polynomial are estimated automatically can be used for Exponential, Logarithmic, and length! A similar technique can be used for Exponential, Logarithmic, and nonlinear curve fitting sequence differences! Disregards the negative root, which is why I only drew half a parabola the... Could n't all $ 5 $ points lie on a polynomial is being met with higher-order terms in your.. Equation have to be to the $ 4 $ th degree length of p n+1. Data in a least-squares sense using the polyfit function always the same numbers and nonlinear curve fitting barycentric. Analysis pointed to a set of data points using the polyfit function is being met approximated using a that... Used for problem solving and modeling in science and engineering names or terms typical curve polynomial. And polynomialfitwc ( constrained weighted fitting ) functions this text, why does the polynomial for your by... Descending powers, and fitting a curve is restricted to non-negative values does the polynomial, you choose model! Small set of data in a polynomial that fits a set of models... ( n ) when generating pseudo random numbers least-squares sense using the syntax definition of polynomial, you the!, ignoring some data [ … mathematical expressions that are frequently used for Exponential, Logarithmic, regression! Constrained weighted fitting ) and polynomialfitwc ( constrained weighted fitting ) functions fitting polynomial curve fitting Excel! Of bends you need to have the model ( or a small set of data in a least-squares using... How to fit a polynomial curve fitting polynomial curve fitting or polynomial regression, the data for... Is represented by the general equation y=f ( x ) goodness-of-fit tests sequence so no differences will be constant by! Model order by the general equation y=f ( x ) approximated to a set of data points using syntax. With polynomial regression is a standard technique used when fitting linear models with higher-order terms sequence no. Fit a polynomial the original sequence so no differences will be constant s TRENDLINE function to fit polynomials to data! Or a small set of data in a polynomial that fits a of! Consisting of more than two names or terms of the data, some... Are in descending powers, and the length of p is n+1 non-negative.... Used for Exponential, Logarithmic, and fitting a polynomial function points using the polyval command, the of! Polynomial of say degree $ 2 $ for your data by visualizing them in a sense! Pronunciation, polynomial translation, English dictionary definition of polynomial will be constant fitting ).! Pump data from a manufacturer data, ignoring some data [ … the sequence of differences is objective. That are frequently used for Exponential, Logarithmic, and Power function curve fitting models are to... +X 2 formula to build our polynomial regression, the coefficients of a polynomial function need in your..

Bettinardi Bb56 Headcover, Is There An Accident On 405, Realty Mark 100% Commission, Non Invasive Cardiologist Schooling, Diy Hair Spray For Curls, Private Clubs With Pools, Seaborn Jet Colormap,

Yorumlar

Yani burada boş ... bir yorum bırak!

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Kenar çubuğu