现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——11A - Maheegun My Brother(美尔根,我的兄弟)

基于cat12搞定SBM的ROI的统计分析——vertex水平和ROI水平的双样本T检验 前言 一、Atlas皮层图谱介绍 二、SBM分析——主要以皮层四种常用指标中的厚度(thickness)和沟深(depth)为主 阅读详情
AI摘要

14岁的埃瑞克在春天救下了一只狼崽,取名美尔根。他们成为了亲密无间的伙伴,一起度过了一段快乐的时光。然而,美尔根的本性让他回归了狼群。在一次迷路的危机中,美尔根救了埃瑞克,展现了忠诚和勇气。这个故事讲述了人与自然、人与动物之间深厚的情感纽带。

Unit 11A - Maheegun My Brother

Maheegun My Brother

Eric Acland

The year I found Maheegun, spring was late in coming. That day, I was spearing fish with my grandfather when I heard the faint crying and found the shivering wolf cub.

As I bent down, he moved weakly toward me. I picked him up and put him inside my jacket. Little Maheegun gained strength after I got the first few drops of warm milk in him. He wiggled and soon he was full and warm.

My grandfather finally agreed to let me keep him.

That year, which was my 14th, was the happiest of my life.

Not that we didn't have our troubles. Maheegun was the most mischievous wolf cub ever. He was curious too. Like looking into Grandma's sewing basket—which he upset, scattering thread and buttons all over the floor. At such times, she would chase him out with a broom and Maheegun would poke his head around the corner, waiting for things to quiet down.

That summer Maheegun and I became hunting partners. We hunted the grasshoppers that leaped about like little rockets. And in the fall, after the first snow our games took us to the nearest meadows in search of field mice. By then, Maheegun was half grown. Gone was the puppy-wool coat. In its place was a handsome black mantle.

The winter months that came soon after were the happiest I could remember. They belonged only to Maheegun and myself. Often we would make a fire in the bushes. Maheegun would lay his head between his front paws, with his eyes on me as I told him stories.

It all served to fog my mind with pleasure so that I forgot my Grandpa's repeated warnings, and one night left Maheegun unchained. The following morning in sailed Mrs. Yesno, wild with anger, who demanded Maheegun be shot because he had killed her rooster. The next morning, my grandpa announced that we were going to take Maheegun to the north shack.

By the time we reached the lake where the trapper's shack stood, Maheegun seemed to have become restless. Often he would sit with his nose to the sky, turning his head this way and that as if to check the wind.

The warmth of the stove soon brought sleep to me. But something caused me to wake up with a start. I sat up, and in the moon-flooded cabin was my grandfather standing beside me. "Come and see, son," whispered my grandfather.

Outside the moon was full and the world looked all white with snow. He pointed to a rock that stood high at the edge of the lake.

On the top was the clear outline of a great wolf sitting still, ears pointed, alert, listening.

"Maheegun," whispered my grandfather.

Slowly the wolf raised his muzzle. "Oooo-oo-wow-wowoo-oooo!"

The whole white world thrilled to that wild cry. Then after a while, from the distance came a softer call in reply. Maheegun stirred, with the deep rumble of pleasure in his throat. He slipped down the rock and headed out across the ice.

"He's gone," I said.

"Yes, he's gone to that young she-wolf." My grandfather slowly filled his pipe. "He will take her for life, hunt for her, protect her. This is the way the Creator planned life. No man can change it."

I tried to tell myself it was all for the best, but it was hard to lose my brother.

For the next two years I was as busy as a squirrel storing nuts for the winter. But once or twice when I heard wolf cries from distant hills, I would still wonder if Maheegun, in his battle for life, found time to remember me.

It was not long after that I found the answer.

Easter came early that year and during the holidays I went to visit my cousins.

My uncle was to bring me home in his truck. But he was detained by some urgent business. So I decided to come back home on my own.

A mile down the road I slipped into my snowshoes and turned into the bush. The strong sunshine had dimmed. I had not gone far before big flakes of snow began drifting down.

