Uncategorized

Analytics | Artificial Intelligence | Data for Good
Josh Morgan 0
Supporting mental health with data and analytics through improved education policy

All students need hope at varying levels to graduate, especially those needing mental health support. Many students are still reacclimating to life after two years of COVID disruptions, on top of the usual anxiety that comes with beginning a new phase of life. New and unfamiliar surroundings, increased pressure of

Advanced Analytics | Fraud & Security Intelligence
Alejandro Villar 0
La analítica como solución para el fraude financiero

La analítica de datos es conocida porque permite detectar patrones y comportamientos para predecir situaciones. Gracias a ella, las instituciones tienen la capacidad de anticiparse a las necesidades de los ciudadanos y poder tomar decisiones. Otra de las aplicaciones que tiene para, por ejemplo, las marcas, es poder recomendar productos

Advanced Analytics | Analytics | Cloud
Charlie Chase 0
6 advantages of using software as a service for demand planning

Getting demand right – or getting it wrong – can have a significant impact on customer perceptions of your brand, particularly in this age of instant gratification. The need for agile, accurate demand planning has never been greater. Predicting forward-looking demand signals and shifting consumer demand patterns to recommend balanced, profitable commercial

Advanced Analytics | Analytics | Data Management
Estelle Wang 0
Find duplicates and near-duplicates in a corpus with Natural Language Processing

To find exact duplicates, matching all string pairs is the simplest approach, but it is not a very efficient or sufficient technique. Using the MD5 or SHA-1 hash algorithms can get us a correct outcome with a faster speed, yet near-duplicates would still not be on the radar. Text similarity is useful for finding files that look alike. There are various approaches to this and each of them has its own way to define documents that are considered duplicates. Furthermore, the definition of duplicate documents has implications for the type of processing and the results produced. Below are some of the options. Using SAS Visual Text Analytics, you can customize and accomplish this task during your corpus analysis journey either with Python SWAT package or with PROC SQL in SAS.

Analytics | Data for Good | Work & Life at SAS
Danielle Pavliv 0
4 ways SAS is driving diversity, equity and inclusion with HBCUs

SAS' multidimensional culture blends our different backgrounds, experiences and perspectives from employees in 59 countries worldwide. We want everyone to feel confident expressing their ideas and know they will be respected for their unique contributions and abilities. At SAS, it’s not about fitting into our culture; it’s about adding to

Work & Life at SAS
Danielle Adams 0
The SAS Intern Experience

It was the summer of ’22. And in the words of Taylor Swift, “I remember it all too well” (Taylor’s version, of course). From mentoring opportunities, networking with top leaders and other interns, exploring our culture that promotes well-being and work-life integration to having meaningful work to gain real world

Analytics | Learn SAS
Rick Wicklin 0
The noncentral t distribution in SAS

The noncentral t distribution is a probability distribution that is used in power analysis and hypothesis testing. The distribution generalizes the Student t distribution by adding a noncentrality parameter, δ. When δ=0, the noncentral t distribution is the usual (central) t distribution, which is a symmetric distribution. When δ >

Analytics
自然言語処理とSAS (3)

こんにちは!SAS Institute Japanの堀内です。今回も自然言語処理について紹介いたします。 前回の投稿では、実際にSASを使って日本語の文章を扱う自然言語処理の例を解説しました。 最終回の本投稿ではその応用編として、自然言語処理の代表的なタスクとSASによる実装方法を紹介します。なお、ここでいうタスクとは「定式化され一般に共有された課題」といった意味になります。自然言語処理には複数のタスクがあり、タスクごとに、共通する部分はあるとはいえ、問題解決のアプローチ方法は基本的に大きく異なります。SASには各タスクごとに専用のアクションセット1が容易されています。 要約タスク その名の通り文章を要約するタスクです。SASではtextSummarizeアクションセットで対応可能です。 ここでは、NHKのニュース解説記事「気になる頭痛・めまい 天気が影響?対処法は?」(https://www.nhk.or.jp/kaisetsu-blog/700/471220.html) の本文を5センテンスで要約してみましょう。 import swat conn = swat.CAS('mycashost.com', 5570, 'username', 'password') conn.builtins.loadActionSet(actionSet='textSummarization') conn.textSummarization.textSummarize(addEllipses=False, corpusSummaries=dict(name='corpusSummaries', compress=False, replace=True), documentSummaries=dict(name='documentSummaries', compress=False, replace=True), id='Id', numberOfSentences=5, table={'name':CFG.in_cas_table_name}, text='text', useTerms=True, language='JAPANESE') conn.table.fetch(table={'name': 'corpusSummaries'}) numberOfSentencesで要約文のセンテンス数を指定しています。結果は以下の通りです。 'まず体調の変化や天気、気温・湿度・気圧などの日記をつけ、本当に天気が影響しているのか、どういうときに不調になるのかパターンを把握すると役立ちます。 気温・湿度以外にも、気圧が、体調の悪化や、ときに病気の引き金になることもあります。 私たちの体は、いつも耳の奥にある内耳にあると言われている気圧センサーで、気圧の変化を調整しています。 ただ、天気の体への影響を研究している愛知医科大学佐藤客員教授にお話ししを伺ったところ、「台風最接近の前、つまり、気圧が大きく低下する前に、頭が痛いなど体調が悪くなる人は多い」ということです。 内耳が敏感な人は、わずかな気圧の変化で過剰に反応し、脳にその情報を伝えるので、脳がストレスを感じ、体のバランスを整える自律神経が乱れ、血管が収縮したり、筋肉が緊張するなどして、その結果、頭痛・めまいなどの体に様々な不調につながっているのです。' 重要なセンテンスが抽出されていることが分かります。   テキスト分類タスク 文章をいくつかのカテゴリに分類するタスクです。その内、文章の印象がポジティブなのかネガティブなのか分類するものをセンチメント分析と呼びます。ここでは日本語の有価証券報告書の文章をポジティブかネガティブか判定してみます。使用するデータセットは以下になります。 https://github.com/chakki-works/chABSA-dataset (なお、こちらのデータセットには文章ごとにポジティブかネガティブかを示す教師ラベルは元々付与されておりませんが、文章内の特定のフレーズごとに付与されているスコアを合算することで教師ラベルを合成しております。その結果、ポジティブ文章は1670文章、ネガティブ文章は1143文章、合計2813文章になりました。教師ラベルの合成方法詳細はこちらのブログをご覧ください。) pandasデータフレームにデータを格納した状態を確認してみましょう。 df = pd.read_csv(CFG.local_input_file_path) display(df)

1 12 13 14 15 16 281