Giter VIP home page Giter VIP logo

basis_functions's Introduction

Overview

This packaege investigates the performance of 18 different polynomial basis functions, grouped into several categories based on their mathematical properties and areas of application. The study evaluates the effectiveness of these polynomial-based KANs on the MNIST dataset for handwritten digit classification.

Key Features

  • Explores the potential of 18 polynomial basis functions in KANs, including orthogonal polynomials, hypergeometric polynomials, q-polynomials, Fibonacci-related polynomials, combinatorial polynomials, and number-theoretic polynomials.
  • Provides a structured overview of the characteristics and potential applications of each polynomial group.
  • Compares the performance of polynomial-based KANs using metrics such as overall accuracy, Kappa, and F1 score.
  • Analyzes the relationships between model complexity, number of parameters, training time, and overall performance.

Dependencies

  • Python 3.x
  • PyTorch
  • NumPy
  • Matplotlib

Usage

  1. Clone the repository.
  2. Install the required dependencies.
  3. Run the "Name_of_Function".ipynb` script to train and evaluate the polynomial-based KAN models on the MNIST dataset.

Results

The study reveals that the Gottlieb-KAN model achieves the highest overall accuracy, Kappa, and F1 score among the evaluated polynomial-based KANs. However, further investigation and tuning of these polynomials on more complex datasets are necessary to fully understand their capabilities and potential in KANs.

Future Work

  • Applying the polynomial-based KANs to a wider range of datasets with varying complexity levels.
  • Investigating the impact of different model architectures, optimization techniques, and hyperparameter settings on performance.
  • Developing advanced analytical techniques to quantify the relative importance of various factors in KAN model performance.

References

[1] A. N. Kolmogorov, "On the representation of continuous functions of several variables by superposition of continuous functions of one variable and addition," Doklady Akademii Nauk SSSR, vol. 114, pp. 953-956, 1957.

[2] Z. Liu et al., "KAN: Kolmogorov-Arnold Networks," arXiv preprint arXiv:2404.19756, 2024.

[3] S. SS, "Chebyshev Polynomial-Based Kolmogorov-Arnold Networks: An Efficient Architecture for Nonlinear Function Approximation," arXiv preprint arXiv:2405.07200, 2024.

License

This project is licensed under the MIT License.

Acknowledgements

We would like to express our gratitude to the authors of the related works [1-3] for their valuable contributions and insights that inspired this comparative study of polynomial-based KANs.

basis_functions's People

Contributors

seydi1370 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.