Skip to main content

a package designed to streamline data processing, model training, and evaluation with minimal code.

Project description

ONETOUCH

一款集成了数据清洗,模型训练,模型评估的简单python软件包

ONETOUCH Package

onetouch is a Python package designed to streamline data processing, model training, and evaluation with minimal code.

Installation

To install the onetouch package, run the following command in your terminal or command prompt:

pip install onetouch

Usage

Importing the onetouch Package

To use the onetouch package, import it into your Python script as follows:

import onetouch as ot

One2Three Class

The One2Three class is a convenient tool for data preprocessing, model training, and evaluation, also known as "one-click triple action".

Basic Usage

filepath format-supported: '.csv', '.xlsx'

Method 1: Direct File Access

The first method involves directly accessing a file:

  • df: Data (pd.DataFrame) - Not required, use None if not provided.
  • label: Target label (str) - Optional, defaults to the last column if not specified.
  • filepath: File path (str) - Required. Example:
import onetouch as ot

data = ot.One2Three(None, 'label', 'FilePath')
Method 2: Importing Data

The second method involves importing data:

  • df: Data (pd.DataFrame) - Required.
  • label: Target label (str) - Optional, defaults to the last column if not specified.
  • filepath: File path (str) - Not required, use None if not provided. Example:
import onetouch as ot
import pandas as pd

df = pd.read_csv('FilePath')
# You can also use the following syntax:
# data = sa.One2Three(df, None, None)
data = ot.One2Three(df, 'label', None)

For more detailed usage instructions and examples, please refer to the package documentation or reach out to the onetouch community.

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

onetouch-0.1.5.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

onetouch-0.1.5-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file onetouch-0.1.5.tar.gz.

File metadata

  • Download URL: onetouch-0.1.5.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for onetouch-0.1.5.tar.gz
Algorithm Hash digest
SHA256 eb44a6e11a5fe814e5e53ee2b1749e22d8fd8fe31336db0e4869351acaa6523b
MD5 8ac5200585c332b53dd1e31f11c900d0
BLAKE2b-256 bef7c1c1c3a09b44c9fe5e77caf5a40f61bbf2e506d6384de2e3573cf2c916c1

See more details on using hashes here.

File details

Details for the file onetouch-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: onetouch-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for onetouch-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7ddd03ca4f7ce8df1df698ab5f891027d53492be78d79f4a27bb3de47bb3dc72
MD5 2c610a85ad9778bc44ac758d07dc18ef
BLAKE2b-256 68c28ebe2fb07eb9dd9d27b977db738c7070738a495b8ca2967377b52c437d8f

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