The snow thickened fast. I could not locate the tall pine that stood on the north slope of Little Mountain. I circled to my right and stumbled into a snow-filled creek bed. By then the snow had made a blanket of white darkness, but I knew only too well there should have been no creek there.

I tried to travel west but only to hit the creek again. I knew I had gone in a great circle and I was lost.

There was only one thing to do. Camp for the night and hope that by morning the storm would have blown itself out. I quickly made a bed of boughs and started a fire with the bark of an old dead birch. The first night I was comfortable enough. But when the first gray light came I realized that I was in deep trouble. The storm was even worse. Everything had been smothered by the fierce whiteness.

The light of another day still saw no end to the storm. I began to get confused. I couldn't recall whether it had been storming for three or four days.

Then came the clear dawn. A great white stillness had taken over and with it, biting cold. My supply of wood was almost gone. There must be more.

Slashing off green branches with my knife, I cut my hand and blood spurted freely from my wound. It was some time before the bleeding stopped. I wrapped my hand with a piece of cloth I tore off from my shirt. After some time, my fingers grew cold and numb, so I took the bandage off and threw it away.

How long I squatted over my dying fire I don't know. But then I saw the gray shadow between the trees. It was a timber wolf. He had followed the blood spots on the snow to the blood-soaked bandage.

"Yap... yap... yap... yoooo!" The howl seemed to freeze the world with fear.

It was the food cry. He was calling, "Come, brothers, I have found meat." And I was the meat! Soon his hunting partner came to join him. Any time now, I thought, their teeth would pierce my bones.

Suddenly the world exploded in snarls. I was thrown against the branches of the shelter. But I felt no pain. And a great silence had come. Slowly I worked my way out of the snow and raised my head. There, about 50 feet away, crouched my two attackers with their tails between their legs. Then I heard a noise to my side and turned my head. There stood a giant black wolf. It was Maheegun, and he had driven off the others.

"Maheegun...Maheegun...," I sobbed, as I moved through the snow toward him. "My brother, my brother," I said, giving him my hand. He reached out and licked at the dried blood.

I got my little fire going again, and as I squatted by it, I started to cry. Maybe it was relief or weakness or both—I don't know. Maheegun whimpered too.

Maheegun stayed with me through the long night, watching me with those big eyes. The cold and loss of blood were taking their toll.

The sun was midway across the sky when I noticed how restless Maheegun had become. He would run away a few paces—head up, listening—then run back to me. Then I heard. It was dogs. It was the searching party! I put the last of my birch bark on the fire and fanned it into life.

The sound of the dogs grew louder. Then the voices of men. Suddenly, as if by magic, the police dog team came up out of the creek bed, and a man came running toward my fire. It was my grandfather.

The old hunter stopped suddenly when he saw the wolf. He raised his rifle. "Don't shoot!" I screamed and ran toward him, falling through the snow. "It's Maheegun. Don't shoot!"

He lowered his rifle. Then I fell forward on my face, into the snow.

I woke up in my bedroom. It was quite some time before my eyes came into focus enough to see my grandfather sitting by my bed.

"You have slept three days," he said softly. "The doc says you will be all right in a week or two."

"And Maheegun?" I asked weakly.

"He should be fine. He is with his own kind."

参考译文——美尔根,我的兄弟

美尔根,我的兄弟

埃瑞克·阿克兰

我发现美尔根的那年,春天姗姗来迟。那天,我和爷爷正在叉鱼的时候,我听到了微弱的叫声,发现了那个正在颤抖的小狼崽。

当我弯下腰去时,他无力地向我这边靠近。我把他抱起来,放进了夹克里。在我给小美尔根喂了几滴热牛奶之后,他有了力气。他扭了几下,很快就吃饱了,身上也暖和起来。

爷爷最后同意让我养这只小狼。

那年,我14岁,是我一生之中最快乐的时光。

