
Ngoc Phan
Articles
-
Jul 13, 2024 |
phann123.medium.com | Ngoc Phan
data_df = pd.DataFrame(data) # Data Preprocessing def preprocess_data(df): # Example feature: Extract keywords from posts vectorizer = CountVectorizer() post_features = vectorizer.fit_transform(df['posts']).toarray() # Extract numeric features from profile_info (example: year of birth) df['year_of_birth'] = df['profile_info'].apply(lambda x: int(re.findall(r'\d+', x)[0]) if re.findall(r'\d+', x) else np.nan) # Combine features into a single dataframe features = np.hstack([post_features,...
-
Jun 21, 2024 |
mdpi.com | Viet Le |Ngoc Phan |Thi Tran |Thi Diep Khong
All articles published by MDPI are made immediately available worldwide under an open access license. No special permission is required to reuse all or part of the article published by MDPI, including figures and tables. For articles published under an open access Creative Common CC BY license, any part of the article may be reused without permission provided that the original article is clearly cited. For more information, please refer to https://www.mdpi.com/openaccess.
-
May 17, 2023 |
onlinelibrary.wiley.com | Elaine Denny |Ngoc Phan |Diego Romero |Erik Wibbels
Abstract There is growing affinity for audits as a tool to promote political accountability and reduce corruption. Nevertheless, knowledge about the mechanisms through which audits work remains limited. While most work on audits shows that they can work via citizen sanctions of bad performers, we emphasize that audit effects can also run through prospective incentives, that is, the desire to avoid poor audit results in the first place.
Try JournoFinder For Free
Search and contact over 1M+ journalist profiles, browse 100M+ articles, and unlock powerful PR tools.
Start Your 7-Day Free Trial →