MCPcopy Create free account

hub / github.com/AutoViML/AutoViz / functions

Functions93 in github.com/AutoViML/AutoViz

↓ 27 callersMethodadd_plots
This is a simple program to append the input chart to the right variable named plotname which is an attribute of class AV. So make
autoviz/AutoViz_Class.py:166
↓ 19 callersFunctionsave_image_data
(fig, chart_format, plot_name, mk_dir, additional='')
autoviz/AutoViz_Utils.py:60
↓ 14 callersFunctionappend_panels
(hv_panel, imgdata_list, chart_format)
autoviz/AutoViz_Holo.py:108
↓ 12 callersFunctionensure_hvplot_imported
()
autoviz/AutoViz_Holo.py:48
↓ 12 callersFunctionlist_difference
(l1, l2)
autoviz/AutoViz_Utils.py:1308
↓ 12 callersFunctionsave_html_data
(hv_all, chart_format, plot_name, mk_dir, additional='')
autoviz/AutoViz_Holo.py:92
↓ 8 callersFunctionfind_remove_duplicates
(values)
autoviz/AutoViz_Utils.py:1538
↓ 5 callersFunctionleft_subtract
(l1, l2)
autoviz/AutoViz_Utils.py:1970
↓ 3 callersFunctiondata_cleaning_suggestions
This is a simple program to give data cleaning and improvement suggestions in class AV. Make sure you send in a dataframe. Otherwise, this
autoviz/AutoViz_Class.py:596
↓ 3 callersFunctiondraw_barplots
(dft, cats, conti, problem_type, verbose, chart_format, dep='', mk_dir=None)
autoviz/AutoViz_Utils.py:571
↓ 3 callersFunctiondraw_catscatterplots
The function draws catscatter plots for pairs of categorical variables in a data frame. A catscatter plot is a type of scatter plot that s
autoviz/AutoViz_Utils.py:1251
↓ 3 callersFunctiondraw_date_vars
(dfx, dep, datevars, num_vars, verbose, chart_format, modeltype='Regression', mk_dir=None)
autoviz/AutoViz_Utils.py:1052
↓ 3 callersFunctiondraw_distplot
(dft, cat_bools, conti, verbose, chart_format, problem_type, dep=None, classes=None, mk_dir=None)
autoviz/AutoViz_Utils.py:701
↓ 3 callersFunctiondraw_heatmap
(dft, conti, verbose, chart_format, datevars: list, dep=None, modeltype='Regression', mk_dir
autoviz/AutoViz_Utils.py:606
↓ 3 callersFunctiondraw_pair_scatters
### This is where you plot a pair-wise scatter plot of Independent Variables against each other####
autoviz/AutoViz_Utils.py:419
↓ 3 callersFunctiondraw_pivot_tables
(dft, problem_type, verbose, chart_format, depVar='', mk_dir=None)
autoviz/AutoViz_Utils.py:129
↓ 3 callersFunctiondraw_violinplot
(df, dep, nums, verbose, chart_format, modeltype='Regression', mk_dir=None)
autoviz/AutoViz_Utils.py:963
↓ 3 callersFunctiondraw_wordcloud_from_dataframe
This handy function draws a dataframe column using Wordcloud library and nltk.
autoviz/AutoViz_NLP.py:584
↓ 3 callersFunctionleft_subtract
(l1, l2)
autoviz/classify_method.py:27
↓ 3 callersFunctionplot_fast_average_num_by_cat
Great way to plot continuous variables fast grouped by a categorical variable. Just sent them in and it will take care of the rest!
autoviz/AutoViz_Utils.py:513
↓ 3 callersFunctionsearch_for_word_in_list
(columns_list, search_for_list)
autoviz/AutoViz_Utils.py:1320
↓ 2 callersFunctionclassify_columns
This actually does Exploratory data analysis - it means this function performs EDA ########################################################
autoviz/classify_method.py:68
↓ 2 callersFunctionclassify_print_vars
(filename: str or pd.DataFrame, sep, max_rows_analyzed, max_cols_analyzed, depVar='',
autoviz/AutoViz_Utils.py:1612
↓ 2 callersFunctionconvert_a_column_to_numeric
Function converts any pandas series (or column) consisting of string chars, into numeric values. It converts an all-string column to an all-nu
autoviz/AutoViz_Utils.py:2030
↓ 2 callersFunctionconvert_a_mixed_object_column_to_numeric
This is the main utility that converts any string column to numeric. It does not need Label Encoder since it picks up a string that may not
autoviz/AutoViz_Utils.py:2053
↓ 2 callersFunctioncount_freq_in_list
This counts the frequency of items in a list but MAINTAINS the order of appearance of items. This order is very important when you are doin
autoviz/AutoViz_Utils.py:1935
↓ 2 callersFunctiondraw_scatters
(dfin, nums, verbose, chart_format, problem_type, dep=None, classes=None, lowess=False, mk_dir=None)
autoviz/AutoViz_Utils.py:331
↓ 2 callersFunctionreturn_dictionary_list
Returns a dictionary of lists if you send in a list of Tuples
autoviz/AutoViz_Utils.py:1849
↓ 2 callersFunctionreturn_factorized_dict
###### Factorize any list of values in a data frame using this neat function if your data has any NaN's it automatically marks it as -1 an
autoviz/AutoViz_Utils.py:2006
↓ 2 callersFunctionreturn_stop_words
()
autoviz/AutoViz_NLP.py:168
↓ 1 callersFunctionAutoViz_Holo
############################################################################## ##### AUTOVIZ_HOLO PERFORMS AUTO VISUALIZATION OF ANY DATA S
autoviz/AutoViz_Holo.py:143
↓ 1 callersMethodAutoViz_Main
############################################################################## ##### AUTOVIZ_MAIN PERFORMS AUTO VISUALIZATION OF AN
autoviz/AutoViz_Class.py:244
↓ 1 callersFunctionEDA_find_remove_columns_with_infinity
This function finds all columns in a dataframe that have infinite values (np.inf or -np.inf) It returns a list of column names. If the list
autoviz/classify_method.py:39
↓ 1 callersFunctionanalyze_problem_type
(train, target, verbose=0)
autoviz/AutoViz_Utils.py:87
↓ 1 callersFunctioncatscatter
#################################################################################### # The catscatter idea was conceived by: Myr Barnés in
autoviz/AutoViz_Utils.py:1172
↓ 1 callersFunctionconvert_all_object_columns_to_numeric
####################################################################################### This is a utility that converts string columns to n
autoviz/AutoViz_Utils.py:2069
↓ 1 callersFunctiondraw_cat_vars_hv
(dfin, dep, nums, cats, chart_format, problem_type, mk_dir, verbose=0)
autoviz/AutoViz_Holo.py:250
↓ 1 callersFunctiondraw_date_vars_hv
(df, dep, datevars, nums, chart_format, modeltype='Regression', mk_dir='AutoViz_Plots',
autoviz/AutoViz_Holo.py:1017
↓ 1 callersFunctiondraw_distplot_hv
(dft, cats, conti, chart_format, problem_type, dep=None, classes=None, mk_dir='AutoViz_P
autoviz/AutoViz_Holo.py:647
↓ 1 callersFunctiondraw_heatmap_hv
(dft, conti, chart_format, datevars:list, dep=None, modeltype='Regression', classes=None,
autoviz/AutoViz_Holo.py:1094
↓ 1 callersFunctiondraw_kdeplot_hv
(dfin, cats, nums, chart_format, problem_type, dep, ls_objects, mk_dir, verbose=0)
autoviz/AutoViz_Holo.py:332
↓ 1 callersFunctiondraw_pair_scatters_hv
#### PAIR SCATTER PLOTS ARE NEEDED ONLY FOR CLASSIFICATION PROBLEMS IN NUMERIC VARIABLES ### This is where you plot a pair-wise scatter plo
autoviz/AutoViz_Holo.py:498
↓ 1 callersFunctiondraw_scatters_hv
(dft, nums, chart_format, problem_type, dep=None, classes=None, lowess=False, mk_dir='Au
autoviz/AutoViz_Holo.py:399
↓ 1 callersFunctiondraw_violinplot_hv
(dft, dep, nums, chart_format, modeltype='Regression', mk_dir='AutoViz_Plots', verbose
autoviz/AutoViz_Holo.py:881
↓ 1 callersFunctiondraw_word_clouds
(dft, each_string_var, chart_format, plotname, dep, problem_type, classes, mk_dir, verbo
autoviz/AutoViz_NLP.py:629
↓ 1 callersFunctionexpandAbbreviations
(sentence)
autoviz/AutoViz_NLP.py:500
↓ 1 callersFunctionexpandContractions
Takes in a sentence, splits it into list of strings and returns sentence back with items sibstituted by expanded abbreviations or abbreviat
autoviz/AutoViz_NLP.py:192
↓ 1 callersFunctionexpandSlangs
(sentence)
autoviz/AutoViz_NLP.py:506
↓ 1 callersFunctionfind_top_features_xgb
This is a fast utility that uses XGB to find top features. It returns a list of important features. Since it is XGB, you don't have to
autoviz/AutoViz_Utils.py:2101
↓ 1 callersFunctionleft_subtract
(l1, l2)
autoviz/AutoViz_NLP.py:159
↓ 1 callersFunctionload_file_dataframe
(dataname, sep=",", header=0, nrows=None, parse_dates=False)
autoviz/AutoViz_Utils.py:1549
↓ 1 callersFunctionremove_punctuations
(text: str)
autoviz/AutoViz_NLP.py:515
↓ 1 callersFunctionremove_stopwords
Removes STOP_WORDS characters
autoviz/AutoViz_NLP.py:231
↓ 1 callersFunctionremove_variables_using_fast_correlation
#### THIS METHOD IS KNOWN AS SULO METHOD in HONOR OF my mother SULOCHANA SESHADRI ####### This highly efficient method removes variables th
autoviz/AutoViz_Utils.py:1859
↓ 1 callersFunctionreturn_dynamic_objects
(dfout, dep, title='Distribution of Target variable')
autoviz/AutoViz_Holo.py:347
↓ 1 callersFunctionsplit_into_lemmas
(text)
autoviz/AutoViz_NLP.py:241
↓ 1 callersFunctionstart_classifying_vars
(dfin, verbose)
autoviz/AutoViz_Utils.py:1371
MethodAutoViz
############################################################################## ##### AUTOVIZ PERFORMS AUTOMATIC VISUALIZATION OF AN
autoviz/AutoViz_Class.py:191
FunctionEDA_find_remove_columns_with_infinity
This function finds all columns in a dataframe that have inifinite values (np.inf or -np.inf) It returns a list of column names. If the lis
autoviz/AutoViz_Utils.py:1816
Method__init__
(self)
autoviz/AutoViz_Class.py:83
Method__init__
(self, quantile=0.87, cat_fill_value='missing', num_fill_value=9999, rare_threshold=0.01,
autoviz/AutoViz_Class.py:581
Functionadd
(a, b)
autoviz/classify_method.py:91
Methodadd_subheading
This is a simple program to append the input chart to the right variable named plotname which is an attribute of class AV. So make
autoviz/AutoViz_Class.py:179
Functionanalyze_ID_columns
(dfin, columns_list)
autoviz/AutoViz_Utils.py:1346
Functionanalyze_columns_in_dataset
(dfx, IDcolse, verbose)
autoviz/AutoViz_Utils.py:1490
Functionclean_steps
(text)
autoviz/AutoViz_NLP.py:556
Functionclean_text
############################################################################### ## This cleans text string. Use it only as a Series.map(cle
autoviz/AutoViz_NLP.py:565
Functionconvert_emojis
(text)
autoviz/AutoViz_NLP.py:218
Functionconvert_train_test_cat_col_to_numeric
#### This is the easiest way to label encode object variables in both train and test #### This takes care of some categories that are pres
autoviz/AutoViz_Utils.py:1979
Functioncount_emojis
(sentence)
autoviz/AutoViz_NLP.py:532
Functioncreate_figure
(x, figure_y)
autoviz/AutoViz_Holo.py:298
Functiondisplay_dmap
(dmap)
autoviz/AutoViz_Holo.py:114
Functiondisplay_obj
(dmap_in)
autoviz/AutoViz_Holo.py:124
Functiondisplay_server
(dmap)
autoviz/AutoViz_Holo.py:135
Functiondraw_pivot_tables_old
(dft, verbose, chart_format, depVar='', mk_dir=None)
autoviz/AutoViz_Utils.py:218
Functionfind_corr_vars
This returns a dictionary of counts of each variable and how many vars it is correlated to in the dataframe
autoviz/AutoViz_Utils.py:1947
Functionfind_remove_duplicates
(values)
autoviz/AutoViz_NLP.py:619
Functionjoin_words
(text)
autoviz/AutoViz_NLP.py:511
Functionload_symbol
(symbol, **kwargs)
autoviz/AutoViz_Holo.py:428
Functionmarthas_columns
This program is named in honor of my one of students who came up with the idea for it. It's a neat way of printing data types and informat
autoviz/AutoViz_Utils.py:1793
Functionremove_URL
(text)
autoviz/AutoViz_NLP.py:203
Functionremove_emoji
(text)
autoviz/AutoViz_NLP.py:519
Functionremove_html
(text)
autoviz/AutoViz_NLP.py:209
Functionremove_punct
(text)
autoviz/AutoViz_NLP.py:222
Functionsave_image_data_hv
(fig, chart_format)
autoviz/AutoViz_Holo.py:74
Functionselect_variable_to_plot
This program must take in a variable passed from the widget and turn it into a chart. The input is known as
autoviz/AutoViz_Holo.py:728
Functionselect_widget
This program must take in a variable passed from the widget and turn it into a chart. The input is known as
autoviz/AutoViz_Holo.py:682
Methodtest
(self)
autoviz/tests/test_deps.py:5
Methodtest_add_plots
(self)
autoviz/tests/test_autoviz_class.py:6
Functionwarn
(*args, **kwargs)
autoviz/AutoViz_Class.py:43
Functionwarn
(*args, **kwargs)
autoviz/AutoViz_Holo.py:11
Functionwarn
(*args, **kwargs)
autoviz/classify_method.py:18
Functionwarn
()
autoviz/AutoViz_Utils.py:26