Showing 1 - 14 results of 14 for search '(((( algorithm loss function ) OR ( algorithm 1 function ))) OR ( algorithm python function ))~', query time: 0.69s Refine Results
  1. 1

    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.…”
  2. 2

    Table1_Natural and artificial selection of multiple alleles revealed through genomic analyses.xlsx by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  3. 3

    Table1_Natural and artificial selection of multiple alleles revealed through genomic analyses.DOCX by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  4. 4

    DataSheet1_Natural and artificial selection of multiple alleles revealed through genomic analyses.docx by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  5. 5

    Table8_Natural and artificial selection of multiple alleles revealed through genomic analyses.xlsx by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  6. 6

    Table4_Natural and artificial selection of multiple alleles revealed through genomic analyses.xlsx by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  7. 7

    Table3_Natural and artificial selection of multiple alleles revealed through genomic analyses.xlsx by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  8. 8

    Table2_Natural and artificial selection of multiple alleles revealed through genomic analyses.xlsx by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  9. 9

    Table7_Natural and artificial selection of multiple alleles revealed through genomic analyses.docx by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  10. 10

    Table5_Natural and artificial selection of multiple alleles revealed through genomic analyses.xlsx by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  11. 11

    Table6_Natural and artificial selection of multiple alleles revealed through genomic analyses.xlsx by Jana Biová (11287971)

    Published 2024
    “…We tested and validated the algorithm and presented the utilization of MADis in a pod pigmentation L1 gene case study with multiple CMs from natural or artificial selection. …”
  12. 12

    Spatiotemporal Soil Erosion Dataset for the Yarlung Tsangpo River Basin (1990–2100) by peng xin (21382394)

    Published 2025
    “…Bias correction was conducted using a 25-year baseline (1990–2014), with adjustments made monthly to correct for seasonal biases. The corrected bias functions were then applied to adjust the years (2020–2100) of daily rainfall data using the "ibicus" package, an open-source Python tool for bias adjustment and climate model evaluation. …”
  13. 13

    Core data by Baoqiang Chen (21099509)

    Published 2025
    “…The first convolutional layer uses a 2D convolution with 8 filters, each with a size 1 × 8, and a stride of 1, followed by a ReLU activation function. …”
  14. 14

    Code by Baoqiang Chen (21099509)

    Published 2025
    “…The first convolutional layer uses a 2D convolution with 8 filters, each with a size 1 × 8, and a stride of 1, followed by a ReLU activation function. …”