FeatureEng

Implements modular components for dataset preprocessing: a data-trimmer, a standardizer, a feature selector and a sliding window data generator.

Contents

License

The MIT License (MIT)

Copyright (c) 2020 Harvey Bastidas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributors

Changelog

Version 0.1

  • Feature A added
  • FIX: nasty bug #1729 fixed
  • add your changes here!

feature_eng

feature_eng package

Submodules
feature_eng.conftest module
feature_eng.feature_eng module

This File contains the FeatureEng class, has methods for listing and loading plugins and execute their entry point.

class feature_eng.feature_eng.FeatureEng(conf)[source]

Bases: feature_eng.feature_eng_base.FeatureEngBase

Base class.

find_plugins()[source]

” Populate the discovered plugin lists

load_plugins()[source]

Loads plugin entry points into class attributes

main(args)[source]
Starts an instance via command line parameters, uses the FeatureEngBase.core() method.
Starts logging, parse command line arguments and start core.

Args: args ([str]): command line parameter list

print_plugins()[source]
feature_eng.feature_eng.run(args)[source]

Entry point for console_scripts

feature_eng.feature_eng_base module

This File contains the FeatureEng class, has methods for listing and loading plugins and execute their entry point.

class feature_eng.feature_eng_base.FeatureEngBase(conf)[source]

Bases: object

Base class For FeatureEng.

core()[source]

Core feature_eng operations.

parse_args(args)[source]

Parse command line parameters.

Args: args ([str]): command line parameters as list of strings

Returns: argparse.Namespace: command line parameters namespace

parse_cmd(parser)[source]

Adds command-line arguments to parse

setup_logging(loglevel)[source]

Setup basic logging. Args: loglevel (int): minimum loglevel for emitting messages

feature_eng.plugin_base module

This File contains the PluginBase class.

class feature_eng.plugin_base.PluginBase(conf)[source]

Bases: object

Base class for FeatureEng plugins

parse_cmd(parser)[source]

Adds command-line arguments to parse, to be overriden by plugin-specific arguments

Module contents

Indices and tables