但这并不是说我们没有麻烦。美尔根是我所知道的最顽皮的小狼,他还充满了好奇。比如说他想看看奶奶的针线筐里有什么——他将针线筐掀翻在地,弄得线和纽扣满地都是。每当这个时候,奶奶就会拿着扫帚将美尔根赶出去,而他则把头从墙角探出来,等着奶奶气消了。

那年夏天我和美尔根成了打猎伙伴。我们捕捉像小火箭一样蹦来蹦去的蚂蚱。秋天,下过第一场雪之后,我们去最近的草地上玩捉田鼠的游戏。那时,美尔根已经长成半大了,幼犬绒毛织成的外套不见了,取而代之的是一件漂亮的黑色披风。

那之后冬天很快到来,那是我记忆中最幸福的时光。那些时光只属于我和美尔根。我们常在灌木丛中生起一堆火。当我给美尔根讲故事时,他经常把头放在前爪之间,眼晴盯着我看。

这一切使我高兴过了头,结果有一天晚上我忘记了爷爷的再三叮嘱,没有把美尔根拴起来。第二天早晨,耶斯诺太太怒气冲冲地找过来,要求开枪打死美尔根,因为他弄死了她的鸡。第三天早晨,爷爷宣布我们要把美尔根带到北边的小棚屋去。

猎棚在一个湖泊旁边,当我们来到这儿时,美尔根看起来变得躁动不安。他常常蹲坐着,鼻子朝天,不停地将头扭来扭去,好像是在辨别风向。

火炉的温暖很快让我睡着了。但不知是什么使我猛然惊醒。我坐起来,看见爷爷站在我旁边,小屋里洒满了月亮的清辉。“过来看,孩子。”爷爷低声地说。

外面是一轮满月,世界因被白雪覆盖显得一片银白。爷爷指着湖边一块高耸的岩石,

岩石上面有一个清晰的大狼的轮廓,他静静地坐着,耳朵竖起,像在警觉地在听着什么。

“是美尔根。”爷爷低声说。

那只狼慢慢抬起口鼻。“嗷……嗷……喔……喔……嗷!”

那野性的叫声给整个白色的世界注入了活力。过了一会儿,从远处传来了轻柔一些的回应声。美尔根激动起来,用嗓子连续发出低沉的、愉悦的吼声。他快速跑下岩石,穿过冰面离开了。

“他走了。”我说。

“是的,他去找那只年轻的母狼了。”爷爷慢慢地装满烟斗。“他将陪她度过一生,为她猎食,保护她,这是上帝安排好了的生活方式,没人能改变它。”

我极力告诉自己这样是最好的结果,但失去兄弟仍让我很难过。

在接下来的两年里,我像为冬天储存坚果的松鼠一样忙。但有一两次当我听见从远处山里传来的狼叫时,我依然想知道美尔根,在他为生存而斗争之余,是否还记得我。

不久我便找到了答案。

那一年复活节来得早,在假期里我去表哥家做客。

我的舅舅原计划用他的卡车送我回家,但是由于他被一些紧急的事情绊住了,所以,我决定自己单独回家。

沿着路走了一英里后,我蹬上雪鞋,拐进灌木丛中。强烈的太阳光已经暗淡下来。我没走多远,大片大片的雪花就开始飘落。

雪很快就下了厚厚的一层。我找不到小山北坡上的那棵高高的松树的准确位置。我往右拐绕了一个圈子,跌跌撞撞地走进了一个冰雪覆盖的河床。那时雪已下得四处一片白茫茫,使得我辨不清方向,但是我清楚地记得在自己要去的地方应该没有小溪。

我努力向西走,结果又一次遇到了那条小溪。我知道我是绕了个大圈子,我迷路了。

我只能做一件事,那就是宿营过夜,希望第二天早晨醒来时,发现暴雪已经平息。我很快用树枝搭了个床,用枯死的桦树的树皮生火。第一个晚上,我感觉非常舒服。但是当次日第一缕晨光来临时,我意识到我麻烦大了。暴雪下得更大了。一切都被可怕的白雪厚厚地覆盖了。

