MCPcopy Create free account

hub / github.com/GitsSaikat/PyGen / functions

Functions228 in github.com/GitsSaikat/PyGen

↓ 1 callersFunctionmain
Main function with CLI interface
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/main.py:107
↓ 1 callersFunctionmain
()
examples_package/Quantum Error Correction_package_20241024080522/Quantum Error Detection and Correction/main.py:62
↓ 1 callersFunctionmain
()
pygen/js_conversion.py:35
↓ 1 callersFunctionmain
()
pygen/code_reviewer.py:80
↓ 1 callersFunctionmain
()
pygen/generate_package.py:230
↓ 1 callersFunctionmain
()
pygen/enhancement_reviewer.py:66
↓ 1 callersFunctionmain
()
pygen/prompt_context.py:151
↓ 1 callersFunctionmain
()
pygen/documentation_reviewer.py:66
↓ 1 callersFunctionmain
()
pygen/generate_documentation.py:140
↓ 1 callersFunctionmain
()
pygen/prompt_enhancer.py:150
↓ 1 callersFunctionmain
()
pygen/package_ollama.py:307
↓ 1 callersFunctionmain
()
pygen/package_groq.py:354
↓ 1 callersMethodmeasure_syndrome
Measure error syndromes in the quantum circuit
data/QEC/reference_code.py:75
↓ 1 callersMethodnormalize_audio
Normalize audio with target dB level
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/audiospeech_preprocessing.py:54
↓ 1 callersFunctionnormalize_image
(image)
examples_package/AutoVision_package_20241024085344/AutoVision/image_preprocessing.py:7
↓ 1 callersFunctionparse_generated_content
Parse the generated content into a dictionary of file paths and contents. Expects the format: <file_path> <begin_content> file_c
app.py:16
↓ 1 callersFunctionparse_generated_content
Parse the generated content into a dictionary of file paths and contents. Expects the format: <file_path> <begin_content> file co
pygen/generate_package.py:12
↓ 1 callersFunctionparse_generated_content
Parse the generated content into a dictionary of file paths and contents. Expects the format: <file_path> <begin_content> file co
pygen/package_ollama.py:15
↓ 1 callersFunctionparse_generated_content
Parse the generated content into a dictionary of file paths and contents. Expects the format: <file_path> <begin_content> file co
pygen/package_groq.py:7
↓ 1 callersFunctionplot_error_rates
Plot error rates comparison
examples_package/Quantum Error Correction_package_20241024080522/Quantum Error Detection and Correction/main.py:49
↓ 1 callersMethodpredict
(self, test_input)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/speech_recognition.py:153
↓ 1 callersFunctionprepare_prompt_context
Prepare additional context to be included in the prompt for the model.
pygen/prompt_context.py:116
↓ 1 callersMethodpreprocess_data
(self, data)
examples_package/AutoML_package_20241024075050/AutoML/main.py:27
↓ 1 callersMethodprocess_audio
Process audio with error handling
data/AutoSpeech/reference.py:81
↓ 1 callersMethodprocess_audio
Process audio with error handling
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/main.py:81
↓ 1 callersMethodprocess_circuit
Process a quantum circuit through the QEC pipeline
data/QEC/reference_code.py:246
↓ 1 callersFunctionquantum_coding
Encode quantum state using repetition code
examples_package/Quantum Error Correction_package_20241024080522/Quantum Error Detection and Correction/main.py:34
↓ 1 callersFunctionquantum_decoding
Decode quantum state using majority voting
examples_package/Quantum Error Correction_package_20241024080522/Quantum Error Detection and Correction/main.py:40
↓ 1 callersFunctionresize_image
(image, target_size)
examples_package/AutoVision_package_20241024085344/AutoVision/image_preprocessing.py:4
↓ 1 callersFunctionrun_javascript_code
(js_code, input_data)
pygen/translated_code_eval.py:18
↓ 1 callersFunctionrun_python_code
(python_code, input_data)
pygen/translated_code_eval.py:5
↓ 1 callersFunctionsave_feature_descriptions
Save the feature descriptions to a JSON file and a text file. Args: feature_descriptions (Dict[str, str]): Feature descriptions.
pygen/prompt_enhancer.py:109
↓ 1 callersFunctionsave_package_description
Save the enhanced package description to a text file. Args: enhanced_description (str): Enhanced package description. output
pygen/prompt_enhancer.py:135
↓ 1 callersFunctionsave_prompt_context
Save the prepared context to a file.
pygen/prompt_context.py:140
↓ 1 callersMethodselect_model
(self, data)
examples_package/AutoML_package_20241024075050/AutoML/main.py:49
↓ 1 callersFunctiontranslate_python_to_javascript
Translate Python code to JavaScript using Groq model.
pygen/js_conversion.py:21
↓ 1 callersMethodtune_hyperparameters
(self, model)
examples_package/AutoML_package_20241024075050/AutoML/main.py:74
↓ 1 callersMethodvalidate_audio_file
Validate audio file security
data/AutoSpeech/reference.py:58
↓ 1 callersMethodvalidate_audio_file
Validate audio file security
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/main.py:58
↓ 1 callersFunctionvalidate_package_structure
Validate that the package structure has non-empty file paths and contents.
app.py:425
↓ 1 callersFunctionvalidate_package_structure
Validate that the package structure has non-empty file paths and contents.
pygen/generate_package.py:218
↓ 1 callersFunctionvalidate_package_structure
Validate that the package structure has non-empty file paths and contents.
pygen/package_ollama.py:251
Method__getitem__
(self, index)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/speech_recognition.py:38
Method__getitem__
(self, idx)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/natural_language_processing.py:97
Method__init__
(self, config: QECConfig)
data/QEC/reference_code.py:42
Method__init__
(self, config: QECConfig)
data/QEC/reference_code.py:72
Method__init__
(self, config: QECConfig)
data/QEC/reference_code.py:106
Method__init__
(self, config: QECConfig)
data/QEC/reference_code.py:160
Method__init__
(self, config: QECConfig)
data/QEC/reference_code.py:188
Method__init__
(self, config: QECConfig)
data/QEC/reference_code.py:212
Method__init__
(self, config: Optional[QECConfig] = None)
data/QEC/reference_code.py:238
Method__init__
Initialize AutoVision with optional pre-trained model
data/AutoVison/context_code.py:12
Method__init__
(self, config_path: str)
data/AutoSpeech/reference.py:30
Method__init__
(self, config: Dict[str, Any])
data/AutoSpeech/reference.py:52
Method__init__
(self, random_state: int = 42)
data/AutoML/reference_code.py:16
Method__init__
(self)
data/AutoML/reference_code.py:30
Method__init__
(self, random_state: int = 42)
data/AutoML/reference_code.py:82
Method__init__
(self, sample_rate: int = 16000)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/audiospeech_preprocessing.py:11
Method__init__
(self)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/speech_recognition.py:14
Method__init__
(self, audio_features, label)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/speech_recognition.py:31
Method__init__
(self, audio_directory, num_folds, display_plot=False)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/speech_recognition.py:49
Method__init__
(self, config_path: str)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/main.py:30
Method__init__
(self, config: Dict[str, Any])
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/main.py:52
Method__init__
(self, language: str = 'english')
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/natural_language_processing.py:15
Method__init__
(self, num_classes: int, dropout: float = 0.1)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/natural_language_processing.py:70
Method__init__
Initialize AutoVision with optional pre-trained model
examples_package/AutoVision_package_20241024085344/AutoVision/main.py:11
Method__init__
(self)
examples_package/AutoML_package_20241024075050/AutoML/AutomateModelSelectionAndHyperparameterTuning.py:11
Method__init__
(self)
examples_package/AutoML_package_20241024075050/AutoML/PerformanceEvaluation.py:8
Method__init__
(self)
examples_package/AutoML_package_20241024075050/AutoML/AutoML.py:21
Method__init__
(self)
examples_package/AutoML_package_20241024075050/AutoML/ExplainabilityAndInterpretability.py:11
Method__init__
(self)
examples_package/AutoML_package_20241024075050/AutoML/main.py:19
Method__init__
(self)
examples_package/AutoML_package_20241024075050/AutoML/DataPreprocessing.py:11
Method__init__
(self, error_rate, num_rep=1)
examples_package/Quantum Error Correction_package_20241024080522/Quantum Error Detection and Correction/__init__.py:9
Method__init__
(self, error_rate: float, num_qubits: int)
examples_package/Quantum Error Correction_package_20241024080522/Quantum Error Detection and Correction/main.py:14
Method__init__
(self, model_name='all-MiniLM-L6-v2')
pygen/documentation_eval.py:8
Method__len__
(self)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/speech_recognition.py:35
Method__len__
(self)
examples_package/AutoSpeech_package_20241024085908/AutoSpeech/natural_language_processing.py:94
Methodadvanced_imputation
Perform advanced imputation using iterative imputer
examples_package/AutoML_package_20241024075050/AutoML/DataPreprocessing.py:51
Methodadvanced_preprocessing
Advanced preprocessing with KNN imputation
examples_package/AutoML_package_20241024075050/AutoML/main.py:96
Functionapply_data_augmentation
Enhanced data augmentation with more transformations
examples_package/AutoVision_package_20241024085344/AutoVision/image_preprocessing.py:31
Functioncalculate_average_agreement
(df, metric_columns)
pygen/stests.py:53
Functioncalculate_cronbach_alpha
(df, metric_columns)
pygen/stests.py:17
Functioncalculate_fleiss_kappa
(df, metric_columns, categories=[1, 2, 3])
pygen/stests.py:34
Functioncalculate_icc
(df, metric_columns)
pygen/stests.py:25
Methodcompare_models
(self, models)
examples_package/AutoML_package_20241024075050/AutoML/PerformanceEvaluation.py:31
Methodcreate_ensemble
(self, models: List[BaseEstimator], weights: Optional[List[float]] = None)
data/AutoML/reference_code.py:122
Methodcreate_pipeline
Create a preprocessing and modeling pipeline
examples_package/AutoML_package_20241024075050/AutoML/AutoML.py:25
Methoddecode
Perform adaptive decoding based on syndrome history
data/QEC/reference_code.py:215
Methoddefine_hyperparameter_spaces
(self)
examples_package/AutoML_package_20241024075050/AutoML/AutomateModelSelectionAndHyperparameterTuning.py:20
Methoddeploy_model
(self, model: BaseEstimator, model_path: str)
data/AutoML/reference_code.py:155
Methoddetect_objects
Enhanced object detection with confidence scores
data/AutoVison/context_code.py:40
Methoddetect_objects
Enhanced object detection with confidence scores
examples_package/AutoVision_package_20241024085344/AutoVision/main.py:39
Methoddetect_outliers
(self, data)
examples_package/AutoML_package_20241024075050/AutoML/DataPreprocessing.py:32
Methoddimensionality_reduction
Reduce dimensionality using PCA
examples_package/AutoML_package_20241024075050/AutoML/main.py:110
Methodencode_categorical_variables
(self, data)
examples_package/AutoML_package_20241024075050/AutoML/DataPreprocessing.py:19
Methodengineer_features
(self, data: pd.DataFrame)
data/AutoML/reference_code.py:64
Methodexplain_predictions
(self, model: BaseEstimator, X: np.ndarray, feature_names: List[str])
data/AutoML/reference_code.py:145
Methodfeature_selection
Select top k features using ANOVA F-value
examples_package/AutoML_package_20241024075050/AutoML/main.py:103
Methodgenerate_eli5_explanation
Generate model explanation using ELI5
examples_package/AutoML_package_20241024075050/AutoML/ExplainabilityAndInterpretability.py:106
Methodget_feature_importance
Get feature importance from the model
examples_package/AutoML_package_20241024075050/AutoML/AutoML.py:63
← previousnext →101–200 of 228, ranked by callers