学年

質問の種類

情報:IT 高校生

外れ値とならなかった個数をカウントした場合なぜj=j+1になるのですか?

テーマ3 データの分析に関するプログラミング 例題:外れ値の扱いについて,箱ひげ図の場合は四 分位範囲の1.5倍を 「ひげ」 の長さの上限に して、その長さから外れるものを外れ値とす るという考え方がある。 外れ値がある場合 ひげを短くする 四分位範囲 の1.5倍 四分位範囲 7個のデータ [-100 20 30 40 50,60,1000] のうち、外れ値を除外して平均値を求める以下の〈プ ログラム〉を作った。この〈プログラム〉では,元 のデータ7個が配列 Data[0], Data[1], Data[6] に格納されており,第1四分位数を q1 第 3 四分位数を q3 とし、四分位範囲はアで表せる。そして, 外れ値を除いたデータは 配列 Data_c[0], Data_c[1], … に格納するものとする。 なお、すべての配列の添字は0か ら始まるものとする。 Data=[-100,20,30, 40,50,60,1000] Data_c=[0,0,0,0,0,0, 0] q1=20 g3 = 60 (1) (2) (3) (4) (5) j=0 (6) i を 0 から イ まで1ずつ増やしながら繰り返す: (7) | もし Data[i]>= ウ and Data[i] <= エ ならば: (8) | Data_c[j] = Data[i] (9) LLj = オ れる。 (10) s=0 (11) iを0から カ まで1ずつ増やしながら繰り返す : (12) L s = s +Data_c[i] (13) 表示する(キ) ~ <プログラム> 空欄 ア キに最も当てはまるものを,次の解答群から一つずつ選べ。

未解決 回答数: 0
英語 高校生

②に入る単語がwhereになる意味がわかりません。場所を意味する文なのかも分かりません😭

A h A Humpback whales visit California to feed in the summer and autumn before migrating south 15 to reproduce off the coast of Mexico. They are the world's most endangered among their species. An estimated 35,000 to 40,000 remain in the wild. The Marine Mammal Center says the main threats facing humpback whales are strikes from ships and getting caught in fishing and waste equipment. The Whale Safe system is designed to identify and protect several different species, 20 including humpback, blue, fin and gray whales. It uses three methods to do so. First, it uses devices that float - known as buoys - to record sounds the whales make. Second, it uses computer models to process current and historical ocean data to predict where the whales are most likely to be. Third, it permits trained observers and citizens to report whale sightings through a mobile app. Developers of the system say the expansion of Whale Safe to San 25 Francisco demonstrates that the system can be successfully used in more places in the United States and around the world. 年度 一般前期 1月30日 Jeff Boehm is a leader of the Marine Mammal Center. He said the Whale Safe system combines the latest technology with thoughtful conservation efforts "to create a solution to reduce risk to whales." Boehm added, "This is ( 2 ) tech meets Mother Nature for the benefit mads S 30 of marine life." avili .1 (0) 英語 Douglas McCauley is director of the Benioff Ocean Science Laboratory. He said in a Lilline of whales hv ship strikes is "an avoidable problem." "We can't any は、

解決済み 回答数: 1