第二天暴雪仍然下个没完。我开始糊涂了,记不清暴雪下了三天还是四天。

接着是一个晴朗的早晨,白雪茫茫,万籁倶寂,寒冷刺骨。我储存的木头快要用光了。必须得多砍些才行。

在用刀砍青树枝时,我伤到了手,鲜血马上从伤口喷涌出来。血流了一段时间才止住。我从衬衫上撕下一块布包裹住伤口。过了一会儿,我的手指变得冰冷、麻木,所以我把那绷带扯下来扔了。

我不知道在那个快要熄灭了的火堆旁蹲了多久。但之后我看见了两棵树之间有个灰色的影子。那是一只大灰狼。他沿着雪上的血迹找到那条浸透人血的绷带。

“嗷……嗷……!”那狼嚎声好像令整个世界毛骨悚然。

这是狼找到食物后发出的叫声,他在叫“快过来呀,兄弟们,我已经找到肉了”。而我就是那块肉。很快他的猎食伙伴来到了他这里。我想,他们的牙齿现在随时会咬碎我的骨头。

突然,周围充满了龇牙咧嘴的低吼声。我被甩到之前为过夜而搭起的容身处的树枝上,但我并没有感到疼痛。接着是一阵长时间的寂静。我慢慢地从雪中爬出来,抬起头。在离我大约50英尺的远处,那两只袭击我的狼夹着尾巴蹲伏着。接着我听见从我身旁传来的叫声,我扭头看,一只大黑狼站在那儿。是美尔根,是他赶走了其他的狼。

“美尔根……美尔根……”我一边抽泣着一边在雪地上向他爬去,“我的兄弟,我的兄弟。” 我喊道,向他伸出手。他伸过头来舔已经干了的血。

我又点燃了那个小火堆,然后蹲在火堆旁哭起来。也许是因为脱险了或是虚弱或者是两者兼有——我不知道。美尔根也在呜咽。

美尔根陪我度过了那个漫漫长夜,一直用他那双大眼睛看着我。寒冷的天气加上失血让我非常难受。

太阳正中高照时,我发现美尔根变得极其躁动不安。他跑几步——抬起头听——然后又跑回我身边。接着我也听见了。是狗的叫声。是搜寻队伍!我把剩下的桦树皮全部放进火堆里,然后扇火使它再次燃烧起来。

狗的叫声越来越大了,然后是人的声音。突然一队警犬神奇地从河床向我跑来,还有一个人朝我的火堆跑来。那是我爷爷。

老猎手爷爷看到那只狼,突然停了下来。他举起了猎枪。“别开枪!”我尖叫着向他跑去,结果跌倒在雪里。“那是美尔根。别开枪!”

他放下了猎枪。接着我向前摔倒在雪地里。

我在我的卧室里醒了。过了好长的一段时间,我的眼睛才找到焦点,看到我爷爷坐在床边。

“你已经睡了三天了。”他轻轻地说,“医生说,过一两个星期你就会好。”

“美尔根呢?”我无力地问。

“他和他的同类在一起,应该会很好。”

Key Words:

chase      [tʃeis]     

n. 追求,狩猎,争取

vt. 追捕,狩猎

bent        [bent]    

bend的过去式和过去分词 adj. 下定决心的,弯曲的

poke       [pəuk]    

n. 刺,戳,袋

vt. 拨开,刺,戳

cub  [kʌb]      

n. 幼兽,年轻人

thread    [θred]    

n. 线,细丝,线索,思路,螺纹

vt. 穿线

faint        [feint]     

n. 昏厥,昏倒

adj. 微弱的,无力的,模

