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.1.tar.gz (9.4 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.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onetouch-0.1.1.tar.gz
  • Upload date:
  • Size: 9.4 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.1.tar.gz
Algorithm Hash digest
SHA256 be3ed4738d87e31d1d12019598db533642381268b66464aee391da75d0851af1
MD5 67ce7ebb60605e35d5e06440e8a8d392
BLAKE2b-256 8002a05dbc12310ab4578fb82079eda8569765bcee5613cdb178c9f7835dd8ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onetouch-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 169ce3c1d395cee77f2c2fe6626e1001f45af77ba8e137a875b42e07b5aa4ff8
MD5 de5ed6607bc7299279c2a6cccb2371a3
BLAKE2b-256 d7812d3368341d49c78de24e5dcc05448928876c8cd500959bc2e3fd488ac981

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