Git Product home page Git Product logo

cognito's People

Contributors

aastik19 avatar aishikabanik98 avatar analyticsanshul avatar bastinrobin avatar nibir-paul avatar rishikakotta avatar tanvirath avatar vandana-11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cognito's Issues

Inside `Transform` class create `split_date` method

Write a method inside this Transform class which is present in cognito/process/__init__.py which should take a date string and return a dict with day, month, year attributes.

		>> Transform.split_date('2020-10-18')
		>> {'day': 18, 'month': 10, 'year': 2020 }

Check `is_datetime`

Write a method inside the Check class called is_datetime

    Usage:
    ======
        >> Check.is_datetime("2020-02-20 00:00:00")
        >> True
        >> Check.is_datetime("2020-02-01")
        >> False 

Check `is_date` method

Write a method inside the Check class called is_date which takes a string as a parameter and return True if it' a Date.

    Usage:
    ======
        >> Check.is_date("20-20-2020")
        >> True
    """
  • Open the csv file as dataframes - read_csv
  • slice columns using list or tuple - slice
  • binning - binning
  • treat_outliers - fix_outlier
  • impute_col - imputer
  • treat_missing_values - fix_missing
  • ignore_cardinality - ignore_cardinality
  • encode column - encode_col
  • encode list of columns - group_encode
  • treat_date - date_extract
  • log_transform - log_transform
  • cat_group - cat_group
    _ num_group - num_group
    _ scaling - scaling

Automatic Missing Value Imputation Using AutoML

We need a method that should be able to impute missing values in the given dataset after finishing basic data cleaning using cognito prepare. Once the imputation is completed the dataset should be able to download.

Inside Transform Class Add `Numerical`

Write a method inside the Transform add method called numerical which maps a categorical variable with a numerical value integer.

	Usage:
	======
		>> T = Transform()
		>> T.numerical(['cat', 'rat', 'mice', 'mice', 'rat'])
		>> [
			'cat':  0,
			'rat':  1,
			'mice': 3 ]

Inside `Transform` class create method `split_dates`

Write a method to take pandas.core.series of dates as input and return pandas data frame with columns day, month, year of all observations.

>> Transform.split_dates([2020-10-02, 2019-10-01, 2020-11-11])
>> day, month, year
		    02     10   2020
		    01     10   2019
		    11     11   2020

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.