Showing 1 - 20 results of 32 for search '(( algorithms based function ) OR ((( algorithm python function ) OR ( algorithm b function ))))~', query time: 0.36s Refine Results
  1. 1

    <b>Opti2Phase</b>: Python scripts for two-stage focal reducer by Morgan Najera (21540776)

    Published 2025
    “…</li></ul><p dir="ltr">The scripts rely on the following Python packages. Where available, repository links are provided:</p><ol><li><b>NumPy</b>, version 1.22.1</li><li><b>SciPy</b>, version 1.7.3</li><li><b>PyGAD</b>, version 3.0.1 — https://pygad.readthedocs.io/en/latest/#</li><li><b>bees-algorithm</b>, version 1.0.2 — https://pypi.org/project/bees-algorithm</li><li><b>KrakenOS</b>, version 1.0.0.19 — https://github.com/Garchupiter/Kraken-Optical-Simulator</li><li><b>matplotlib</b>, version 3.5.2</li></ol><p dir="ltr">All scripts are modular and organized to reflect the design stages described in the manuscript.…”
  2. 2
  3. 3

    Search-based testing (Genetic Algorithm) - Chapter 11 of the book "Software Testing Automation" by Saeed Parsa (13893726)

    Published 2022
    “…</p> <p><br></p> <p>3. Algorithm</p> <p>Below is the main body of the test data generator program:</p> <p>  </p> <p>the main body of a Python program to generate test data for Python functions.…”
  4. 4

    ADT: A Generalized Algorithm and Program for Beyond Born–Oppenheimer Equations of “<i>N</i>” Dimensional Sub-Hilbert Space by Koushik Naskar (7510592)

    Published 2020
    “…The “ADT” program can be efficiently used to (a) formulate analytic functional forms of differential equations for ADT angles and diabatic potential energy matrix and (b) solve the set of coupled differential equations numerically to evaluate ADT angles, residue due to singularity­(ies), ADT matrices, and finally, diabatic potential energy surfaces (PESs). …”
  5. 5

    BOFdat: Generating biomass objective functions for genome-scale metabolic models from experimental data by Jean-Christophe Lachance (6619307)

    Published 2019
    “…Despite its importance, no standardized computational platform is currently available to generate species-specific biomass objective functions in a data-driven, unbiased fashion. To fill this gap in the metabolic modeling software ecosystem, we implemented BOFdat, a Python package for the definition of a <b>B</b>iomass <b>O</b>bjective <b>F</b>unction from experimental <b>dat</b>a. …”
  6. 6
  7. 7
  8. 8
  9. 9

    Algoritmo de clasificación de expresiones de odio por tipos en español (Algorithm for classifying hate expressions by type in Spanish) by Daniel Pérez Palau (11097348)

    Published 2024
    “…</p><h2>Model Architecture</h2><p dir="ltr">The model is based on <code>pysentimiento/robertuito-base-uncased</code> with the following modifications:</p><ul><li>A dense classification layer was added over the base model</li><li>Uses input IDs and attention masks as inputs</li><li>Generates a multi-class classification with 5 hate categories</li></ul><h2>Dataset</h2><p dir="ltr"><b>HATEMEDIA Dataset</b>: Custom hate speech dataset with categorization by type:</p><ul><li><b>Labels</b>: 5 hate type categories (0-4)</li><li><b>Preprocessing</b>:</li><li>Null values ​​removed from text and labels</li><li>Reindexing and relabeling (original labels are adjusted by subtracting 1)</li><li>Exclusion of category 2 during training</li><li>Conversion of category 5 to category 2</li></ul><h2>Training Process</h2><h3>Configuration</h3><ul><li><b>Batch size</b>: 128</li><li><b>Epoches</b>: 5</li><li><b>Learning rate</b>: 2e-5 with 10% warmup steps</li><li><b>Early stopping</b> with patience=2</li><li><b>Class weights</b>: Balanced to handle class imbalance</li></ul><h3>Custom Metrics</h3><ul><li>Recall for specific classes (focus on class 2)</li><li>Precision for specific classes (focus on class 3)</li><li>F1-score (weighted)</li><li>AUC-PR</li><li>Recall at precision=0.6 (class 3)</li><li>Precision at recall=0.6 (class 2)</li></ul><h2>Evaluation Metrics</h2><p dir="ltr">The model is evaluated using:</p><ul><li>Macro recall, precision, and F1-score</li><li>One-vs-Rest AUC</li><li>Accuracy</li><li>Per-class metrics</li><li>Confusion matrix</li><li>Full classification report</li></ul><h2>Technical Features</h2><h3>Data Preprocessing</h3><ul><li><b>Tokenization</b>: Maximum length of 128 tokens (truncation and padding)</li><li><b>Encoding of labels</b>: One-hot encoding for multi-class classification</li><li><b>Data split</b>: 80% training, 10% validation, 10% testing</li></ul><h3>Optimization</h3><ul><li><b>Optimizer</b>: Adam with linear warmup scheduling</li><li><b>Loss function</b>: Categorical Crossentropy (from_logits=True)</li><li><b>Imbalance handling</b>: Class weights computed automatically</li></ul><h2>Requirements</h2><p dir="ltr">The following Python packages are required:</p><ul><li>TensorFlow</li><li>Transformers</li><li>scikit-learn</li><li>pandas</li><li>datasets</li><li>matplotlib</li><li>seaborn</li><li>numpy</li></ul><h2>Usage</h2><ol><li><b>Data format</b>:</li></ol><ul><li>CSV file or Pandas DataFrame</li><li>Required column name: <code>text</code> (string type)</li><li>Required column name: Data type label (integer type, 0-4) - optional for evaluation</li></ul><ol><li><b>Text preprocessing</b>:</li></ol><ul><li>Automatic tokenization with a maximum length of 128 tokens</li><li>Long texts will be automatically truncated</li><li>Handling of special characters, URLs, and emojis included</li></ul><ol><li><b>Label encoding</b>:</li></ol><ul><li>The model classifies hate speech into 5 categories (0-4)</li><li><code>0</code>: Political hatred: Expressions directed against individuals or groups based on political orientation.…”
  10. 10
  11. 11
  12. 12
  13. 13

    Antibody challenge outcomes. by Andrea Blasco (7439102)

    Published 2019
    “…Also shown is the benchmark algorithm implemented in Python (A1) and C++ (A2); note that benchmark algorithms A1 and A2 have perfect accuracy (<i>ACC</i> equal to unity). …”
  14. 14
  15. 15
  16. 16

    <b>AI for imaging plant stress in invasive species </b>(dataset from the article https://doi.org/10.1093/aob/mcaf043) by Erola Fenollosa (20977421)

    Published 2025
    “…</li><li>The dataframe of extracted colour features from all leaf images and lab variables (ecophysiological predictors and variables to be predicted)</li><li>Set of scripts used for image pre-processing, features extraction, data analytsis, visualization and Machine learning algorithms training, using ImageJ, R and Python.</li></ol><p dir="ltr">Read the <b>readMe.txt </b>to find detailed information of each file.…”
  17. 17

    GridScopeRodents: High-Resolution Global Typical Rodents Distribution Projections from 2021 to 2100 under Diverse SSP-RCP Scenarios by Yang Lan (20927512)

    Published 2025
    “…</p><p dir="ltr">All data are stored in GeoTIFF (.tif) format and can be accessed and processed using ArcGIS, ENVI, R, and Python. Each GeoTIFF file contains grid-based predictions of habitat suitability, with values ranging from 0 to 1. …”
  18. 18

    <b>Rethinking neighbourhood boundaries for urban planning: A data-driven framework for perception-based delineation</b> by Shubham Pawar (22471285)

    Published 2025
    “…</p><h2>Project Structure</h2><pre><pre>Perception_based_neighbourhoods/<br>├── raw_data/<br>│ ├── ET_cells_glasgow/ # Glasgow grid cells for analysis<br>│ └── glasgow_open_built/ # Built area boundaries<br>├── svi_module/ # Street View Image processing<br>│ ├── svi_data/<br>│ │ ├── svi_info.csv # Image metadata (output)<br>│ │ └── images/ # Downloaded images (output)<br>│ ├── get_svi_data.py # Download street view images<br>│ └── trueskill_score.py # Generate TrueSkill scores<br>├── perception_module/ # Perception prediction<br>│ ├── output_data/<br>│ │ └── glasgow_perception.nc # Perception scores (demo data)<br>│ ├── trained_models/ # Pre-trained models<br>│ ├── pred.py # Predict perceptions from images<br>│ └── readme.md # Training instructions<br>└── cluster_module/ # Neighbourhood clustering<br> ├── output_data/<br> │ └── clusters.shp # Final neighbourhood boundaries<br> └── cluster_perceptions.py # Clustering algorithm<br></pre></pre><h2>Prerequisites</h2><ul><li>Python 3.8 or higher</li><li>GDAL/OGR libraries (for geospatial processing)</li></ul><h2>Installation</h2><ol><li>Clone this repository:</li></ol><p dir="ltr">Download the zip file</p><pre><pre>cd perception_based_neighbourhoods<br></pre></pre><ol><li>Install required dependencies:</li></ol><pre><pre>pip install -r requirements.txt<br></pre></pre><p dir="ltr">Required libraries include:</p><ul><li>geopandas</li><li>pandas</li><li>numpy</li><li>xarray</li><li>scikit-learn</li><li>matplotlib</li><li>torch (PyTorch)</li><li>efficientnet-pytorch</li></ul><h2>Usage Guide</h2><h3>Step 1: Download Street View Images</h3><p dir="ltr">Download street view images based on the Glasgow grid sampling locations.…”
  19. 19
  20. 20