MCPcopy Index your code

hub / github.com/alteryx/featuretools / types & classes

Types & classes377 in github.com/alteryx/featuretools

↓ 441 callersClassFeature
Alias to create feature. Infers the feature type based on init parameters.
featuretools/feature_base/feature_base.py:964
↓ 173 callersClassIdentityFeature
Feature for dataframe that is equivalent to underlying column
featuretools/feature_base/feature_base.py:461
↓ 120 callersClassEntitySet
Stores all actual data and typing information for an entityset Attributes: id dataframe_dict relationships t
featuretools/entityset/entityset.py:28
↓ 103 callersClassDeepFeatureSynthesis
Automatically produce features for a target dataframe in an Entityset. Args: target_dataframe_name (str): Name of dataframe for which to
featuretools/synthesis/deep_feature_synthesis.py:40
↓ 63 callersClassAggregationFeature
featuretools/feature_base/feature_base.py:632
↓ 62 callersClassDirectFeature
Feature for child dataframe that inherits a feature value from a parent dataframe
featuretools/feature_base/feature_base.py:507
↓ 60 callersClassFeatureSet
Represents an immutable set of features to be calculated for a single dataframe, and their dependencies.
featuretools/computational_backends/feature_set.py:17
↓ 60 callersClassTimedelta
Represents differences in time. Timedeltas can be defined in multiple units. Supported units: - "ms" : milliseconds - "s" : seconds
featuretools/entityset/timedelta.py:5
↓ 59 callersClassLiteFeature
featuretools/feature_discovery/LiteFeature.py:19
↓ 58 callersClassFeatureSetCalculator
Calculates the values of a set of features for given instance ids.
featuretools/computational_backends/feature_set_calculator.py:21
↓ 25 callersClassRelationshipPath
featuretools/entityset/relationship.py:141
↓ 24 callersClassNMostCommon
Determines the `n` most common elements. Description: Given a list of values, return the `n` values which appear the most frequen
featuretools/primitives/standard/aggregation/n_most_common.py:7
↓ 24 callersClassTransformFeature
featuretools/feature_base/feature_base.py:842
↓ 14 callersClassFeaturesDeserializer
featuretools/feature_base/features_deserializer.py:70
↓ 14 callersClassRelationship
Class to represent a relationship between dataframes See Also: :class:`.EntitySet`
featuretools/entityset/relationship.py:1
↓ 14 callersClassTrie
A trie (prefix tree) where the keys are sequences of hashable objects. It behaves similarly to a dictionary, except that the keys can be lis
featuretools/utils/trie.py:1
↓ 12 callersClassCountOutsideRange
Determines the number of values that fall outside a certain range. Args: lower (float): Lower boundary of range (exclusive). Default is 0
featuretools/primitives/standard/aggregation/count_outside_range.py:8
↓ 12 callersClassLag
Shifts an array of values by a specified number of periods. Args: periods (int): The number of periods by which to shift the input.
featuretools/primitives/standard/transform/time_series/lag.py:8
↓ 11 callersClassSameAsPrevious
Determines if a value is equal to the previous value in a list. Description: Compares a value in a list to the previous value and returns
featuretools/primitives/standard/transform/numeric/same_as_previous.py:7
↓ 10 callersClassAddNumeric
Performs element-wise addition of two lists. Description: Given a list of values X and a list of values Y, determine the sum of e
featuretools/primitives/standard/transform/binary/add_numeric.py:7
↓ 10 callersClassFeaturesSerializer
featuretools/feature_base/features_serializer.py:65
↓ 10 callersClassGroupByTransformFeature
featuretools/feature_base/feature_base.py:893
↓ 9 callersClassDateToHoliday
Transforms time of an instance into the holiday name, if there is one. Description: If there is no holiday, it returns `NaN`. Currently o
featuretools/primitives/standard/transform/datetime/date_to_holiday.py:9
↓ 9 callersClassFeatureCollection
featuretools/feature_discovery/FeatureCollection.py:18
↓ 9 callersClassMax
Calculates the highest value, ignoring `NaN` values. Examples: >>> max = Max() >>> max([1, 2, 3, 4, 5, None]) 5.0
featuretools/primitives/standard/aggregation/max_primitive.py:7
↓ 8 callersClassAbsoluteDiff
Calculates the absolute difference from the previous element in a list of numbers. Description: The absolute difference from the p
featuretools/primitives/standard/transform/absolute_diff.py:6
↓ 8 callersClassIsFederalHoliday
Determines if a given datetime is a federal holiday. Description: This primtive currently only works for the United States and Ca
featuretools/primitives/standard/transform/datetime/is_federal_holiday.py:9
↓ 7 callersClassDistanceToHoliday
Computes the number of days before or after a given holiday. Description: For a list of dates, return the distance from the nearest
featuretools/primitives/standard/transform/datetime/distance_to_holiday.py:9
↓ 7 callersClassEmailAddressToDomain
Determines the domain of an email Description: EmailAddress input should be a string. Will return Nan if an invalid email address
featuretools/primitives/standard/transform/email/email_address_to_domain.py:9
↓ 7 callersClassIsFreeEmailDomain
Determines if an email address is from a free email domain. Description: EmailAddress input should be a string. Will return Nan i
featuretools/primitives/standard/transform/email/is_free_email_domain.py:9
↓ 7 callersClassMaxConsecutiveNegatives
Determines the maximum number of consecutive negative values in the input Args: skipna (bool): Ignore any `NaN` values in the input. Defa
featuretools/primitives/standard/aggregation/max_consecutive_negatives.py:7
↓ 7 callersClassMaxConsecutivePositives
Determines the maximum number of consecutive positive values in the input Args: skipna (bool): Ignore any `NaN` values in the input. Defa
featuretools/primitives/standard/aggregation/max_consecutive_positives.py:7
↓ 7 callersClassMaxConsecutiveZeros
Determines the maximum number of consecutive zero values in the input Args: skipna (bool): Ignore any `NaN` values in the input. Default
featuretools/primitives/standard/aggregation/max_consecutive_zeros.py:7
↓ 7 callersClassMean
Computes the average for a list of values. Args: skipna (bool): Determines if to use NA/null values. Defaults to True to skip
featuretools/primitives/standard/aggregation/mean.py:7
↓ 7 callersClassTimeSince
Calculates time from a value to a specified cutoff datetime. Args: unit (str): Defines the unit of time to count from. Defaul
featuretools/primitives/standard/transform/datetime/time_since.py:8
↓ 6 callersClassExponentialWeightedAverage
Computes the exponentially weighted moving average for a series of numbers Description: Returns the exponentially weighted moving average
featuretools/primitives/standard/transform/exponential/exponential_weighted_average.py:7
↓ 6 callersClassExponentialWeightedSTD
Computes the exponentially weighted moving standard deviation for a series of numbers Description: Returns the exponentially weighted
featuretools/primitives/standard/transform/exponential/exponential_weighted_std.py:7
↓ 6 callersClassExponentialWeightedVariance
Computes the exponentially weighted moving variance for a series of numbers Description: Returns the exponentially weighted moving varian
featuretools/primitives/standard/transform/exponential/exponential_weighted_variance.py:7
↓ 6 callersClassQuarter
Determines the quarter a datetime column falls into (1, 2, 3, 4) Examples: >>> from datetime import datetime >>> dates = [datetim
featuretools/primitives/standard/transform/datetime/quarter.py:7
↓ 5 callersClassCount
Determines the total number of values, excluding `NaN`. Examples: >>> count = Count() >>> count([1, 2, 3, 4, 5, None]) 5
featuretools/primitives/standard/aggregation/count.py:8
↓ 5 callersClassFeatureOutputSlice
Class to access specific multi output feature column
featuretools/feature_base/feature_base.py:1012
↓ 5 callersClassIsIn
Determines whether a value is present in a provided list. Examples: >>> items = ['string', 10.3, False] >>> is_in = IsIn(list_of_
featuretools/primitives/standard/transform/is_in.py:7
↓ 5 callersClassMultiplyNumericScalar
Multiplies each element in the list by a scalar. Description: Given a list of numeric values and a scalar, multiply each value in
featuretools/primitives/standard/transform/binary/multiply_numeric_scalar.py:6
↓ 4 callersClassAbsolute
Computes the absolute value of a number. Examples: >>> absolute = Absolute() >>> absolute([3.0, -5.0, -2.4]).tolist() [3.
featuretools/primitives/standard/transform/numeric/absolute.py:7
↓ 4 callersClassAge
Calculates the age in years as a floating point number given a date of birth. Description: Age in years is computed by calculating
featuretools/primitives/standard/transform/datetime/age.py:7
↓ 4 callersClassAverageCountPerUnique
Determines the average count across all unique value. Args: skipna (bool): Determines if to use NA/null values. Defaults to T
featuretools/primitives/standard/aggregation/average_count_per_unique.py:7
↓ 4 callersClassCityblockDistance
Calculates the distance between points in a city road grid. Description: This distance is calculated using the haversine formula, which
featuretools/primitives/standard/transform/latlong/cityblock_distance.py:12
↓ 4 callersClassDateToTimeZone
Determines the timezone of a datetime. Description: Given a list of datetimes, extract the timezone from each one. Looks for the
featuretools/primitives/standard/transform/datetime/date_to_timezone.py:8
↓ 4 callersClassGeoMidpoint
Determines the geographic center of two coordinates. Examples: >>> geomidpoint = GeoMidpoint() >>> geomidpoint([(42.4, -71.1)], [
featuretools/primitives/standard/transform/latlong/geomidpoint.py:8
↓ 4 callersClassGreaterThanScalar
Determines if values are greater than a given scalar. Description: Given a list of values and a constant scalar, determine whethe
featuretools/primitives/standard/transform/binary/greater_than_scalar.py:7
↓ 4 callersClassMultiOutputPrimitiveForTest
featuretools/tests/feature_discovery/test_feature_discovery.py:51
↓ 4 callersClassRollingCount
Determines a rolling count of events over a given window. Description: Given a list of datetimes, return a rolling count starting
featuretools/primitives/standard/transform/time_series/rolling_count.py:11
↓ 4 callersClassSum
A primitive that should currently exist for testing.
featuretools/tests/entry_point_tests/add-ons/featuretools_primitives/featuretools_primitives/existing_primitive.py:4
↓ 3 callersClassHaversine
Calculates the approximate haversine distance between two LatLong columns. Args: unit (str): Determines the unit value to output. Could
featuretools/primitives/standard/transform/latlong/haversine.py:11
↓ 3 callersClassHolidayUtil
featuretools/primitives/standard/transform/datetime/utils.py:7
↓ 3 callersClassMaxConsecutiveFalse
Determines the maximum number of consecutive False values in the input Examples: >>> max_consecutive_false = MaxConsecutiveFalse()
featuretools/primitives/standard/aggregation/max_consecutive_false.py:7
↓ 3 callersClassMaxConsecutiveTrue
Determines the maximum number of consecutive True values in the input Examples: >>> max_consecutive_true = MaxConsecutiveTrue() >
featuretools/primitives/standard/aggregation/max_consecutive_true.py:7
↓ 3 callersClassMockEntryPoint
featuretools/tests/utils_tests/test_entry_point.py:21
↓ 3 callersClassMockPkgResources
featuretools/tests/utils_tests/test_entry_point.py:38
↓ 3 callersClassMockProgressCallback
featuretools/tests/computational_backend/test_calculate_feature_matrix.py:2030
↓ 3 callersClassMultiplyNumericBoolean
Performs element-wise multiplication of a numeric list with a boolean list. Description: Given a list of numeric values X and a list of
featuretools/primitives/standard/transform/binary/multiply_numeric_boolean.py:8
↓ 3 callersClassPrimitive
featuretools/tests/primitive_tests/test_primitive_base.py:67
↓ 3 callersClassPrimitivesDeserializer
This class wraps a cache and a generator which iterates over all primitive classes. When deserializing a primitive if it is not in the cache
featuretools/primitives/utils.py:375
↓ 3 callersClassRateOfChange
Computes the rate of change of a value per second. Examples: >>> import pandas as pd >>> rate_of_change = RateOfChange()
featuretools/primitives/standard/transform/numeric/rate_of_change.py:7
↓ 3 callersClassRollingTrend
Calculates the trend of a given window of entries of a column over time. Description: Given a list of numbers and a corresponding list of
featuretools/primitives/standard/transform/time_series/rolling_trend.py:12
↓ 3 callersClassSeason
Determines the season of a given datetime. Returns winter, spring, summer, or fall. This only works for northern hemisphere. Desc
featuretools/primitives/standard/transform/datetime/season.py:10
↓ 3 callersClassURLToDomain
Determines the domain of a url. Description: Calculates the label to identify the network domain of a URL. Supports urls with or
featuretools/primitives/standard/transform/url/url_to_domain.py:7
↓ 3 callersClassURLToProtocol
Determines the protocol (http or https) of a url. Description: Extract the protocol of a url using regex. It will be either https
featuretools/primitives/standard/transform/url/url_to_protocol.py:7
↓ 3 callersClassURLToTLD
Determines the top level domain of a url. Description: Extract the top level domain of a url, using regex, and a list of common t
featuretools/primitives/standard/transform/url/url_to_tld.py:8
↓ 2 callersClassConfig
featuretools/config_init.py:50
↓ 2 callersClassCumSum
Calculates the cumulative sum. Description: Given a list of values, return the cumulative sum (or running total). There is no set
featuretools/primitives/standard/transform/cumulative/cum_sum.py:6
↓ 2 callersClassDivideByFeature
Divides a scalar by each value in the list. Description: Given a list of numeric values and a scalar, divide the scalar by each v
featuretools/primitives/standard/transform/binary/divide_by_feature.py:6
↓ 2 callersClassDivideNumeric
Performs element-wise division of two lists. Description: Given a list of values X and a list of values Y, determine the quotient
featuretools/primitives/standard/transform/binary/divide_numeric.py:6
↓ 2 callersClassDivideNumericScalar
Divides each element in the list by a scalar. Description: Given a list of numeric values and a scalar, divide each value in the
featuretools/primitives/standard/transform/binary/divide_numeric_scalar.py:6
↓ 2 callersClassExpandingCount
Computes the expanding count of events over a given window. Description: Given a list of datetimes, returns an expanding count starting
featuretools/primitives/standard/transform/time_series/expanding/expanding_count.py:11
↓ 2 callersClassFileExtension
Determines the extension of a filepath. Description: Given a list of filepaths, return the extension suffix of each one. If the f
featuretools/primitives/standard/transform/file_extension.py:7
↓ 2 callersClassIsInGeoBox
Determines if coordinates are inside a box defined by two corner coordinate points. Description: Coordinate values should be specifie
featuretools/primitives/standard/transform/latlong/is_in_geobox.py:8
↓ 2 callersClassIsLunchTime
Determines if a datetime falls during configurable lunch hour, on a 24-hour clock. Args: lunch_hour (int): Hour when lunch is taken. Must
featuretools/primitives/standard/transform/datetime/is_lunch_time.py:7
↓ 2 callersClassIsWorkingHours
Determines if a datetime falls during working hours on a 24-hour clock. Can configure start_hour and end_hour. Args: start_hour (int): St
featuretools/primitives/standard/transform/datetime/is_working_hours.py:7
↓ 2 callersClassMockProgressCallback
featuretools/tests/synthesis/test_dfs_method.py:599
↓ 2 callersClassMockProgressCallback
featuretools/tests/computational_backend/test_feature_set_calculator.py:1101
↓ 2 callersClassNegate
Negates a numeric value. Examples: >>> negate = Negate() >>> negate([1.0, 23.2, -7.0]).tolist() [-1.0, -23.2, 7.0]
featuretools/primitives/standard/transform/numeric/negate.py:6
↓ 2 callersClassNumUnique
Determines the number of distinct values, ignoring `NaN` values. Args: use_string_for_pd_calc (bool): Determines if the string 'nunique'
featuretools/primitives/standard/aggregation/num_unique.py:8
↓ 2 callersClassNumberOfCommonWords
Determines the number of common words in a string. Description: Given string, determine the number of words that appear in a supplied wor
featuretools/primitives/standard/transform/natural_language/number_of_common_words.py:15
↓ 2 callersClassNumericLag
Shifts an array of values by a specified number of periods. Args: periods (int): The number of periods by which to shift the input.
featuretools/primitives/standard/transform/time_series/numeric_lag.py:9
↓ 2 callersClassRollingSTD
Calculates the standard deviation of entries over a given window. Description: Given a list of numbers and a corresponding list of
featuretools/primitives/standard/transform/time_series/rolling_std.py:11
↓ 2 callersClassSumNTimes
featuretools/tests/primitive_tests/test_agg_feats.py:609
↓ 2 callersClassSumTimesN
featuretools/tests/computational_backend/test_feature_set_calculator.py:932
↓ 2 callersClassTimeSinceLast
Calculates the time elapsed since the last datetime (default in seconds). Description: Given a list of datetimes, calculate the t
featuretools/primitives/standard/aggregation/time_since_last.py:8
↓ 2 callersClassTrend
Calculates the trend of a column over time. Description: Given a list of values and a corresponding list of datetimes, calculate
featuretools/primitives/standard/aggregation/trend.py:9
↓ 1 callersClassCustomIsIn
featuretools/tests/primitive_tests/test_transform_features.py:1056
↓ 1 callersClassDay
Determines the day of the month from a datetime. Examples: >>> from datetime import datetime >>> dates = [datetime(2019, 3, 1),
featuretools/primitives/standard/transform/datetime/day.py:7
↓ 1 callersClassDayOfYear
Determines the ordinal day of the year from the given datetime Description: For a list of dates, return the ordinal day of the year
featuretools/primitives/standard/transform/datetime/day_of_year.py:7
↓ 1 callersClassDaysInMonth
Determines the number of days in the month of given datetime. Examples: >>> from datetime import datetime >>> dates = [datetime(2
featuretools/primitives/standard/transform/datetime/days_in_month.py:7
↓ 1 callersClassDiff
Computes the difference between the value in a list and the previous value in that list. Args: periods (int): The number of periods b
featuretools/primitives/standard/transform/numeric/diff.py:6
↓ 1 callersClassDiffDatetime
Computes the timedelta between a datetime in a list and the previous datetime in that list. Args: periods (int): The number of period
featuretools/primitives/standard/transform/datetime/diff_datetime.py:7
↓ 1 callersClassEqualScalar
Determines if values in a list are equal to a given scalar. Description: Given a list of values and a constant scalar, determine
featuretools/primitives/standard/transform/binary/equal_scalar.py:7
↓ 1 callersClassExpandingMax
Computes the expanding maximum of events over a given window. Description: Given a list of datetimes, returns an expanding maximum starti
featuretools/primitives/standard/transform/time_series/expanding/expanding_max.py:11
↓ 1 callersClassExpandingMean
Computes the expanding mean of events over a given window. Description: Given a list of datetimes, returns an expanding mean starting
featuretools/primitives/standard/transform/time_series/expanding/expanding_mean.py:11
↓ 1 callersClassExpandingMin
Computes the expanding minimum of events over a given window. Description: Given a list of datetimes, returns an expanding minimum starti
featuretools/primitives/standard/transform/time_series/expanding/expanding_min.py:11
next →1–100 of 377, ranked by callers