Contributing to FSDA Python Integration - Wrapper Package Ready for Review (Issue #212)

オープン
#214 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
matlab, python
領域
backend

調査の方向性

The proposed wrapper package and its code are linked from Google Drive; review its architecture notes and testing script alongside the FSDA material in the repository. First establish the project’s intended scope for Python integration, then compare the proposal with that scope. Done means maintainers decide whether and how the wrapper should be incorporated; the issue does not define a repository change or acceptance criteria.

索引モデルが issue の本文から書いたものです。

説明

Hi everyone,

I’ve been following this initiative, and I’m very excited about the goal of making FSDA accessible to Python users. I have already started working on this by developing a robust wrapper architecture that addresses the challenges of bridging FSDA with the Python ecosystem.

have successfully compiled the FSDA toolbox into a standalone Python package (fsda_wrapper_pkg) and developed a wrapper that handles:
Seamless Integration: Instead of manual engine configuration, I’ve implemented an initialize() function that handles pathing and setup automatically.

Robust Data Handling: A dedicated fsda_wrapper.m interface that performs dynamic data type conversion (e.g., handling matlab.double casting and empty input arguments) which was a critical roadblock.

Cross-Functionality: I have already tested and integrated the following core FSDA functions:

  • FSM (with and without interactive plots)
  • FSR (Robust Regression)
  • zscoreFS (including 3D/Sn dimension support)
  • CorAna (Correspondence Analysis)

Developer Experience: Built a menu-driven Python interface to demonstrate how natural the workflow feels for Python users.

I have documented the architectural choices (Why I chose a compiled package over direct engine calls) and the error-handling strategies I used to overcome MATLAB-Python interface limitations.

would love to share my progress, contribute this code to the project and i am sharing my drive link where i have added my package + architecture + my testing script and live testing video

Prerequisites

Before you begin, ensure you have these installed:

-Python (Version 3.12.10 or less greater than this may create issues).
-MATLAB Software
-MATLAB Runtime (The version must match the one used to compile the package, e.g., 2025b).

How to Install and Run

Open your Project Folder:
Navigate to the folder named package where you see the file setup_project.bat.

Run the Installer:

Simply double-click the setup_project.bat file.

-The script will automatically create a Virtual Environment (venv) for you.
-It will install all necessary libraries (matlabengine and numpy) inside that environment.
-it will trigger pip install -e . using your setup.py file, which registers your fsda_wrapper_pkg so you can use it in your code.

Once finished, the environment will be ready, and your package will be linked to your Python setup.

i have share my code file in drive link you can test that code too.

link : https://drive.google.com/drive/folders/16JlIWzzOvxwUOU8Zq9SZjknCpfueWEx3?usp=sharing

Image Image Image Image Image Image

@AldoCorbelliniUNIPR @MarcoRianiUNIPR @UniprJRC @Asadunipr @qaseem97

主要言語
MATLAB
スター
30
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

UniprJRC/DSwithMATLAB のほかの issue

UniprJRC/DSwithMATLAB の issue をすべて見る

似ている issue

MATLAB の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。