学年

教科

質問の種類

情報: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
英語 高校生

線を引いたところの訳し方を丁寧に教えて頂きたいです🙇‍♀️

L American poet Ralph Waldo Emerson once said, "Every artist was first an amateur." He likely never thought those words would apply to machines. Yet artificial intelligence (AI) has demonstrated a growing talent for creativity, whether writing a heavy-metal rock album or producing an original portrait that is strikingly similar to a Rembrandt. Applying AI to the art world might seem unoriginal; there are, of course, plenty of humans delivering awe-inspiring work. Supporters say, however, the real beauty of training AI to be creative does not lie in the end product-but rather in the technology's potential to expand on its own machine-learning education, and to solve problems by thinking in different ways far faster and better than humans can. For example, creative problem-solving AI could someday make snap decisions that save the lives of the passengers in a self-driving car if its sensors fail. AI with a creative component will be essential in developing highly automated systems that can respond appropriately to human life, says Mark Riedl, an associate professor at Georgia Institute of Technology's School of Interactive Computing. "The fact is, we do lots of little bits of creativity every single day; lots of problem-solving goes on," Riedl says. "If my son gets a toy stuck under the couch, I have to devise a tool from a hanger to get it out." Riedl points out human creativity is also important in human social interactions, even telling a well-timed joke or recognizing a pun. Computers struggle with such subtleties. An incomplete understanding of how humans construct metaphors, for example, was all it took for an experiment in Al-generated literature to compose a new Harry Potter chapter filled with nonsensical sentences such as, "The floor of the castle seemed like a large pile

回答募集中 回答数: 0
数学 高校生

0<=t<=1とはどういうことですか、教えてください。

例題 131 三角 00180°において、方程式 2cos°0-5sin0 +1=0を満たす0の他 Joies 100 を求めよ。 思考プロセス 変数を減らす 一方を消去 sin と cose sin0 (または cos0 ) だけの方程式 既知の問題に帰着 int とおく で tの方程式 を含む方程式 /sin'0+cos'0=1 置き換えたもの 値の範囲に注意 の利用 Action 三角比の2乗を含む式は、1つの三角比で表せ を利用せよ RoAction 文字を置き換えたときは、その文字のとり得る値の範囲を考えよ 例題76 扇 cos20=1-sin0 であるから,与式は19歳与えられた方程式の1次 2 (1-sin20)-5sin0+1 = 0 2sin0+5sin0-3 = 0 の項が sind であるから、 sin0 だけの式にする。 ... 1 ここで,sin0 = t とおくと,0°≧≦180°より心agoioad 0 ≤1 ≤1 方程式 ① は 2t2+5t-3=0 (t+3)(2t-1)= 0 1 よって t = -3, 2 置き換えた文字のとり 得る値の範囲に注意する。 Onia d 3 → 6 1 0≦t1であるから t= 1-2 031 01 YA sin0 = -3 を満たす角 1 130 すなわち sin - 1 12 2 ( は存在しない。 2 P したがって, 求める 0 は 0 = 30°,150° 単位円上で座標が 1/2 1 x となる点は,図の2点P, P'である。 05 Point... sin0, cost の2乗を含む方程式の解法の手順 ①sin°0 + cos 0 = 1 を用いて sind (または cose) だけの方程式をつくる。 (2) sint (または coset) とおいて, tの2次方程式をつくる ③置き換えた文字のとり得る値の範囲を求める (4 0° 0≦sin≦1 より 180°のとき, (または1 ≦ cosd ≦1 より - ③の範囲に注意して②のもの方程式を解く。 単位円を用いて,の値を求める 0 st≤1 TO

未解決 回答数: 0