Explanation of "curve_fitting.py" Script Purpose: This Python script uses curve fitting (non-linear regression) to estimate parameters for predicting landslide susceptibility based on provided data. How to Use the Script: 1. Make sure Python is installed on your computer. 2. Install the necessary libraries by running the following command: pip install numpy scipy 3. To run the script, use the following command: python curve_fitting.py Script Inputs: - x1: Represents the class number of the conditioning parameter (such as slope or lithology class). - x2: Total number of pixels in the study area. - y: Total number of pixels within known landslide (training) areas. Script Outputs: - The optimized parameters (a, b, c, d) from the custom fitted equation. - A comparison between the actual and predicted values, displayed directly in the console. Custom Equation Used in the Script: y = a * (x1^4) + b * ln(x2) + c * x1 + d * x1 Libraries Used: - NumPy: For numerical operations. - SciPy: For performing the curve-fitting operation. Ensure your data is properly defined within the script to receive accurate results.