Skip to main content

A library for meta-learning in Python with neural networks and transformers.

Project description

Metalearning Library

Project Purpose and Goals

This project provides a Python library for metalearning, focusing on developing and applying advanced machine learning techniques that learn how to learn. The primary goal is to offer a robust and extensible framework for building metalearning models, particularly those leveraging neural networks and transformer architectures, to solve complex regression and classification problems more efficiently and generalize better across various tasks.

The library aims to:

  • Facilitate the development of metalearning algorithms.
  • Provide implementations of key metalearning components (e.g., meta-learners, task encoders).
  • Enable rapid experimentation with different metalearning approaches.
  • Support diverse applications by providing flexible model structures.

Basic Usage Examples

Here's a simple example of how you might use a hypothetical MetalearningModel class:

import metalearning_class as mtl
import pandas as pd
# Other imports

# Import data from a Sofon challenge
train_data = ml.subscribe_and_get_task("taskname")

# Example: simple feature and target separation
x = df.drop(columns=['Target_id'])
y = df['Target_id']

# Initialize the metalearning model
ml = mtl.Metalearning(gpu=False)

# Login and get token with your Sofon account
ml.login("username", "password")

# Train the model (this is highly dependent on the actual implementation)

[...]

Contribution

We soon will become open-source, and welcome contributions to the Metalearning Library!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metalearning_class-0.1.0.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metalearning_class-0.1.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file metalearning_class-0.1.0.tar.gz.

File metadata

  • Download URL: metalearning_class-0.1.0.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for metalearning_class-0.1.0.tar.gz
Algorithm Hash digest
SHA256 100fcbaf8f8b134cd5215906d51b02a0fc5c42888ad9f7c069be9d6a1bd7e8d6
MD5 e194cb7e3ff2e080b9b6aaf095055043
BLAKE2b-256 e91920cef56e8b65963b07d8bab695811bacb92b947fc53e04d3cece42ede316

See more details on using hashes here.

File details

Details for the file metalearning_class-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for metalearning_class-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e70cbbc55e15e6241382a9e2d01368beb450d5fbc0fa174840b46590e5aad3d3
MD5 dd03ad9b1e33fb4a1b667093dfc59202
BLAKE2b-256 a4e375a36db6e8911877d18ed99436e39c14aed387efc61f0a830b46d146889e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page