mischievous   ['mistʃivəs]    

adj. 调皮的,恶作剧的,有害的,伤人的

curious   ['kjuəriəs]

adj. 好奇的,奇特的

upset      [ʌp'set]  

adj. 心烦的,苦恼的,不安的

stove      [stəuv]   

n. 炉子,火炉窑;烘房;【主英】温室

announced    [ə'naunst]      

宣布的

check      [tʃek]     

n. 检查,支票,账单,制止,阻止物,检验标准,方格图

protect    [prə'tekt]

vt. 保护,投保

outline    ['əutlain] 

n. 轮廓,大纲

vt. 概述,画出轮廓

squirrel   ['skwirəl]

n. 松鼠,松鼠皮毛

vt. 储存

alert        [ə'lə:t]     

adj. 警觉的,灵敏的

bark        [bɑ:k]     

v. (狗)吠,咆哮

n. 狗吠,咆哮

     

pine        [pain]     

n. 松树,松木

vi. 消瘦,憔悴,渴望

circle       ['sə:kl]    

n. 圈子,圆周,循环

v. 环绕,盘旋,包围

creek      [kri:k]     

n. 小湾,小溪 Creek n. 克里克族,克里克人,

slope      [sləup]   

n. 倾斜,斜坡,斜面,斜线,斜率

vt. 使

locate     [ləu'keit] 

vt. 把 ... 设置在,使坐落于,找出

blanket   ['blæŋkit]      

n. 毛毯,覆盖物,排字版

stillness   ['stilnis]  

n. 静止,沉静

supply    [sə'plai]  

n. 补给,供给,供应,贮备

vt. 补给,供

freeze     [fri:z]      

v. 冻结,冷冻,僵硬,凝固

n. 结冰,冻结

bandage ['bændidʒ]    

n. 绷带

numb     [nʌm]    

adj. 麻木的,失去知觉的,无动于衷的

bleeding ['bli:diŋ] 

n. 出血;渗色 adj. 流血的;同情的 v. 出血;

timber    ['timbə]  

n. 木材,木料

shadow  ['ʃædəu] 

n. 阴影,影子,荫,阴暗,暗处

vt. 投阴

confused        [kən'fju:zd]    

adj. 困惑的;混乱的;糊涂的 v. 困惑(confu

pierce     [piəs]     

n. 皮尔斯

relief       [ri'li:f]     

n. 减轻,解除,救济(品), 安慰,浮雕,对比

silence    ['sailəns] 

n. 沉默,寂静

vt. 使安静,使沉默

shelter    ['ʃeltə]    

n. 庇护所,避难所,庇护

v. 庇护,保护,

weakness       ['wi:knis]

n. 软弱

hunter    ['hʌntə]  

n. 猎人,猎犬,猎马,搜寻者 Hunter: 亨特(姓

fell   [fel] 

动词fall的过去式

n. 兽皮

bark        [bɑ:k]     

v. (狗)吠,咆哮

n. 狗吠,咆哮

     

creek      [kri:k]     

n. 小湾,小溪 Creek n. 克里克族,克里克人,

rifle  ['raifl]     

n. 步枪

参考资料:

  1. 现代大学英语精读(第2版)第一册:U11A 美尔根 我的兄弟(1)_大学教材听力 - 可可英语
  2. 现代大学英语精读(第2版)第一册:U11A 美尔根 我的兄弟(2)_大学教材听力 - 可可英语
  3. 现代大学英语精读(第2版)第一册:U11A 美尔根 我的兄弟(3)_大学教材听力 - 可可英语
  4. 现代大学英语精读(第2版)第一册:U11A 美尔根 我的兄弟(4)_大学教材听力 - 可可英语
  5. 现代大学英语精读(第2版)第一册:U11A 美尔根 我的兄弟(5)_大学教材听力 - 可可英语
  6. 现代大学英语精读(第2版)第一册:U11A 美尔根 我的兄弟(6)_大学教材听力 - 可可英语

现代大学英语精读(第2版)第一册:U11A 美尔根 我的兄弟(7)_大学教材听力 - 可可英语

深度学习工具包 DeepLearningToolbox 深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge") 立即下载

相关推荐

uniapp无感刷新token实现过程

可以看到已经触发了刷新token接口,并且重新请求上次失败的列表接口,无感刷新token逻辑已经正常,但为什么列表接口请求成功,还一直loading没关闭捏,就是因为后续代码未执行,await接口的返回没有成功resolve。路漫漫其修远兮,前端道路逐渐迷茫,时隔好久好久终于想起了我还有一个小博客,最近在一直在弄uniapp,属实有被恶心到,但也至少会用了,最近实现了一个比较通用的功能,就是无感刷新token,但在过程中发现一个问题就是。3、排查await的列表接口为何没有成功resolve。

weixin_40618068的博客 3604

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——2B - My Bank Account(我的银行账户)

Unit 2B -My Bank Account My Bank Account Stephen Leacock When I go into a bank I get frightened. The clerks frighten me; the desks frighten me; the sight of the money frightens me; everything frightens me. The moment I pass through the doors of a bank.

预见未来to50的专栏 4987

别再死记硬背了!用Multisim仿真5分钟搞懂运放电压跟随器到底要不要加反馈电阻

本文通过Multisim仿真实验,深入解析运放电压跟随器中反馈电阻的必要性。实验对比不同阻值对电路性能的影响,揭示反馈电阻在提供偏置电流通路、提升高频稳定性和ESD保护中的关键作用,并给出工程实践中的优化建议,帮助工程师快速掌握运放电路设计要点。

weixin_42641998的博客 385

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——9A - After Twenty Years(二十年后)

Unit 9A -After Twenty Years After Twenty Years O·Henry The policeman on the beat moved up the avenue impressively. The impressiveness was normal and not for show, for spectators were few. The time was barely ten o'clock at night, but chilly gusts of wi.

预见未来to50的专栏 3万+

FOC无刷电机磁编码器机械角度与电角度自动对齐校准及电机极对数自动获取的方法

本文提出磁编码器机械角度与电角度自动对齐校准方法及电机极对数自动获取方案。通过通直流电流使转子定向,读取机械角度并计算电角度偏移量,实现精确对齐;同时利用低速旋转时检测反电动势过零点次数,结合机械角度变化量自动计算极对数。核心算法包括转子定向、偏移量计算、极对数推导等步骤,并提供了基于STM32的C语言实现代码。该方法适用于工业伺服、机器人等高精度控制场景,需注意负载安全、参数调整和误差处理。两种自动化流程可有效解决电机安装调试中的角度对齐和参数识别问题。

qq_29653575的博客 2542

深入解析luckyExcel处理xlsx与xls文件的实战技巧

本文深入解析了使用luckyExcel库在前端处理.xlsx与.xls文件的实战技巧。针对.xlsx文件,可直接调用API转换;对于老旧的.xls格式,则需结合SheetJS进行预处理。文章详细介绍了核心API的使用、两种格式的处理流程、数据提取方法以及性能优化建议,为开发在线Excel编辑应用提供了完整解决方案。

cherry的博客 826

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——5A - The Nightingale and the Rose(夜莺和玫瑰)

Unit 5A -The Nightingale and the Rose The Nightingale and the Rose Oscar Wilde "She said that she would dance with me if I brought her red roses," cried the young Student, "but in all my garden there is no red rose." From her nest in the Oak-tree the .

预见未来to50的专栏 1万+

深入解析sysmocom eUICC:eSIM技术开发与测试实践指南

本文深入解析了sysmocom eUICC开发板在eSIM技术开发与测试中的应用实践。文章详细介绍了如何根据GSMA证书类型选择合适型号,并指导开发者使用命令行工具lpac和图形界面进行eSIM配置文件管理,最终通过搭建私有SM-DP+服务器完成从生成到下载的全流程测试,为物联网和移动设备开发提供实用指南。

weixin_28358083的博客 419

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——1A - Half a Day(半日)

Unit 1A - Half a Day Half a Day Naguib Mahfouz I walked alongside my father, clutching his right hand. All my clothes were new: the black shoes, the green school uniform, and the red cap. They did not make me happy, however, as this was the day I was to

预见未来to50的专栏 1万+

NVIDIA A100驱动及CUDA安装指南

NVIDIA A100驱动及CUDA安装指南:详细介绍了在Ubuntu系统下安装A100显卡驱动和CUDA工具包的完整流程,包括环境准备、驱动安装、CUDA配置及性能优化建议。特别推荐猿界算力平台提供开箱即用的A100算力租赁服务,具备专业团队支持、灵活租期和实惠价格等优势。文末通过PyTorch测试验证了A100设备的可用性,展示了80GB显存的强大计算能力。

2401_89353317的博客 1521

从零训练Qwen3-VL

如果你未来想做的是「在公开权重上继续做大规模多模态 pretrain(比如换数据、换目标函数)」而不是在完全随机初始化上起步,这两类代码会比 Open-Qwen2VL 更直接。参考 Qwen2-VL / Qwen2.5-VL 披露的流程,可以大致推测 Qwen3-VL 也是类似的三阶段:(直接在学术算力(8×A100-40G)上从零预训练了一个 2B 参数的多模态 Qwen2-VL 风格模型:(的配置和训练脚本,理解它是如何把「任意 ViT + 任意 LLM + 任意图文数据」拼在一起的。

u013250861的博客 574

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——6A - The Green Banana(青香蕉)

Unit 6A -The Green Banana The Green Banana Donald Bechelder Although it might have happened anywhere, my encounter with the green banana started on a steep mountain road in the central area of Brazil. My ancient jeep was straining up through beautiful .

预见未来to50的专栏 1万+

C/C++基础讲解(四十三)之图形篇之绘制直线、圆、圆弧、 椭圆

程序主要是基于Visual studio 2019进行编译完成了,有兴趣的小伙伴可以自己安装下Visual studio 2019,网上有现成的教程,当然了,如果有问题,也可以和我联系,这里我们主要讲解些源码实例,不多说了,言归正传。 C语言,做为学习其他语言的基础语言,其重要性就不言而喻了.下面我将和大家一起来学习探讨C语言的相关奥秘。 实例1:绘制直线 实例2:绘制圆 实例2:绘制圆弧 实例2:绘制椭圆

hnjzfwy的博客 1247

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——12B - Yes, Daddy, I Promise(好的,爸爸,我保证)

U12B – Yes, Daddy, I Promise "Yes, Daddy, I Promise" Nancy C. Anderson The security guard grabbed my arm. "Come with me," he barked, leading me back inside the discount store and into the office. Then he pointed to a lime-green chair. "Sit down!" I sat

预见未来to50的专栏 5501

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

InTheHand.Net.Personal+BlueTooth4,蓝牙开发

项目中有蓝牙开发的必备dll,现在网上相关的文档博客不少,有的说的多有的说少,但是却很少有这两个dll,分享一下。

现代大学英语精读第二版(第六册)学习笔记(原文及全文翻译)——11 - Beauty(美)

Unit 11 -Beauty Beauty Scott Russell Sanders In memory, I wait beside Eva in the vestibule of the church to play my part as father of the bride. She hooks a hand on my elbow while three bridesmaids fuss over her, fixing the gauzy veil spreading the lon.

预见未来to50的专栏 2万+

inori mmd 7z

楪祈的模型资源....................................................................................................................................................................................................................

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——8B - Just a Little Scratch(只不过是一点刮痕)

Unit 8B -Just a Little Scratch Just a Little Scratch Catherine Scott The autumn after we graduated from college, my friend Marie and I took a trip to England. We planned every detail, determined to make this the vacation of a lifetime. Every penny we h.

预见未来to50的专栏 3432

现代大学英语精读第二版(第二册)学习笔记(原文及全文翻译)——11B - A Doctor‘s Dilemma(一个医生的困境)

Unit 11B -A Doctor's Dilemma A Doctor's Dilemma James Dillard It was a bright, clear February afternoon in Gettysburg. A strong sun and layers of warm clothes did little to ease the biting cold. Our climb to the crest of Little Round Top took us to pla.

预见未来to50的专栏 5652

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——12A - Christmas Day in the Morning(圣诞节的早晨)

Unit 12A - Christmas Day in the Morning Christmas Day in the Morning Pearl S. Buck He woke suddenly and completely. It was four o'clock, the hour at which his father had always called him to get up and help with the milking. Strange how the habits of hi

预见未来to50的专栏 1万+

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——15B - The Clearing(空地)

Unit 15B - The Clearing The Clearing Jesse Stuart Finn and I were pruning the plum trees around our garden when a rock came crashing among the branches of the tree I was pruning. "Where did that come from?" I asked Finn, who was on the ground below pil

预见未来to50的专栏 2365

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——5B - The Nightingale(夜莺)

Unit 5B - The Nightingale The Nightingale Hans Christian Andersen You know, of course, that in China the Emperor is Chinese, and all the people around him are Chinese too. It happened a good many years ago, but that's just why it's worthwhile to hear th

预见未来to50的专栏 1万+

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——1B - Making the Grade(取得好成绩)

Unit 1B - Making the Grade Making the Grade Varda One In 1951, I was eighteen and traveling with all the money I had in the world-fifty dollars. I was on a bus heading from Los Angeles to Berkeley. My dream of attending the university was coming true. I

预见未来to50的专栏 1万+

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——11B - A Secret for Two(两者的秘密)

Unit 11B -A Secret for Two A Secret for Two Quentin Reynolds Montreal is a very large city, but, like all large cities, it has some very small streets. Streets, for instance, like Prince Edward Street which is only a four-block long dead end. No one kn.

预见未来to50的专栏 7639

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——13A - The Greatest Invention(最伟大的发明)

U13A – The Greatest Invention The Greatest Invention Lord Dunsany "What do you think is going to happen, Jorkens?" one of us asked one day at the club. "Happen?" Jorkens said. "That is hard to say. In the old days one had a rough idea of what other cou

预见未来to50的专栏 1万+

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——16A - Who Shall Dwell?(生的机会留给谁?)

Unit 16B -Who Shall Dwell? Who Shall Dwell? H. C. Neal It came on a Sunday afternoon and that was good, because if it had happened on a weekday the father would have been at work and the children at school, leaving the mother at home alone and the whol.

预见未来to50的专栏 3047

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——16A - The Monsters Are Due in Maple Street(怪物即将降临枫树街)

Unit 16A -The Monsters Are Due in Maple Street The Monsters Are Due in Maple Street Rod Serling Act Ⅰ Characters Les Goodman Sally Mrs. Goodman Man Don Martin Second Man Steve Brand Woman Mrs. Brand Five Different Voices Pete Van Horn First Figu.

预见未来to50的专栏 1万+

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——2A - The Boy and the Bank Officer(男孩和银行职员)

Unit 2A - The Boy and the Bank Officer The Boy and the Bank Officer Philip Ross I have a friend who hates banks with a special passion. "A bank is just a store—like a candy store or a grocery store," he says. "The only difference is that a bank's goods

预见未来to50的专栏 1万+

现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——8A - The Kindness of Strangers(陌生人的善心)

Unit 8A -The Kindness of Strangers The Kindness of Strangers Mike Mclntyre One summer I was driving from my home town of Tahoe City, California, to New Orleans. In the middle of the desert, I came upon a young man standing by the roadside. He had his t.

预见未来to50的专栏 1万+
上一篇: 现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——10B - 识字之路(识字之路)
下一篇: 现代大学英语精读第二版(第一册)学习笔记(原文及全文翻译)——12B - Yes, Daddy, I Promise(好的,爸爸,我保证)
预见未来to50
博客等级 码龄20年 6881粉丝 2788原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值